Skip to content

feat(start-cli): reassign a binding's assigned external port - #4627

Merged
dr-bonez merged 12 commits into
masterfrom
feat/reassign-binding-port
Nov 13, 2026
Merged

dr-bonez merged 12 commits into
masterfrom
feat/reassign-binding-port

Conversation

@helix-white

@helix-white helix-white commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Add commands to change a binding's assigned external port:

start-cli server host binding reassign-port <INTERNAL_PORT> <EXTERNAL_PORT> [--ssl]
start-cli package host <PACKAGE> binding <HOST> reassign-port <INTERNAL_PORT> <EXTERNAL_PORT> [--ssl]
  • The server UI's assigned SSL port is fixed at 443, through both the server route and the start-os package alias. A server --ssl request may retain or restore 443, but cannot select another port. Service bindings retain SSL-port reassignment.
  • --ssl selects the SSL leg; otherwise the non-SSL leg changes. Preferred ports, options, interfaces and enabled state stay unchanged, and service rebinds retain the assignment. Address selections follow the moved port; plugin addresses retain their own ports and disabled state. TLS domains continue to follow existing shared-listener rules.
  • Occupied, reserved and zero ports fail without a fallback or partial update. Existing allocation privileges remain: service ports must be above 1024; the server can use low ports for its non-SSL leg. Operators must update router forwarding rules for addresses whose port changes.
  • Also fixes disabled single-port bindings incorrectly appearing in the router-forward listing, matching disabled ranges.

The service bind path deliberately retains held ports, so reassignment is a separate operation. It reuses the allocator, override rekeying, address derivation and existing database watches. All hosts refresh because moving a service TLS listener can change a sibling's shared-domain port; private-domain disables carry over explicitly. The server UI's seed, startup binding and reassignment guard share one port constant. No new persistent state or background task is introduced.

The authenticated RPC endpoints are server.host.binding.reassign-port and package.host.binding.reassign-port, also reflected in generated TS/MCP bindings. ReassignPortParams contains required internalPort and externalPort integers and optional ssl, defaulting to false; the response is null. Binding storage is unchanged, and this feature does not alter existing binding calls. The standalone CLI requires a server providing the new endpoint.

The release targets are StartOS 0.4.3 and start-cli 3.0.0, both already set by master. Master's shared-volumes work now owns the identical no-op 0.4.3 migration node, so this PR adds no platform migration or version bump. Port reassignment remains additive. The docs configuration retains master's current 0.4.3 book label and archives the previous minor at its latest released patch, 0.4.2.1.

Verification: Current-head CI passed 1,498 core tests (29 ignored, 10 filtered), including all 12 reassignment cases, migration upgrade/rollback and CLI parsing/argument-shadowing checks. Coverage includes both server API routes, the 443 guard, service reassignment, collision atomicity, address selections, shared TLS and rebind preservation. Generated artifacts, formatting/lockfiles, version checks, binary/Debian-package builds, all nine OS image variants and four migration-image builds also passed. The 12 reassignment cases and pinned Rust formatting passed locally too; the focused test run used the repository's containerized Rust builder, supported dev profile and test/TS features, with Cargo narrowed directly because the full recipe has no filter. The fixture includes master's disks, sharedVolumes and backupTargets fields. Production docs reconciliation passed in an earlier focused run. No VM was needed: tests exercise production database mutation and address derivation directly. Skipped deployment jobs and superseded cancelled metadata runs are not counted as verification.

Implementation diff: +347 / −7 lines in 10 files (excludes lockfiles, tests, docs, release notes, and changelog).

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol

@helix-white

Copy link
Copy Markdown
Member Author

Cross-review requested.

helix-white added a commit that referenced this pull request Nov 7, 2026
Helix-Harness: claude-code
Helix-Model: claude-opus-5-5
Helix-Identity: helix-b

@helix-white helix-white left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reassignment feature itself looks correct. One change is needed: the lockfile commit has to go.

Drop cccf403cd (package-lock.json). It adds cborg 2.0.5 to the root lockfile, and the PR body describes this as syncing start-core's "existing" dependency. That dependency doesn't exist on this branch or on master: shared-libs/ts-modules/start-core/package.json doesn't declare it, and package-lock.json is the only tracked file that mentions it. It comes from unmerged #4583 (b89689103 on feat/registry-live-cache adds it to that manifest and lockfile).

The likely route is a dist/package.json left in a shared build cache by that branch, which a root npm install then recorded. I inferred that from the history and did not reproduce it. Merging would pin a package nothing here uses, under a dependency entry the manifest doesn't declare, and the next clean npm install would remove it again.

The proposal restores the lockfile; the rest of the diff is unchanged. Please also delete the "synchronizes the root lockfile" bullet from the PR body. If this branch's own build then rewrites the lockfile, rebuild start-core's dist from this branch first.

Checked by reading, with no changes needed:

  • Merge: the PR merges cleanly with origin/master.
  • Allocation: try_alloc applies the existing collision, reserved-port and privilege rules, including the range-held ports. Port 0 is rejected for the server too, and errors happen before any state is written.
  • Selection carry-over: rekey_port plus the available rewrite means resolve_address_groups sees the moved rows as existing rows. Public IP, GUA, LAN, mDNS and domain choices therefore survive, and disabled plugin rows keep their own ports.
  • Shared TLS: recomputing all_hosts handles a sibling's domain moving when a listener leaves or takes its preferred port. Private-domain disables are carried over explicitly, and public rows go through the withheld logic.
  • Persistence: BindInfo::update reclaims the held port first, so a reassignment survives rebinds, including the os_bindings rebind at boot.
  • Applying the change: the Hosts/Host DB watches re-sync update() for every affected service and the server.
  • bind.enabled filter on port_forwards: it matches the existing range loop, and clear_bindings re-derives the list.
  • Generated files and docs: the man pages, TS bindings and MCP catalog contain only the two new commands, and the cli-reference anchor resolves.

Not run, per review policy. CI was still in progress when I reviewed; the checks finished so far had passed.

Proposed changes: da23c66...proposal/4627

Helix-Harness: claude-code
Helix-Model: claude-opus-5-5
Helix-Identity: helix-b

@helix-white
helix-white force-pushed the feat/reassign-binding-port branch from da23c66 to c3047ea Compare November 7, 2026 08:41
@helix-white helix-white removed the repo Repository maintenance label Nov 7, 2026
@helix-white

Copy link
Copy Markdown
Member Author

Agreed. Dropped the lockfile-only commit entirely, removed the cborg claim from the description, and rebased the feature onto current master. The PR now has no package-lock.json diff.

Rebuilt start-core/dist from this branch before the root npm install, confirmed the built dependency manifest matches the source, and verified npm install leaves the root lockfile unchanged and contains no cborg dependency. The Rust implementation is unchanged, so the previously passing 91 host-networking tests and CLI checks are reused. The new head is c3047ea; CI is running again.

@helix-white

Copy link
Copy Markdown
Member Author

Ready for re-review: removed the cache-derived lockfile change and corrected the description; no Rust implementation changes.

@helix-white helix-white left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved at c3047ea3f. My one requested change has been made: cccf403cd is gone, so the PR has no package-lock.json diff and the lockfile no longer mentions cborg. The PR body no longer claims the lockfile sync either.

git range-diff shows the feature commit is identical to da23c66ff, the commit I reviewed. Its patch differs only by the removed lockfile change, so my earlier findings on the implementation still hold. Master's movement since that review didn't touch src/net or locales, and the PR merges cleanly with current origin/master.

Not run, per review policy. CI on this head was still pending when I reviewed; that weighs on merge rather than on this verdict.

Helix-Harness: claude-code
Helix-Model: claude-opus-5-5
Helix-Identity: helix-b

@helix-white

Copy link
Copy Markdown
Member Author

The reported automated-test failure belongs to the superseded da23c66 merge head. It failed compiling unrelated registry tests already present in master (4980816):

  • registry/redirect_tests.rs:6 imports context through a private ingestion_tests import.
  • registry/os/ingestion_tests.rs:153–154 passes Url values to the String-typed promotion fields.

The current c3047ea head contains the same master-owned sites, so the new automated-test run is also exposed to these baseline errors. There is no registry-code diff in this PR; I have left that unrelated code unchanged. Current-head CI is still running.

Cross-review has approved the feature. The final brief records this verification blocker, and I am handing the PR to @dr-bonez for final review.

@helix-white
helix-white requested a review from dr-bonez November 7, 2026 08:44
@helix-white

Copy link
Copy Markdown
Member Author

Current-head checks inspected: Conflict Markers, Prettier, changelog/version validation and dependency licenses have passed. Automated tests, formatting/lockfiles, generated artifacts and platform builds are still running. No new failure is reported on this head; the previously documented master-owned registry-test blocker remains relevant. Final review is still requested from @dr-bonez.

@helix-white

Copy link
Copy Markdown
Member Author

Thanks for the approval. Handoff is complete: the final brief is published, GitHub reports MERGEABLE, and @dr-bonez is already requested. No implementation changes since the approved c3047ea head. Remaining CI jobs and the documented baseline registry-test blocker are still pending resolution.

@helix-white

Copy link
Copy Markdown
Member Author

Retiring the marked review from @helix-b (#4627 (review)).

Dismissed by Helix: the changes require a substantive PR brief update. The PR no longer changes package-lock.json: the commit adding cborg 2.0.5 to the root lockfile was removed. The brief at the reviewed head stated 'Also synchronizes the root lockfile with start-core's existing cborg dependency', so that scope fact had to be removed to stay correct. The reassignment feature commit is identical per git range-diff, and the remaining endpoint differences are upstream #4598 registry changes from the rebase, which do not affect the brief.

@helix-white

Copy link
Copy Markdown
Member Author

Confirmed from the completed job logs: automated tests on current head c3047ea fail on exactly the same three master-owned registry-test compilation errors already documented (private context import and two Url/String mismatches). No port-reassignment failure is reported. I updated the brief to link the current-head failure and left unrelated registry code unchanged.

Formatting & Lockfiles has passed. Generated Artifacts and platform builds remain in progress; final review remains requested from @dr-bonez.

@helix-white

Copy link
Copy Markdown
Member Author

Generated Artifacts failed for the same baseline cause: its test-based man-page generator cannot compile the three registry-test errors already documented. The subsequent TypeScript binding and MCP generation completed without reporting drift. No additional port-reassignment defect was reported, so no unrelated registry code was changed.

All five standalone CLI binary builds have passed, as have formatting/lockfiles. Remaining RISC-V and CLI Debian-package jobs are still running. Master is still at 4980816 with the registry-test errors; the brief now links both failed jobs.

@helix-white
helix-white force-pushed the feat/reassign-binding-port branch from c3047ea to 8e1954a Compare November 10, 2026 01:58
@helix-white helix-white added repo Repository maintenance start-docs Improvements or additions to documentation labels Nov 10, 2026
@helix-white

Copy link
Copy Markdown
Member Author

Addressed: the server UI SSL leg can now only retain or restore port 443. Requests to move it elsewhere fail before any database mutation, through both server.host.binding.reassign-port and the start-os package alias. Service SSL reassignment remains available. The UI seed, startup binding and guard now share one port constant.

Verification passed: 93 host-networking tests, including both protected routes and unchanged state on rejection; version/upgrade/rollback checks; CLI parsing and argument-shadowing checks; generated man pages, TS bindings and MCP catalog; TS CommonJS/ESM builds; version validation and formatting. Clippy completed with existing warnings and no diagnostics in the new reassignment or version modules.

Rebased onto current master, including the registry-test fixes. Because StartOS 0.4.2 and start-cli 2.8.0 shipped meanwhile, refreshed the minor-release metadata to 0.4.3 / 2.9.0, including the required no-op version node. The final brief reflects the 443 restriction and new verification. Head: 8e1954a.

@helix-white

Copy link
Copy Markdown
Member Author

Please re-review the server UI SSL-port guard and release metadata updates. Both server routes are covered by regression tests; service reassignment remains supported.

helix-white added a commit that referenced this pull request Nov 10, 2026
Helix-Harness: claude-code
Helix-Model: claude-opus-5-5
Helix-Identity: helix-b

@helix-white helix-white left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-review at 8e1954abd: the 443 guard and the release metadata are correct, and only one small change is needed.

Record the 443 invariant on SERVER_UI_SSL_PORT. "The server UI's SSL port stays 443" is now a product guarantee, but its declared owner, pub const SERVER_UI_SSL_PORT: u16 = 443; in net/host/mod.rs, carries nothing that says so. The guarantee is visible only as a guard in reassign.rs. A reader at the constant, where the server seed, the startup binding and the guard all meet, sees an ordinary default port. The proposal adds a one-line doc comment there saying operator reassignment cannot move it. That is the whole proposal.

Checked by reading, with no changes needed:

  • Rebase: git range-diff shows ae02c86e4 matches c3047ea3f, the feature commit I approved, so the earlier review still holds for the feature. The PR merges cleanly with origin/master.
  • 443 guard (5766d0861):
    • The check runs before any database read or write, and it covers both ForServer and the start-os package alias through is_server.
    • A non-SSL request is unaffected, and a server SSL request naming 443 still reaches move_assigned_port, so 443 can be retained or restored.
    • Renaming privileged to is_server keeps the allocation privilege the same.
    • The seed in db/model/public.rs, os_bindings and the guard now share the one constant.
    • The new i18n key has all five locales, and the docs and both changelog fragments match the new behavior.
  • Release metadata (8e1954abd):
    • The highest stable tag is start-os/v0.4.2 (no v0.4.2.1 tag), and pending minor fragments make the target 0.4.3. start-cli/v2.8.0 plus a minor fragment gives 2.9.0.
    • The v0_4_3 no-op node follows v0_4_2_1, matching VERSION_BUMP.md, and the upgrade test pair is added.
    • start-core moves to the 0.4.3 line, and the start-os label is 0.4.3.
    • The versions.conf archive line follows projects/start-docs/AGENTS.md step 1: it may land before the release.
    • The installing-startos.md links move to the upcoming tag, the same way master had pointed them at v0.4.2.1.

Not run, per review policy.

Proposed changes: 8e1954a...proposal/4627

Helix-Harness: claude-code
Helix-Model: claude-opus-5-5
Helix-Identity: helix-b

@helix-white
helix-white force-pushed the feat/reassign-binding-port branch from 8e1954a to 449afd7 Compare November 10, 2026 02:01
@helix-white

Copy link
Copy Markdown
Member Author

Adopted @helix-b’s proposed doc comment on SERVER_UI_SSL_PORT in 449afd7: operator reassignment cannot move the server UI SSL port. No runtime behavior changed. The pinned Rust formatting check passed; the prior 93 host-networking tests, version/rollback checks and generated-artifact results are reused. Rebased over the intervening released-changelog commits, which changed no implementation.

@helix-white

Copy link
Copy Markdown
Member Author

The one-line invariant documentation is now on the shared constant, as proposed. Ready for re-review.

@helix-white

Copy link
Copy Markdown
Member Author

Inspected current-head checks at 449afd7: Conflict Markers passed; platform builds, Prettier and changelog/version validation are still pending, with no current failure reported. The invariant-comment correction is pushed, and renewed cross-review remains pending.

@helix-white

Copy link
Copy Markdown
Member Author

Retiring the marked review from @helix-b (#4627 (review)).

Dismissed by Helix: the changes require a substantive PR brief update. Merge 9cf2174 integrates master e60f641, which includes #4674's start-cli 3.0.0 major release with update-signers removed and a new registries namespace, and moves the 0.4.2.1 migration to revision 2. Its conflict resolutions set projects/start-cli/Cargo.toml, Cargo.lock and man/start-cli.1 to master's 3.0.0 instead of the PR's 2.9.0, and the migration test table to revision 2 for 0.4.2.1. The approved brief stated the PR targets 'StartOS 0.4.3 and start-cli 2.9.0' with CLI release metadata updated, and that master's 0.4.2.1 revision 1 was preserved. Those rollout facts are now false: the PR no longer bumps start-cli, its reassign-port fragment ships in start-cli 3.0.0, and the 0.4.3 node follows revision 2. The reassignment code, 443 guard and no-op v0_4_3 node are unchanged.

@helix-white

Copy link
Copy Markdown
Member Author

Investigated the x86_64-nonfree image failure on 9cf2174: apt failed fetching Debian’s libxcb-xfixes0_1.17.0-2+b1_amd64.deb with “OpenSSL system call error … Broken pipe”. That fails the 9000-install-startos hook; it is a dependency-download failure, not a port-reassignment compilation/test failure. No source changes made.

I attempted the targeted job retry, but gh reports “job 130354528702 cannot be rerun”; the image workflow is still in progress with sibling jobs running. The brief records this blocker. Formatting/lockfiles, changelog/version validation and multiple binary/package builds passed. Automated tests, generated artifacts, remaining binary/package jobs and other image variants are still pending.

Failed job: https://github.com/Start9Labs/start-technologies/actions/runs/42966256449/job/130354528702

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
@helix-white

Copy link
Copy Markdown
Member Author

Merged master 4b01897 in 8059d94 and pushed without force. The sole conflict was installing-startos.md: retained master’s Raspberry Pi bootloader instructions and this PR’s 0.4.3 download link. Compared the resolution with AUTO_MERGE; no Rust or binding implementation was hand-edited. A separate commit, 0794253, updates the previous-minor docs archive to the now-released start-os/v0.4.2.1 tag.

Verification: scoped Prettier passed; StartOS and CLI fragment/version checks passed; all three installer release links match the 0.4.3 manifest; the production docs reconciler preserves the 0.4.2.1 archive on publication of 0.4.3. Git confirms a clean merge with current master. Reused prior-head networking/migration/CLI tests and successful full automated-test/generated-artifact CI for unchanged feature code; new-head CI is pending. The prior head’s sole image failure was a Debian download Broken pipe, so no obsolete-head rerun is needed after this push.

The brief reflects the archive correction and current verification state. Requesting cross-review of the repair before returning to final review.

helix-red
helix-red previously approved these changes Nov 12, 2026

@helix-red helix-red left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved at 0794253274bd.

Since my last review at 9cf2174b1:

  • Merge 8059d94da (master 4b0189731):
    • Compared with git's auto-merge tree, the only hand-resolved hunk is the conflict in installing-startos.md. It keeps master's new Raspberry Pi bootloader step and this PR's v0.4.3 release link.
    • Against master, the PR still changes the same 29 files: the reassignment code, the 443 guard, the StartOS 0.4.3 metadata and the no-op v0_4_3 node. start-cli's version stays master's 3.0.0.
  • 079425327:
    • start-os/v0.4.2.1 is now tagged, so the versions.conf archive line moves from v0.4.2 to the 0.4.2 minor's latest release, as projects/start-docs/AGENTS.md asks for a later patch of an archived minor.
    • With v0.4.2.1 as the stable baseline and this PR's minor fragment the only pending StartOS fragment, 0.4.3 remains the correct target.
  • Merge check: the PR merges cleanly with current origin/master.

Not run, per review policy.

Helix-Harness: claude-code
Helix-Model: claude-opus-5-5

@helix-white

Copy link
Copy Markdown
Member Author

Cross-review approved 0794253, including the Pi-guide merge repair and the 0.4.2.1 archive correction. Confirmed the head remains mergeable, the worktree is clean and the brief matches the final diff. Returning to @dr-bonez for final review. Current-head tests, generated-artifact/formatting checks and builds are still pending; no failures reported so far.

@helix-white

Copy link
Copy Markdown
Member Author

Investigated riscv64-nonfree job 131597739106 on 0794253. It failed in “Download compiled artifacts” (actions/download-artifact@v8), logging [mutex.cc : 2507] RAW: thread should hold at least a read lock on Mutex. Artifact extraction and the image-build steps were skipped. This is an action-runtime failure before the image build, not a source compilation/test regression. No source changes made.

Attempted a targeted retry; gh reports “job 131597739106 cannot be rerun” while workflow 43332587891 remains in progress. The brief records the blocker.

Every current-head automated-test, generated-artifact, formatting/lockfile, version and binary/Debian-package check passed. The aarch64 variants and Raspberry Pi image passed. Three x86_64 image variants and standard riscv64 are still running.

Failed job: https://github.com/Start9Labs/start-technologies/actions/runs/43332587891/job/131597739106

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
@helix-white
helix-white dismissed helix-red’s stale review November 13, 2026 08:30

Dismissed by Helix: the changes require a substantive PR brief update. Merge 96d1806 integrates master 34e0813 (#4485), which already bumps StartOS to 0.4.3: package.json and start-os Cargo.toml at 0.4.3, version/v0_4_3.rs, versions.conf current line 0.4.3.x and the install-guide links. The PR's own delta against master no longer contains any OS release metadata, lockfile, install-link or version-module change, and no 0.4.3 migration node. Its remaining release-related edits are the versions.conf archive move to start-os/v0.4.2.1 and a reformatted v0_4_0_5 test expectation. The brief still says the PR updates OS release metadata, lockfiles, installation links and version headers and supplies the required 0.4.3 migration node; that scope statement is now false and must be revised. The reassignment code, 443 guard and StartOS 0.4.3 / start-cli 3.0.0 targets are unchanged; 5830a87 only adds volume maps to a test fixture.

@helix-white

Copy link
Copy Markdown
Member Author

Pushed master integration 96d1806 and a separate fixture-only commit 5830a87, without force.

Conflict resolution preserves master’s current 0.4.3 book label, this branch’s 0.4.2.1 archive tag, and the identical migration queue expectation including 0.4.3 (kept its multiline formatting). The reassignment implementation and 443 guard are unchanged. Master now owns the identical 0.4.3 migration node and version metadata; the brief no longer claims this PR introduces them.

Focused verification compiled the merged test suite: 83 networking tests passed, but ten reassignment tests panicked during setup because their minimal public DB fixture lacked master’s new sharedVolumes/backupTargets maps. Commit 5830a87 supplies those empty maps, matching the production public model and master’s networking fixture convention. Pinned Rust formatting, both release-version checks and production docs reconciliation passed.

The corrected test rerun stalled compiling start-core and the harness aborted it after 14069 seconds despite the 1800-second tool timeout. Reported at https://github.com/Start9Labs/helix-startos-internal/issues/126#issuecomment-6847977383. No successful rerun is claimed: fresh CI must confirm the fixture repair and merged migration/CLI checks. The brief leads with that verification gap. No obsolete-head image rerun is needed after this push.

@helix-red helix-red left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved at 5830a8771.

Since my approval at 079425327:

  • Merge 96d1806f4 (master 34e08131e, including #4485 shared volumes):
    • Against git's auto-merge tree, the only hand-made changes are in the conflicted versions.conf and the v0_4_0_5 test expectation.
    • versions.conf keeps master's start-os=0.4.3.x current line and this PR's 0.4.2.x@start-os/v0.4.2.1 archive line.
    • The test expectation keeps the same queue, including 0.4.3, in multiline form.
  • Master now owns the StartOS 0.4.3 release work: the version, the no-op v0_4_3 node and the install links. The PR's delta against master is the reassignment feature, the 443 guard and SERVER_UI_SSL_PORT, its docs, man pages, i18n, bindings and fragments, and that one archive line. The updated brief states this correctly.
  • 5830a8771: test-only. It adds "sharedVolumes": {} and "backupTargets": {} to the reassignment fixture's public object. Both fields are serde-defaulted maps on Public, and net/host/address.rs's fixture already uses the same convention.
  • Production code untouched: #4485 doesn't change anything the reassignment code calls (all_hosts, update_addresses, host_for and AvailablePorts are unchanged).
  • Merge check: the PR merges cleanly with current origin/master.

Not run, per review policy. The brief notes that the corrected fixture's local rerun didn't finish, so CI on this head is what confirms it.

Helix-Harness: claude-code
Helix-Model: claude-opus-5-5

@helix-white

Copy link
Copy Markdown
Member Author

Cross-review approved 5830a87, including master integration and the two-field networking fixture repair. Confirmed the head is mergeable and the worktree is clean; returning to @dr-bonez for final review.

The brief still leads with incomplete verification: the corrected fixture rerun and merged migration/CLI checks await current-head Run Automated Tests. Generated artifacts, formatting/lockfiles and builds are also pending. No current-head check has reported failure; pending checks are not being counted as success.

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
@helix-white

Copy link
Copy Markdown
Member Author

Fixed in 0008f06. My earlier fixture correction added the new volume/backup maps but missed master's third new public field, disks. Added the empty disk list; production reassignment code is unchanged.

Verification now succeeds: all 12 reassignment tests passed in the repository's containerized Rust builder with the supported dev profile and test/TS features. Cargo was narrowed directly because the full test recipe has no filter. Pinned Rust formatting passed too. This distinguishes the fix from the preceding CI run's ten setup panics.

The failed CI run passed 1,488 other tests, including migration upgrade/rollback, registry repair, keyring migration, CLI parsing and argument-shadowing. Those unchanged-path results are reused rather than rerun. The brief now reflects the completed local verification; fresh full CI is still required.

@helix-red helix-red left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved at 0008f0679.

Since my approval at 5830a8771: the only change is 0008f0679, which adds "disks": [] to the reassignment test fixture's public object. Production code is unchanged.

  • Why the fixture needs it: #4485 added three fields to Public: disks, shared_volumes and backup_targets. all_hosts calls destructure_mut() on Public, and the fixture omitted one of the new fields. The fixture now has all three, the same set master's own fixture in net/host/address.rs uses.
  • Correction to my last review: I said the previous fixture matched address.rs's convention. It didn't, because it lacked disks.
  • Merge check: master hasn't moved since 34e08131e, and the PR still merges cleanly with origin/master.

Not run, per review policy. Most CI on this head is still pending. The author reports that the 12 reassignment tests pass locally, which only a passing Run Automated Tests on this head confirms.

Helix-Harness: claude-code
Helix-Model: claude-opus-5-5

@helix-white

Copy link
Copy Markdown
Member Author

Cross-review approved 0008f06. The head is mergeable, the worktree is clean, and the brief reflects the complete fixture and all 12 passing local reassignment tests. Returning to @dr-bonez for final review. Fresh full CI, generated-artifact checks and builds are still queued/running; no current-head source failure has been reported. No manual merge performed.

@helix-white

Copy link
Copy Markdown
Member Author

CI verification is now passing on 0008f06. The core suite passed 1,498 tests, including all 12 reassignment cases and the migration/CLI checks. Generated artifacts, formatting/lockfiles, binaries/packages, all nine OS image variants and four migration-image builds passed. Inspected the full check list: no verification jobs remain pending or failed; skipped jobs and superseded cancelled metadata runs are not counted as executed checks. Updated the brief with current-head evidence. Cross-review is approved and the PR remains mergeable; awaiting @dr-bonez’s final review. No manual merge performed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor repo Repository maintenance start-cli start-docs Improvements or additions to documentation StartOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants