Skip to content

Organize SSH and managed-server modules by concrete owner - #39937

Merged
nwparker merged 4 commits into
mainfrom
module-layout-v2/ssh-owners-next-cd546
Nov 8, 2026
Merged

nwparker merged 4 commits into
mainfrom
module-layout-v2/ssh-owners-next-cd546

Conversation

@nwparker

@nwparker nwparker commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

SSH, managed-server deployment, and WSL modules mixed connection state, transport mechanics, installation, migration, and compatibility responsibilities. This batch groups them under concrete owners and updates production consumers, mocks, runtime verifiers, workflows, and tooling to import the definitions directly.

The layout separates SSH authentication/connection, remote execution and files, system transport, and legacy relay; managed-server installation, activation, lifecycle, and migration; and WSL host lifecycle and launch contracts. Cohesive extractions preserve request order, singleton state, connection identity, and lazy ssh2 loading. No barrel modules or forwarding facades are introduced. A final WSL closure check also redirects the instance-lock parser and record type to their concrete record owner; non-import statements and the existing constant-owner import remain unchanged. The redundant deferred-update type alias is removed, and its consumers import the canonical shared contract directly; all three affected modules emit identical JavaScript.

Test cleanup is intentional: 204 registrations are retired across 16 whole suites and mixed suites under the existing per-case policy. All 703 retained registrations match their original callback ASTs. Four unused implementation/test-support seams and orphan fixture branches are removed. Test paths, timing inventories, ratchets, and reliability notes follow the retained owners; dated execution history stays qualified. Lost coverage is recorded locally, with no replacement coverage claim. Planning and audit artifacts remain outside the diff.

Validation:

  • All 34 static/type stages pass, including Node/web/CLI types, import boundaries, path literals, test-runner inventories, and ratchets. The old-base full check:changed unit selection was explicitly stopped for the required rebase; it is not a passing aggregate. On the rebased candidate, Node/web/CLI types, reliability validation/format, and deployment 19 pass.
  • Final type-only alias cleanup: Node/web/CLI types and normal hooks pass; exact emitted JavaScript matches on all three files.
  • Final direct-record-owner correction: Node types, five focused WSL state-snapshot tests, and normal commit/push hooks pass.
  • Focused checks pass: deployment 19; connection/multiplexer 39; node resolution 30; remote commands 6 passed/7 skipped; WSL and legacy-relay extractions 86.
  • Two independent actual source/boundary audits plus root replays pass for the pre-rebase committed candidate and its earlier rebase/support supplements. Both independently reconstructed and accepted the b032 whole-tree carry and exact rebased commit; root replays pass. The earlier six-path upstream test/metadata carry is separately verified by a root-only finite supplement. The current main carry preserves all 194 incoming paths and all 38,909 prospective tree entries, including three logical metadata unions; a new independent finite source/boundary review authenticates the incoming owner contacts. All SSH, managed-server, and WSL domain entries remain exact to the final reviewed candidate. Finite preservation covers 1,815 declarations across 245 inputs and the four explicit retirements; retained callbacks and defining-owner bindings are checked separately.
  • Three unrelated local test files reproduce the same six failures on pristine main and this candidate (15 passed/6 failed on each). A physical macOS temporary base clears five failures; the read-only generated-directory cleanup failure remains (20 passed/1 failed). These controls do not establish a passing full suite. Full hosted PR workflow 42517013731 passes at the final candidate, including both managed SSH E2E jobs, changed E2E, and real WSL. All 91 latest contexts are terminal (72 success/19 skipped); the required aggregate passes. Full original/upstream/sibling SSH and WSL ownership reconciliation also passes at the candidate; actual squash verification remains pending.

The final 11-path main update is accepted by a separate root-only finite union/contact check: all upstream production/test changes and deletions are exact, no new authored owner contacts appear, and all reviewed SSH/managed-server/WSL domain bytes remain unchanged. Earlier independent review seals and strict historical gates are preserved.

@nwparker
nwparker force-pushed the module-layout-v2/ssh-owners-next-cd546 branch from a03fd6e to c3b20cf Compare November 8, 2026 19:24
@nwparker
nwparker force-pushed the module-layout-v2/ssh-owners-next-cd546 branch from c3b20cf to 1dcd285 Compare November 8, 2026 19:26
@nwparker
nwparker merged commit 0d1220c into main Nov 8, 2026
91 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant