Repository navigation
Keep startup retry in reconnecting state - #13856
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; 8 remain after this review. 📝 WalkthroughWalkthroughThe stored Mac reconnect flow now performs a direct retry. It checks cancellation before the retry and starts reconnecting state before the first await. ChangesStored Mac reconnect
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~5 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The stored-Mac retry now starts directly while setting reconnecting state before the asynchronous attempt. No actionable merge-blocking risk remains in the supplied evidence. 🚥 Pre-merge checks | ✅ 24 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (24 passed)
Full details: Description checkExplanation The description explains the problem, the implementation, and validation results. It omits the required Testing, Demo Video, Review Trigger, and Checklist sections, including the required UI behavior demo and checklist confirmations. Resolution Add the required template sections. Include testing details and manual verification, attach a short demo video, include the review-trigger comment, and complete the checklist. For the iOS connectivity checklist item, explain why existing deterministic soak coverage applies or update the coverage and record the workload result.
✨ Finishing Touches📝 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 |
|
Agent review. The delayed root-level retry slept 1 s and then called Merging with the user's go-ahead. — Ibex g1 🌿 |
1ba90a1 fix(ios): decrypt pushes on release builds by sharing state via the keychain (manaflow-ai#14039) 73f12e5 Regenerate config schema and shortcut docs for toggleFileEditorWordWrap (manaflow-ai#14052) 4dafd99 Keep startup retry in reconnecting state (manaflow-ai#13856) 58bbcfa coderouter: report Server-Timing on every route (manaflow-ai#13976) e5a1d11 Drop the retired staging legacy Subrouter default (manaflow-ai#13946) 727d3f0 ci: fetch previous nightly DMGs by asset id and treat misses as no delta (manaflow-ai#13970) 72490a9 ci: make cross-run product reuse actually adopt products (manaflow-ai#14007) # Conflicts: # .github/workflows/ci-macos.yml # .github/workflows/persistent-macos-compile.yml # .github/workflows/test-e2e.yml # .github/workflows/test-ios.yml
The startup retry introduced by #13750 can leave the iOS shell showing
Not Connectedwhile it is already retrying the saved Mac. Lawrence's recording showsReconnecting, then about two seconds ofNot Connected, followed by the same Mac and its workspaces appearing.This removes the delayed retry and starts it through
retryActiveMacReconnect, which setsisReconnectingStoredMacbefore its first await. The global status remainsReconnectinguntil the retry resolves.Validation:
swift test --filter CmuxMobileShellTests.MobileShellCompositePreviewTests/userRetryCoalescesWhileReconnectIsAlreadyInFlightpasses.ReconnectRouteSelectionTests/hungRedialSettlesAtDeadlineAndUnfreezesRecoverystill fails in the existing deadline test before this UI-only change is involved.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by cubic
Stops the iOS shell from showing
Not Connectedfor a couple of seconds during startup retry. The delayed root-level retry is now started throughretryActiveMacReconnect, which sets the reconnecting state before its first await, so the global status staysReconnectinguntil the retry resolves.Written for commit ff0fda2. Summary will update on new commits.
Summary by CodeRabbit