fix: keep accepted Cloud cwd visible while stale - #14293
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. 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 (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 2 remain after this review. 📝 WalkthroughWalkthroughCloud terminal directory presentation retains a previously accepted remote cwd during stale observations. Missing or blank paths remain unavailable. Lifecycle tests cover stale snapshots, reconnects, provider replacement, and terminal deletion. ChangesCloud directory freshness
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: Low Suggested reviewers: Merge Risk: ⚪ Minimal · up to Stale Cloud terminal rows retain an accepted remote directory, while missing directories remain unavailable. No actionable merge risk was identified in the reviewed changes. 🚥 Pre-merge checks | ✅ 24 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (24 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 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 |
488b058 ci: count the 12vcpu macOS pool at 5 machines, the most it ran with a queue (manaflow-ai#14330) bcb162c Merge pull request manaflow-ai#14121 from manaflow-ai/issue-13640-terminal-paste-latency 24efd87 test(focus-recovery): run the automatic apply against a pinned tiny surface (manaflow-ai#14322) 57d3d7c Merge pull request manaflow-ai#14293 from manaflow-ai/issue-14290-directory-unavailable-stale e1a5ea3 ci: never abandon a run the owned pool rescue cancelled (manaflow-ai#14326) a76f47a web: contain Hexclave failures on every page (manaflow-ai#14316) fc7f80d ci: start macOS compile admission beside the fast Linux jobs (manaflow-ai#14314) 85f3d9f ci: roll a PR run over to the next pool when one is full (manaflow-ai#14323) 04e8a05 ci: let E2E runs take an owned Mac with a free slot (manaflow-ai#14311) 034025f reload: resolve the cmux-tui client before the build (manaflow-ai#14313) 7472de4 fix: pass projected resource to stale cwd resolver 9045f37 Merge remote-tracking branch 'origin/main' into issue-14290-directory-unavailable-stale 51a9004 fix: retain accepted Cloud cwd while stale 97d44fd test: retain known Cloud cwd during stale refresh f6df46e fix: retain rich text fallback for lossy paste data f3f43ed fix: retain rich text fallback for lossy paste data 5d8258b test: preserve rich paste fallback and text fidelity a9c54ba fix: keep mixed rich text paste on the fast plain-text path d284b6a test: cover fast paste for mixed plain and HTML clipboard # Conflicts: # .github/workflows/ci-guards.yml # .github/workflows/ci-macos.yml # .github/workflows/ci-owned-pool-rescue.yml # .github/workflows/ci.yml # .github/workflows/test-e2e.yml
Summary
Cloud terminal rows now keep the last cwd accepted by the remote daemon while a machine refresh or reconnect is stale. The catalog reads that cached value from the accepted `CloudVMState` for the exact machine and terminal identity, so optimistic launch paths, missing cwd values, deleted resources, and retired provider callbacks still render as unavailable instead of showing an invented or local path. The Cloud tree and workspace sidebar lifecycle tests cover stale visibility, missing cwd, current recovery, provider replacement, stale callbacks, and deletion.
Closes #14290.
Testing
No clean-environment visual flow or developer build was needed for this deterministic catalog presentation fix.
Demo Video
Not included; the behavior is covered by the hosted lifecycle suite and uses the existing localized sidebar presentation.
— CedarKite · pending
run: run_issue_14290_directory_stale_20260924
session: cmux175-14290-20260924