Repository navigation
fix(cloud): recover machine list on app foreground (#15100) - #15104
Conversation
The new behavior cases intentionally fail on current main: automatic refresh keeps the stale machine-list failure visible and app activation starts no recovery read.\n\nRefs #15100
Mark automatic list reads as recovery at the request owner so stale transient failures are neutral while the read is in flight. Keep routine polls actionable, and observe app foreground activation alongside existing wake and network recovery.\n\nFixes #15100
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. |
|
Warning Review limit reachedNext included review available in 2 minutes. View limit detailsLimit details: You’ve used all 10 included reviews currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Repository: manaflow-ai/cmux/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (3)
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 ✍️ ✅ |
CI failure attributionCI passes on Written by |
|
Merge receipt for |
10505af fix(cloud): recover machine list on app foreground (manaflow-ai#15100) (manaflow-ai#15104) 22835e8 Docs: raise search field contrast (manaflow-ai#14365) 18abc85 Report a non-running terminal as surface_unavailable in read_text (manaflow-ai#15101) b23420c Document and tool in-place cmux-tui upgrades for running Cloud machines (manaflow-ai#15122) f1c54d0 ci: charge newer runs one root runner each when gui runners are on (manaflow-ai#15124) b7ce8d0 Bound the Iroh release-gate launcher 3606617 Stop CLI Sentry floods from caller state and unattributed journal failures (manaflow-ai#15103) 446581e ci: send owned gui jobs past a round of the gui queue to Blacksmith (manaflow-ai#15115) 507890c ci: refit the warm-distance model on 741 owned admissions (manaflow-ai#15117) 5bee212 Match the CMUX_NO_GIT_WATCH contract to bash without a PR poller (manaflow-ai#15099) # Conflicts: # .github/workflows/ci-macos.yml
Problem
When the Cloud sidebar returned to the foreground, an automatic machine-list read could leave the prior
Can't load the machine listfailure andRetryaction visible while Cloud workspaces and Devices were already restoring. The request owner preserved that stale error because only explicit recovery reads set the reconnecting state.Changes
MachinesPanelViewModel.refresh(), keeping transient failures neutral while the request is in flight and clearing them on success.NSApplication.didBecomeActiveNotificationfor visible panels and route it through the existing recovery path used by wake and online return.Issue: #15100
Verification
python3 scripts/verify-local.py(4/4 affected static checks passed)python3 scripts/swift_file_length_budget.pypython3 scripts/swift_warning_budget.py --log /dev/nullgit diff --checkChangelog
Closes #15100
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by cubic
Fixes Cloud machine-list recovery on app foreground so a stale
Can't load the machine listerror no longer lingers while the list is restoring.NSApplication.didBecomeActiveNotificationfor visible panels and routes it through the existing wake/online recovery path.Closes #15100.
Written for commit 711c2ee. Summary will update on new commits.