fix(ios): convert the stamped group id to a workspace id (unbreaks app-host unit tests) - #10825
austinywang wants to merge 1 commit into
Conversation
… workspace id MobileWorkspaceAggregation assigned a MobileWorkspaceGroupPreview.ID to anchorWorkspaceID (a MobileWorkspacePreview.ID); Xcode 26.3 on CI rejects the assignment, failing every app-host unit test shard on main and on every branch built from it. Both ids are string-backed, so convert through rawValue as the comment already describes (a stable UI row identity, never a capability). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus 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. 📝 WalkthroughWalkthroughThe workspace aggregation fallback now constructs ChangesWorkspace aggregation
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This PR makes a localized ID conversion to restore iOS app-host unit-test compatibility, with no actionable merge-blocking risk remaining beyond normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 24 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (24 passed)
Full details: Cmux Swift Actor IsolationExplanation PASS: The pull request changes one assignment expression in production code. It converts Full details: Cmux Swift Blocking RuntimeExplanation PASS: The PR changes one production Swift assignment in Full details: Cmux Browser Automation Off-MainExplanation PASS: The pull request changes only Full details: Cmux Expensive Synchronous LoadExplanation PASS. The diff changes one assignment in Full details: Cmux Cache Substitution CorrectnessExplanation PASS: The one-line diff only converts Full details: Cmux No Hacky SleepsExplanation PASS. The diff changes one line in a Swift source file. It converts Full details: Cmux Algorithmic ComplexityExplanation PASS — The commit changes one line in Full details: Cmux Swift ConcurrencyExplanation PASS: The HEAD commit changes only one assignment in Full details: Cmux Swift `@Concurrent`Explanation The diff changes only the synchronous Full details: Cmux Swift Package BoundariesExplanation PASS: The one-line production change is already inside the Full details: Cmux Swiftpm LockfilesExplanation PASS: The PR changes only one Swift source file in Full details: Cmux Swift LoggingExplanation PASS: The pull request changes one assignment in Full details: Cmux User-Facing Error PrivacyExplanation PASS. The diff changes only an identifier type conversion in Full details: Cmux Full InternationalizationExplanation PASS. The exact diff changes one Swift assignment from Full details: Cmux Swiftui State LayoutExplanation PASS. The PR changes one expression in Full details: Cmux Architecture RethinkExplanation PASS — The diff is a one-line type-correctness fix in Full details: Cmux Swift Auxiliary Window Close ShortcutsExplanation PASS. The pull request changes only Full details: Cmux Source ArtifactsExplanation PASS: The PR changes one tracked hand-written Swift source file, Full details: Cmux No Test Or Debug Seam In Production SourceExplanation PASS. The pull request changes one production Swift line in Full details: Cmux No Ambient Global StateExplanation PASS. The pull request changes one assignment in
✨ 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 |
|
Closing as superseded: main already has The branch is kept; reopen if I've got this wrong. Part of the backlog cleanup in manaflow-ai/cmuxterm-hq#563. |
CI's app-host unit test shards fail on main's tree at
MobileWorkspaceAggregation.swift:285:stamped.anchorWorkspaceID = stamped.idassigns aMobileWorkspaceGroupPreview.IDto aMobileWorkspacePreview.ID, which Xcode 26.3 rejects (cannot assign value of type 'MobileWorkspaceGroupPreview.ID' to type 'MobileWorkspacePreview.ID'). Main's own recent runs skipped those shards, so it went unnoticed and every branch built from main fails them (seen on #10812).Both ids are string-backed; this converts through
rawValue, keeping the documented intent (the namespaced group id as a stable UI row identity, never a workspace capability).🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by CodeRabbit