Repository navigation
Revert "feat: auto-retry failed agent sessions" (#9024) - #9184
Conversation
This reverts commit 4f5aafd.
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 reached
Next review available in: 9 minutes 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 (77)
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 |
Summary
terminal.autoRetryAgentSessionssetting, retry coordination/policy, retry and exhaustion UI metadata, exit classification plumbing, tests, schema entries, and localized strings.mainafter the original squash merge.Conflict resolution and later-main adaptation
Sources/AgentSessionRetryCoordinator.swiftandcmuxTests/AgentSessionRetryCoordinatorTests.swift. The laterae52684c53edits were entirely within the retry implementation and tests being reverted, so none needed to survive independently.web/messages/en.jsonandweb/messages/ja.jsonby retaining the later Agent Hibernation descriptions while removing only the auto-retry description added by feat: auto-retry failed agent sessions #9024.agentSessionRetryCompletedAttemptsinitializer argument fromcmuxTests/AppDelegateEqualizeSplitsShortcutTests.swift, a later-main test fixture added after the feature. This is the only adaptation outside the original 76-file change.Known overlap
CLI/cmux.swiftalso overlaps the in-flightissue-9181-codex-resume-notificationsbranch. Whichever change lands second should expect and resolve that merge conflict without reintroducing auto-retry behavior.Validation
./scripts/check-pbxproj.sh./scripts/lint-pbxproj-test-wiring.shpython3 scripts/check-workspace-package-groups.py --checkpython3 scripts/check-package-resolved-policy.pyResources/Localizable.xcstrings,web/data/cmux.schema.json, and everyweb/messages/*.json; verified every catalog touched by the original PR drops its auto-retry key while later keys remain.arch -arm64 swift testinPackages/macOS/CmuxWorkspaces(192 tests)arch -arm64 swift testinPackages/macOS/CmuxControlSocket(319 tests)arch -arm64 swift testinPackages/macOS/CmuxSettingsUI(137 tests)The requested
python3 scripts/swift_file_length_budget.pycheck is unavailable because currentmainremoved that checker in #8125 (85ded20f53). Neither Swift budget TSV is touched.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by cubic
Fully reverts the “auto-retry failed agent sessions” feature and setting, returning to manual resume behavior only. Removes the
terminal.autoRetryAgentSessionsoption and all related logic, UI, schema, and tests while preserving unrelated changes already onmain.Refactors
terminal.autoRetryAgentSessionsfromcmux.schema.json, settings catalog, JSON path support, and search index.agent_session_endedhandling fromsurface.resume.clearinCmuxControlSocketand related validation/tests.Migration
terminal.autoRetryAgentSessionsconfig key is now ignored.agent_session_endedtosurface.resume.clear.issue-9181-codex-resume-notificationsbranch inCLI/cmux.swift; resolve without reintroducing auto-retry behavior.Written for commit c973791. Summary will update on new commits.