fix(codex): tolerate malformed account plan values - #1373
Conversation
|
Important Review skippedNo new commits to review since the last review. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughChangesCodex plan normalization
Estimated code review effort: 3 (Moderate) | ~25 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 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 |
|
✅ READY
Review readiness checklist
✅ 4/4 boxes ticked. UI screenshot waived by the Hygiene✅ Deterministic PR hygiene checks passed. |
|
Please rebase this PR onto the latest |
eefa41d to
095a9a5
Compare
|
Rebased onto the current The only remaining failures are maintainer-owned gates: |
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
|
Rate Limit Exceeded
|
Rate Limit Exceeded
|
Rate Limit Exceeded
|
|
Thanks @luvs01 — nice hardening here. The centralized plan normalization keeps malformed persisted/upstream values from leaking into quota, routing, collision, and capacity behavior, and the regression coverage across those paths is solid. Merged — appreciate the careful work. |
Summary
go/freemonthly behaviorVerification
bun run typecheckbun run privacy:scanbun test tests/codex-auth-collision.test.ts(7 passed)bun test tests/provider-quota.test.ts -t "pool reports tolerate a malformed persisted plan"(1 passed)git diff --checkChecklist
devReview readiness checklist
All CI tests are green on my local testing.
I pushed my PR to the latest dev commit.
I resolved all correct Codex and CodeRabbit findings.
My PR is ready for review.
Summary by CodeRabbit
Bug Fixes
Tests