Repository navigation
Conversation
Treat unclaimed Google credits as Not applied, hide contradictory zero-use Copilot quotas when the same token-billed response reports overage, and probe Doubao with the documented Coding Plan alias. Link the separately installed Volcengine balance plugin with its billing permission requirements. Adopts #5146 after the contributor fork rejected a maintainer push with HTTP 403 despite allowing maintainer edits. Fixes #5145 Fixes #5227 Fixes #5256 Closes #5178 Closes #5146 Co-authored-by: Daniel JB Clark <djbclark@gmail.com>
|
🦞👀 ClawSweeper review completeClawSweeper finished reviewing this revision. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex review: passed. What this changesCorrect Google unclaimed-credit handling, suppress contradictory Copilot usage meters, update Doubao’s probe model, and document a community balance plugin. Example: Google returns an unclaimed $100 grant as [["USD",100],null,"",5,2].
Review scores
The scores reflect the reviewer's assessment. Real behavior proof is not required for maintainer- or bot-authored pull requests. ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR repairs three documented provider failures still present on main, and the pinned diff has no actionable correctness or security findings. Reviewed head: Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherProvider fetchers and the bundled Google plugin turn authenticated API responses into shared usage snapshots consumed by the menu card and CLI. flowchart LR
A[Existing provider credentials] --> B[Provider fetchers and Google plugin]
C[Provider API responses] --> B
B --> D[Response validation and mapping]
D --> E[Shared usage snapshot]
E --> F[Menu card and CLI]
Technical reviewBest possible solution: Land these focused response-handling repairs while retaining the existing account selection, allowance settings, and separate community-plugin boundary. Do we have a high-confidence way to reproduce the issue? The linked reports provide concrete failing responses and affected 0.85.0 behavior, and main’s parser, quota mapping, and retired probe list explain those failures without executing target code. Is this the best way to solve the issue? The changes repair the demonstrated inputs in existing production owners, preserve valid usage handling, and avoid adding billing credentials or another balance implementation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 44839248b5ba. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall readiness starts with the lower of the proof and patch scores. It is capped at 3/6 if the fix is partial, the change offers little benefit, a product decision is still open, or the PR reverses an earlier decision without saying why. ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed December 4, 2026, 7:25 PM ET / December 5, 2026, 00:25 UTC. |
Google Developer Program can return a granted credit with no remaining amount, Copilot can report positive overage alongside a full unused quota, and Doubao's individual probe models have been retired. This fixes those response-handling failures while retaining existing account and authentication selection.
ark-code-latestCoding Plan alias and remove the retired-model retry loop. The existing ambiguous-zero confirmation remains.Validation used synthetic transport fixtures and isolated test stores. The new regressions failed against main before the fixes: Google threw the unrecognized-response error, Copilot exposed a zero-credit bar, and Doubao returned UnsupportedModel. The installed 0.85.0 config had these providers disabled with no saved credentials, so no live account usage probe was run.
All heavy commands ran through the host build-slot wrapper. Catalog precheck and
git diff --checkare clean. Independent review found no actionable P0–P2 findings. The synthetic Copilot before/after captures were inspected and are retained locally for the maintainer; no proof artifacts are committed.Production diff against main: 5 files, +52/-42 lines (net +10). Tests: +45 lines under Tests and +18 under TestsPlugin. Changelog bullets are supplied to the maintainer separately for the current release wave.
Fixes #5145
Fixes #5227
Fixes #5256
Closes #5178
Closes #5146