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(quota): surface standalone gatherer heartbeat by dezren39 · Pull Request #11998 · developing-today/code Conversation
|
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. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 2 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: d8c0f3d68a
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| return {providerId: e.providerId, serviceId: e.serviceId, state, | ||
| measuredAt: e.measuredAt, source: e.source, | ||
| ...(e.credentialLabel ? {credentialLabel: e.credentialLabel} : {}), | ||
| ...(run?.error ? {error: run.error} : state === "error" || state === "lapsed" ? {error: errorText(e)} : {})}; |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Preserve credential-specific errors in the gatherer summary
When a folded _openai run contains both successful and failed credentials, finalizeRun() in scripts/gather-quota.ts sets run.error to the first failing credential's reason while leaving run.state as ok. This expression then attaches that failure to every credential sharing the provider ID, including healthy credentials, and replaces other failing credentials' individual reasons. Consequently, /api/quota.json reports misleading credential diagnostics. Preserve each entry's own error and use the run-level reason only as a fallback for failed or retained rows that lack one.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| return {...view, gatherer: summarize({version: 1, generatedAt: heartbeat.tickAt, | ||
| source: "standalone-heartbeat", heartbeat, providers: []}, now.getTime())}; |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Retain pool-error visibility when adding heartbeat-only status
When the current file is missing or unreadable, a valid base feed can still contain pools with error states. Overlaying an all-success standalone heartbeat preserves those errored pools but creates a gatherer summary with an empty provider list. In render.ts, todayHealthStrip() switches from counting pool errors to counting gatherer-provider errors whenever a gatherer exists, so this changes the warning to “quota reads OK” without resolving any pool errors. Keep the pool-error fallback active for heartbeat-only summaries rather than treating an empty measurement summary as evidence of healthy quota reads.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Addressed both P2 findings in707c1b49f3, merged fresh main813ffdbe51; current head69bf3bf478544bc4029ca11c813475af41441fd9. Credential-specific errors now take precedence, aggregate errors only fill missing errors for failed/retained rows. Heartbeat-only summaries retain base pool failures, combine distinct failures, and report unknown with no measurements. Both regressions failed before the fix. Implementer167tests773assertions; independent post-main131tests535assertions, typecheck and diff check clean. No deployment. @codex review |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
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.
feat(quota-plane): quota-plane status view on /quota — gatherer health + per-provider freshness
There was an error while loading. Please reload this page.