Skip to content

refactor(main): group ephemeral VM lifecycle modules - #31771

Merged
nwparker merged 1 commit into
mainfrom
nwparker/module-organization-ephemeral-vm
Oct 22, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/module-organization-ephemeral-vm

Conversation

@nwparker

@nwparker nwparker commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 12 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​38 $\color{#cf222e}{\Huge{\mathbf{−}}}$​33 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​5
Prod 15 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​72 $\color{#cf222e}{\Huge{\mathbf{−}}}$​73 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1

Group ephemeral VM provisioning, cleanup, SSH, attachment, and resume modules under src/main/ephemeral-vm. Remove the main recipe-runner forwarder and the service cleanup re-export; callers import the existing concrete implementation owners. Production bodies, IPC contracts, cleanup ownership, and lazy tunnel loading are preserved.

Move the existing tests and update callers, workflow selectors, and live reliability paths. The cross-version driver resolves the service inside its target snapshot, supporting both current and historical layouts. All 425 historical reliability command values and literal bytes remain unchanged.

Validation: 136 tests across 17 suites; rollback compatibility with nine positive checks and two required negative controls; Node typecheck (17,437 files); import boundaries, reliability, ratchets, changed-code quality, formatting, and test discovery pass locally. The complete rollback harness passes using the default system temporary directory after the separately merged CI-harness repair. Both renewed independent reviews approve the current commit. Full CI and actual merge-tree verification remain required before completion.

@coderabbitai

coderabbitai Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6984a385-6b9d-4708-b336-89cb85c204dd
📥 Commits

Reviewing files that changed from the base of the PR and between 8ad3163 and 61e1509.

📒 Files selected for processing: 1
  • .github/workflows/pr.yml

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.

📝 Walkthrough

Ephemeral VM modules now use updated shared and local import paths under src/main/ephemeral-vm/. IPC modules, tests, workflow checks, and reliability-gate entries reference the reorganized paths. The cross-version test prefers the relocated runtime service and retains a fallback to its former path. The root recipe-runner re-export and runtime-service cleanup-control re-export were removed. The summaries report no runtime logic changes.

Priority: ⬇️ Low

Merge Risk: ⚪ Minimal · up to 61e15

Changes to the relocated runtime files still trigger the rollback compatibility check. No merge-blocking risk is established in the reviewed scope.

Pre-merge checks: Passed 3 · Failed 2

Failed Failed checks: 2 warnings

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 25.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 4 functions across 24 files. (1 skipped: … Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check Warning The description explains the implementation, rationale, scope, and reported validation, but it omits most required template sections. It does not include ELI5, What Changed, Why, Linked Issue, Visual … Update the description to use all required template sections. Add an actual linked issue after Fixes #, state N/A with a reason for Visual Proof if there is no UI or interaction change, document testing and platform coverage, complete t…
Passed Passed checks: 3 passed
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: grouping ephemeral VM lifecycle modules under a dedicated directory.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

Docstring coverage is 25.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 4 functions across 24 files. (1 skipped: 1 unsupported.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

Full details: Description check

Explanation

The description explains the implementation, rationale, scope, and reported validation, but it omits most required template sections. It does not include ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, AI Disclosure, Review, Notes, Agent skill upstream boundary, or Checklist headings. It also provides no linked issue reference.

Resolution

Update the description to use all required template sections. Add an actual linked issue after Fixes #, state N/A with a reason for Visual Proof if there is no UI or interaction change, document testing and platform coverage, complete the applicable checkboxes, and include AI Disclosure when applicable.

✨ Finishing Touches: 💡 1
🛠️ Fix failing CI checks: 💡
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@nwparker
nwparker force-pushed the nwparker/module-organization-ephemeral-vm branch from 8ad3163 to 61e1509 Compare October 22, 2026 02:46
@nwparker
nwparker force-pushed the nwparker/module-organization-ephemeral-vm branch from 61e1509 to 9dcc170 Compare October 22, 2026 04:15
@nwparker
nwparker merged commit 0a7d6bb into main Oct 22, 2026
39 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