Repository navigation
fix(iOS): stabilize preview route test and keep it off macOS CI - #13607
Conversation
|
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 (4)
💤 Files with no reviewable changes (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe change updates an iOS test to use a preview-text mutation, classifies iOS package tests as macOS-neutral, adds classification coverage, and assigns ownership for two CI paths. ChangesCI routing and test alignment
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: Medium Merge Risk: ⚪ Minimal · up to The change isolates the flaky iOS test and refines CI routing and ownership; no merge-blocking production or CI risk remains. 🚥 Pre-merge checks | ✅ 23 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (23 passed)
Full details: Out of Scope Changes checkExplanation The changes in
✨ 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 |
|
All contributors have signed the CLA ✍️ ✅ |
Fixes #13563.
Changes
tests/test_build_graph_health.py → preflightguard ownership entry, which current main's guard workflow already referenceshasUnreadmutation frompreviewTextChangeReconfiguresInPlaceWithoutTableReload(), so the test isolates the preview-text-only route its name/assertion describesPackages/iOS/CmuxMobileShellUI/Tests/**as macOS-neutral because that package test target is exercised bytest-ios.yml, not the macOS Swift-package lanemacos=false,web=false, andrelease_build=falsefor that test subtreeEvidence
Failing iPhone run: https://github.com/manaflow-ai/cmux/actions/runs/35682638589
Failure:
The test changed both
previewTextandhasUnread. The production coordinator intentionally treatshasUnreadchanges as native-action payload changes, which select the table reload path. The fix removes only that unrelated mutation.A later unchanged-iOS run passed, confirming this was test-state/contract instability rather than a signing regression.
This PR changes the CI router itself, so it should exercise routing validation once. After merge, isolated
CmuxMobileShellUI/Tests/**edits will stay off the macOS lane.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by cubic
Stabilizes the iOS preview text routing test and keeps
CmuxMobileShellUItest edits off the macOS CI lane.hasUnreadmutation frompreviewTextChangeReconfiguresInPlaceWithoutTableReload(), sincehasUnreadchanges intentionally select the table reload path; read-state behavior stays covered by its own test.Packages/iOS/CmuxMobileShellUI/Tests/**as macOS-neutral in the CI router so test-only changes there no longer trigger the macOS Swift-package lane.macos=false,web=false, andrelease_build=false.tests/test_build_graph_health.pyunder the preflight guard group and syncs the related step ownership entries inworkflow_guard_groups.py, keeping only guarded entries.Written for commit e5f3312. Summary will update on new commits.
Summary by CodeRabbit
Tests
Chores