GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||
GeezerVison is showing github.com — fix(server): Codex seat workspaces with a zero credit cap are no longer out of usage by joaosamouco · Pull Request #34239 · pingdotgg/t3code ConversationFixes #34234 On ChatGPT Business/Team workspaces that use paid seats, Codex reports an A 0 credit cap means no credits are allocated, and credits are only spent once the seat allowance runs out, so Added a test with the snapshot from the issue; it fails on Claude Opus 5.5 via Claude Code in T3 Code
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
| Layer / File(s) | Summary |
|---|---|
Individual limit conversion and test apps/server/src/provider/codexUsageLimits.ts, apps/server/src/provider/codexUsageLimits.test.ts |
The snapshot type adds an optional individual limit. The conversion omits the individual monthly window when its numeric limit is zero. The test checks that the other two windows remain and the reset time is null. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix · Severity of issue fixed: Medium
Possibly related issues
pingdotgg/t3code#27792 — This issue describes Codex fallback when included allowance is exhausted despite spendable credits; this change addresses the distinct zero-credit-cap case.Possibly related PRs
Suggested labels: bugfix, size:S
Suggested reviewers: t3dotgg, macroscopeapp
69502This change stops Codex from being treated as out of usage for paid-seat workspaces whose credit cap is zero. No concrete merge-blocking risk was identified.
Explanation
The description explains the problem, the code change, the affected workspace types, the linked issue, and the verification result. It does not use the template headings and does not provide the exact test command or explicit approval details, but it is sufficiently complete and focused.
Explanation
For issue #34234, codexRateLimitsToWindows now omits the individual window when individualLimit.limit is "0". The added test uses the reported team snapshot and verifies that only primary and secondary remain. It also verifies that codexUsageLimitResetAt returns null. The change preserves the individual window for nonzero or missing limits. The reported fallback and reset consumers read these windows, so the zero-cap window no longer marks Codex as exhausted.
Explanation
The changes stay within issue #34234. They add the optional individualLimit.limit field, apply the zero-cap filter in apps/server/src/provider/codexUsageLimits.ts, and add a focused regression test in codexUsageLimits.test.ts. No unrelated behavior or files are changed.
7f5f4db7-b7d4-45a6-98e0-88aee4c8372bReviewing files that changed from the base of the PR and between 8c9af54 and 6950292883ae5a96dff7c1f0ccbe64f168c2c575.
apps/server/src/provider/codexUsageLimits.test.tsapps/server/src/provider/codexUsageLimits.tsIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
6950292 to
69a5396
Compare
|
The automated pipeline stopped on this pull request and will not merge it: the proof has no capture anyone can open:
It stays open for a person to finish or close. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Note Comment written by Claude Sonnet 5.5 in T3 Code, on behalf of Jaiden The "out of usage" symptom this PR fixes is already fixed on How I checked: #34243 changes The two differ in one way: this PR drops the "Monthly credit limit" row when its |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Note 🤖 Claude Opus 5.5 responding on behalf of Theo Closing. Main already fixes this through #34243. That PR adds a Codex case to |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Codex seat-based workspace with a 0-credit monthly cap is treated as out of usage, new threads switch to the fallback model
There was an error while loading. Please reload this page.