GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(quota): surface standalone gatherer heartbeat by dezren39 · Pull Request #11998 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 19, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Summary

Closes the single remaining heartbeat-port scope of #1175, reconciled in issue comments 6850092428 and 6941249102. PR #4006 was superseded; existing quota UI and measurements are retained.

  • Configurable standalone heartbeat path beside quota-current.json by default.
  • Validate/sanitize heartbeat records and choose newest embedded/standalone tick.
  • Preserve failed tick evidence when current data is absent, malformed, or unreadable, without inventing measurements or successful provider readings.
  • Show escaped tick/error/duration and stale-history status in quota/usage views.

Verification

Exclusive broker task20835, worker repo-worker-code, lane code-aster; verified again before push. Independent diff review found no blocking issues. Red test captured missing parser export before implementation. Implementer: 165 tests pass plus typecheck. Independent checks after merging fresh main42efc2798e: 129 tests,526 assertions,0fail across heartbeat/current/gatherer/render/config; typecheck and diff check clean. No production probes, deployment, restart, or credential operations. Automatic PR checks are not required under .github/ci-policy.md; these are focused local results, not a full-suite claim.

Fixes #1175


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
repo-worker-tmp-code-b added 2 commits November 18, 2026 21:02
repo-worker-tmp-code-b
fix(quota): surface standalone gatherer heartbeat (#1175)
e740f47
repo-worker-tmp-code-b
Merge remote-tracking branch 'origin/main' into aster/1175-quota-hear…
d8c0f3d
…tbeat-20261119
@dezren39
dezren39 requested a review from a team as a code owner November 19, 2026 03:03
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T03:23:28.579701Z 69bf3bf Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4ab157c5-fae0-470c-a25a-ef7b143c8896
Commits

Reviewing files that changed from the base of the PR and between 813ffdb and 69bf3bf.

Files selected for processing: 7

  • pm-stack/aggregator/README.md
  • pm-stack/aggregator/src/config.ts
  • pm-stack/aggregator/src/model.ts
  • pm-stack/aggregator/src/quota-current.ts
  • pm-stack/aggregator/src/render.ts
  • pm-stack/aggregator/src/sources/live.ts
  • pm-stack/aggregator/test/quota-heartbeat-1175.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Nov 19, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d8c0f3d68a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread pm-stack/aggregator/src/quota-current.ts Outdated
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)} : {})};

@chatgpt-codex-connector chatgpt-codex-connector Bot Nov 19, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread pm-stack/aggregator/src/quota-current.ts
Comment on lines +178 to +179
return {...view, gatherer: summarize({version: 1, generatedAt: heartbeat.tickAt,
source: "standalone-heartbeat", heartbeat, providers: []}, now.getTime())};

@chatgpt-codex-connector chatgpt-codex-connector Bot Nov 19, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
repo-worker-tmp-code-b added 2 commits November 18, 2026 21:20
repo-worker-tmp-code-b
fix(quota): retain credential and base-pool error evidence
707c1b4
repo-worker-tmp-code-b
Merge remote-tracking branch 'origin/main' into aster/1175-quota-hear…
69bf3bf
…tbeat-20261119
@dezren39 ChatGPT Codex Connector

dezren39 commented Nov 19, 2026

Copy link
Copy Markdown
Member Author

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: 69bf3bf478

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 merged commit 96c6c34 into main Nov 19, 2026
1 check passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the aster/1175-quota-heartbeat-20261119 branch November 19, 2026 03:30
@developing-today-fleet developing-today-fleet Bot added the audit:complete PR fully implemented spawning issue label Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

audit:complete PR fully implemented spawning issue

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

feat(quota-plane): quota-plane status view on /quota — gatherer health + per-provider freshness

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.