Repository navigation
Keep workspace customization scoped to workspace identity - #9270
Conversation
|
Warning Review limit reached
Next review available in: 1 minute Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (18)
📝 WalkthroughWalkthroughThe PR adds regression tests for session and closed-workspace restoration. The tests verify that workspaces sharing a directory retain distinct custom titles and colors. ChangesWorkspace recovery customization
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related issues
Possibly related PRs
🚥 Pre-merge checks | ✅ 24 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (24 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 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 |
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. |
98b763e to
e06745b
Compare
e06745b to
69087f9
Compare
…directory-sticky-title # Conflicts: # Packages/macOS/CmuxWorkspaces/Sources/CmuxWorkspaces/Customization/WorkspaceDirectoryCustomization.swift # Packages/macOS/CmuxWorkspaces/Sources/CmuxWorkspaces/Customization/WorkspaceDirectoryCustomizationPersistenceEntry.swift # Packages/macOS/CmuxWorkspaces/Sources/CmuxWorkspaces/Customization/WorkspaceDirectoryCustomizationPersistenceSnapshot.swift # Packages/macOS/CmuxWorkspaces/Sources/CmuxWorkspaces/Customization/WorkspaceDirectoryCustomizationStore.swift # Sources/AppDelegate.swift # Sources/TabManager+DetachedWorkspace.swift # Sources/TabManager.swift # Sources/cmuxApp.swift # cmux.xcodeproj/project.pbxproj # cmuxTests/WorkspaceRecoveryReviewRegressionTests.swift # cmuxTests/WorkspaceRecoveryTests.swift
Summary
Workspace.stableId.workspaceDirectoryCustomizations.v1as migration-only. Promote a legacy directory record only when exactly one restored workspace owns that directory, then remove ambiguous and orphaned legacy data.Regression provenance
Version
0.64.20predates this regression. #8841 introduced the directory-keyed record in commitf5af960e01and made it authoritative on restore in commit25a1ed8ba4. #9027 later stopped applying the record to fresh workspaces but retained the colliding write and restore paths.Verification
69087f964eadds the failing same-directory restore regressions first.9f586e4574adds the stable-ID implementation and migration coverage separately.d47c1fe0c0../scripts/lint-pbxproj-test-wiring.sh./scripts/check-pbxproj.shpython3 scripts/check-workspace-package-groups.py --checkpython3 scripts/check-package-resolved-policy.pygit diff --checkxcodebuildtests or XCUITests were run. CI is the test execution gate.origin/maindoes not contain.github/swift-file-length-budget.tsvorscripts/swift_file_length_budget.py. Every new Swift file is under 500 lines, and neither budget TSV is changed.Closes #9267