feat(codex): add quota-aware switching and resumable pool waits - #3738
feat(codex): add quota-aware switching and resumable pool waits#3738y2ambition-ai wants to merge 2 commits into
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 |
|
⏳ DRAFT
What to do
Review readiness checklist
0/4 boxes ticked. This pull request was already a draft. Its draft status will be preserved after every issue above is resolved. |
리뷰 · 우선순위 42 / 80이 PR은 Codex 공유 계정 풀에 옵트인 지금 우선순위 42인 이유다. 아이디어(관측 신선도·부분 스냅샷 거부·출력 전만 재시도·불확실 실패 미재현)는 풀 운영에 도움이 될 수 있으나, 한 번에 너무 크고, 로드맵 급한 칸(task-input 등)도 아니며, 스폰서·Ready·CI도 안 됐습니다. 인증/쿼터 표면이라 메인테이너 보안·동작 리뷰 없이 Ready로 올리면 안 됩니다. types/config에 플래그 한두 줄이 들어가지만 “대분할로 무효화” 수준의 PR은 아닙니다. 다만 큰 서버/코어 겹침이 있어 task-input·WS 픽스와 동시에 랜딩하면 충돌 비용이 큽니다. 경로/심볼 - 메인테이너의 판단이 필요한 지점
너의 추천 이 댓글은 grok-bot이 작성했습니다 |
Summary
codexAccountStrictQuotaadmission for the shared Codex account pool. Fresh, identity-bound observations must confirm remaining quota in every relevant window; a measured 100% window blocks admission. Partial responses, credits-only updates, and elapsed reset predictions do not establish recovery.Verification
Current head:
4e7ea19036e1ce52f5f54b18b38c5b35a3703e3e.bun scripts/test.ts --changed=dev: 16,068 passed, 12 skipped, 0 failed across 805 files on macOS. Comparison resolved toupstream/devmerge baseaf344a2.tsc --noEmit, privacy scan, andgit diff --check: passed. Docs build: 425 pages.bunwas absent from PATH. With the project's existingnode_modules/.binadded for that test process only, all 62 affected-file tests and the full import-connected selection passed.Checklist
This remains a draft. Upstream auth-sensitive maintainer review/sponsorship and the full review-readiness gates are still outstanding. The latest-dev synchronization checkbox has not been independently signed off.
Review readiness checklist
This PR stays in draft until every box below is ticked. Tick all four boxes once the requirements are met:
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.