Repository navigation
Fix exited Cloud terminals and shell runtime lifetime - #12492
lawrencecchen wants to merge 6 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: manaflow-ai/cmux/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (5)
Included review availability: Your plan provides up to 10 included reviews per hour; 5 remain after this review. 📝 WalkthroughWalkthroughThe parser now excludes all exited terminals from openable resources while retaining exit records and stale tabs. Tests cover pane closure behavior. VM setup and attach commands now establish persistent work-user runtime state, and image verification checks that state. ChangesTerminal lifecycle handling
Work-user runtime setup
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Bug fix Suggested reviewers: Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 error, 1 warning)
✅ Passed checks (23 passed)
Full details: Cmux User-Facing Error PrivacyExplanation The attach change can expose raw system-service diagnostics in a user-facing API error. Resolution Keep runtime-repair stderr server-side. Do not include the attach bundle's raw stderr/stdout in
✨ Finishing Touches 💡 2📝 Generate docstrings 💡
🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
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. Comment |
|
All contributors have signed the CLA ✍️ ✅ |
8334d8a to
882d889
Compare
882d889 to
23353c6
Compare
23353c6 to
76b6a0a
Compare
76b6a0a to
907ece0
Compare
907ece0 to
3c9d224
Compare
This comment has been minimized.
This comment has been minimized.
Bugbot is paused — on-demand spend limit reachedBugbot uses usage-based billing for this team and has hit its on-demand spend limit. A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue. |
|
Fleet build instructions for this PR, head JOB_JSON=$(~/.local/bin/cmux-ci submit --kind cmux --command 'CMUX_FLEET_BUILD_TAG=pr-12492-c59d03ef /Users/Shared/cmux-build-fleet/recipes/cmux.sh https://github.com/manaflow-ai/cmux.git c59d03ef9ae7505c22648ee7617da6819ecd42ec' --artifact artifacts/cmux.app.zip --workspace https://github.com/manaflow-ai/cmux/pull/12492 --source-digest c59d03ef9ae7505c22648ee7617da6819ecd42ec --cache-key cmux:pr-12492 --min-free-bytes 268435456000 --label cmux --label ram48)
JOB_ID=$(python3 -c 'import json,sys; print(json.load(sys.stdin)["id"])' <<<"$JOB_JSON")
~/.local/bin/cmux-ci wait "$JOB_ID" --receipt artifacts/fleet/$JOB_ID.json
~/.local/bin/cmux-ci publish-hq "$JOB_ID"The job survives disconnects. Do not resubmit after a wait timeout; rerun |
|
Verified macOS fleet artifact for c59d03e: pr-12492-c59d03ef. HQ restores/downloads this exact artifact on click. Job This proves a macOS app build and publication; it does not prove iOS, tests, or UI behavior. Fetch the durable receipt with |
|
|
Superseded by the Cloud terminal lifecycle and recovery work now in main, including #15116 and the CmuxCloud extraction. |
Current development build
Open
clife5eafrom PR commit5eaec1175d11a9a5f2bdcc65a09579e3e9c0bff5.45fa9beaa138571b8ae7f59boncmux10s-Mac-mini.local, completed in 694 seconds.e3a01321a362ce43457a8f83d1e7bf1d8f3e6b60b024fc26f3a0c4dcb1ac250b.artifacts/fleet/12492-5eaec1175d11/submit.jsonandterminal.jsonin the hq workspace.Summary
Evidence
lawrence-blogwas repaired in place. The original Bash process stayed alive after a separate login closed./run/user/1000/bleshwas restored ascmux:cmuxmode0700, and systemd lingering is enabled.cmux-assets/feat-cloud-terminal-lifecycle/runtime-proof.jsonandruntime-proof.txt.bun run typecheck, andbun run lint:complexity.Testing limits
cmux-unitCI is blocked by unrelated current-base compile errors inCloudWorkspaceRenameService+Reconciliation.swift,CloudTreeTerminalNavigationCoordinator.swift,DockSplitStore+PaneFocus.swift, andCloudWorkspaceLayout/file-delivery files across earlier base runs. The current PR check issemantic-delivery-integration / tests, which fails inCloudWorkspaceRenameService+Reconciliation.swiftbefore the selected tests run.Commits
Summary by CodeRabbit
Bug Fixes
Reliability