Skip to content

refactor(main): group WSL host and orcad lifecycle owners - #37728

Merged
nwparker merged 1 commit into
mainfrom
module-layout-v2/m11-wsl-host-lifecycle
Nov 3, 2026
Merged

nwparker merged 1 commit into
mainfrom
module-layout-v2/m11-wsl-host-lifecycle

Conversation

@nwparker

@nwparker nwparker commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 111 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​566 $\color{#cf222e}{\Huge{\mathbf{−}}}$​495 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​71
Prod 139 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​589 $\color{#cf222e}{\Huge{\mathbf{−}}}$​575 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​14

The remaining WSL host enrollment, lifecycle and orcad modules are spread across src/main and the WSL root. Move them into their concrete owners so src/main contains only index.ts.

  • Group host lifecycle and orcad connection/deployment modules; place guest execution capabilities in the existing execution owner, Linux startup limits in startup, and WSL project-move tests beside persistence.
  • Import defining owners directly and remove six forwarding bindings. Preserve runtime bodies, mutable state, mixed-version contracts and mock factory identities; no barrels or compatibility shims.
  • Retarget existing test routing, workflow paths, timing keys and baselines without changing their values or selection policy.

Validation: 990 tests passed, 13 skipped across 101 selected files; full pnpm tc, production Electron/Vite build, scoped format/lint and full-file focused plugins passed. Two independent preview and applied-tree audits cover all 146 inputs, 396 changed paths, 45 direct-owner bindings and 140 mock registrations. Local planning and detailed evidence remain ignored.

The final local pnpm check:changed passed 26 non-unit checks; its broader related-unit selection reached the declared two-minute cap, so that aggregate local run is not green. The focused 101-file run above passed; required hosted CI must pass before merge.

@nwparker
nwparker merged commit c6b829e into main Nov 3, 2026
92 of 93 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