fix(server): preserve reasoning effort after restart - #10939
fix(server): preserve reasoning effort after restart#10939IgniparousTempest wants to merge 1 commit into
Conversation
ApprovabilityVerdict: Not approved Macroscope's review found this PR not approvable — The PR is a focused restart-recovery fix, but it changes an existing automatic continuation path by applying persisted model and reasoning settings that were previously omitted. Because those settings alter downstream model processing behavior, human review is warranted despite the small, well-tested diff. You can add or adjust custom eligibility rules. Learn more. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (4)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe restart continuation path now passes the recovered thread’s ChangesRestart continuation model selection
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Severity of issue fixed: Low Merge Risk: ⚪ Minimal · up to Interrupted Codex turns resumed after restart retain their saved model and reasoning-effort settings, preventing fallback to medium effort. The change is covered across reconciliation and startup continuation paths and is ready to merge. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Restart reconciliation resumed provider turns without the thread model selection. Codex therefore rebuilt collaboration settings with its medium-effort fallback, even when the interrupted turn used high or xhigh reasoning.
Forward the persisted thread model selection on automatic continuation. Extend the reconciliation and SQLite-backed startup tests to prove a high-effort selection survives restart, and cover the resulting Codex turn parameters and developer instructions.
Closes #10928.
Verification:
vp test run apps/server/src/serverRuntimeStartup.reconcile.test.ts apps/server/src/provider/Layers/CodexSessionRuntime.test.tsvp test run apps/server/integration/orphanedProviderSessionStartup.integration.test.tsvp test run apps/server/src/provider/Layers/CodexAdapter.test.tsvp run --filter t3 typecheckModel: GPT-5.6 via Codex.
Summary by CodeRabbit
Bug Fixes
Tests