feat(codex): prefer accounts near shared quota reset - #4369
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks 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 |
Adapt #4080 for the shared pool kernel, canonical settings API, cache-affinity policy, reset unit normalization and independent quota scopes. Co-authored-by: Terry Tan <tmy1995hflc@gmail.com>
72972db to
5c648ea
Compare
|
✅ Deterministic PR hygiene checks passed. |
리뷰 · 우선순위 56 / 80이 PR은 Codex 계정 풀에 핵심 코드는 현재 라인 / 심볼 - 메인테이너의 판단이 필요한 지점
너의 추천 이 댓글은 grok-bot이 작성했습니다 |
⏳ DRAFT
What to do
This pull request was already a draft. Its draft status will be preserved after every issue above is resolved. |
Keep current origin/dev writer, compensation, context-relay, and effort-ceiling contracts, and retain the quota-history publication identity paragraphs from this layer.
Keep current origin/dev structure contracts and retain this layer bounded raw-observation pointers.
No content conflicts; keep capacity estimation on the restacked history/identity baseline.
Keep eligibility plan-exclusion tests and the restacked history/capacity CLI and API coverage.
Keep current stacked identity/history/capacity/eligibility contracts and retain reset-first ordering plus its settings test.
Keep stacked account/quota contracts and retain Antigravity quotaFailure diagnostics plus CLI coverage.
No content conflicts. Keep quota-history publication identity on the post-audio origin/dev tree.
No content conflicts.
No content conflicts.
No content conflicts.
No content conflicts.
Keep current origin/dev subagent/V2 contracts and retain the quota-history publication identity pointer.
Keep current origin/dev V2/thinking contracts and retain bounded quota-observation pointers.
No content conflicts.
Keep current origin/dev V2/thinking contracts and retain plan-exclusion coverage.
Keep current origin/dev V2/thinking contracts and retain reset-first ordering.
Keep current origin/dev sideband/session contracts and retain the quota-history publication identity pointer.
Keep current origin/dev contracts and retain bounded quota-observation pointers.
No content conflicts.
Keep current origin/dev contracts and retain plan-exclusion coverage.
Keep current origin/dev contracts and retain reset-first ordering.
Summary
reset-firstaccount-pool ordering, carrying feat(codex): prefer accounts near quota reset #4080 atecf6b4e48a4c2992c296fada2caf6a8132313eaa. Shared-quota assignments prefer the earliest future short/weekly reset after existing eligibility, priority and threshold rules; ties or missing deadlines retain usage/stable order./api/pool/settingswrite/read contract. Preserve legacy Codex routes, mixed seconds/milliseconds, current manual preference and cache-affinity behavior. Independent model quota scopes use existing quota ordering because their deadlines are not the shared windows.devPR; [Feature]: retain quota history and make reset windows a scheduling input (capacity estimation, reset ordering, automatic activation) #3376 remains open for history/capacity and broader ordering acceptance.Verification
git diff --checkand staged whitespace check passed (source-text checks only).Checklist
Co-authored-by: Terry Tan tmy1995hflc@gmail.com