Skip to content

Load missing quota windows through one proxy bulk fetch#4

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/bulk-load-quota-values-from-proxy-for-li-2026-04-23-10-25
Apr 23, 2026
Merged

Load missing quota windows through one proxy bulk fetch#4
NagyVikt merged 1 commit intomainfrom
agent/codex/bulk-load-quota-values-from-proxy-for-li-2026-04-23-10-25

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

Large account lists were still paying upstream latency once per missing snapshot. This change adds a cookie-aware codex-lb /api/accounts fetch that reuses the existing dashboard auth env contract, maps bulk quota fields back into UsageSnapshot, and lets list refresh consume that bulk map before falling back to per-account ChatGPT usage calls.

Constraint: Must reuse the existing CODEX_LB dashboard auth contract without adding dependencies
Rejected: More parallel per-account wham requests | still scales with missing account count
Confidence: high
Scope-risk: narrow
Directive: Keep proxy usage as a bulk prefill only and preserve per-account API/local fallback for unmatched or unavailable proxy runs
Tested: npm test
Not-tested: Live dashboard login against a password or TOTP protected codex-lb instance
@NagyVikt NagyVikt merged commit 5c6fedf into main Apr 23, 2026
@NagyVikt NagyVikt deleted the agent/codex/bulk-load-quota-values-from-proxy-for-li-2026-04-23-10-25 branch April 23, 2026 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant