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(aggregator): shell pools keep the read's dated windows on stale/error (#6942) by dezren39 · Pull Request #7067 · developing-today/code

Conversation

@dezren39

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

Uh oh!

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

Copy link
Copy Markdown
Member

Fixes #6942 (task 11449).

Problem

When the opendesign gatherer leg errors, the aggregator rendered the pool stale with empty windows and the shell pool's 'No dated read' note — dropping the read entry's own dated fallback windows (5h 0% / 7d 0% @18:15Z) and hiding the leg error. Opendesign is a shell pool: its base windows are [], and the stale/error path in applyEntry returned before any window copy; the retained entry carries no error field, and no overlay path consulted the heartbeat's perProvider error.

Change (pm-stack/aggregator/src/quota-current.ts only)

  • On the stale/error path, a pool with no windows of its own takes the entry's dated windows (adoptEntryWindows), percentages identical to the read; pools carrying their own dated windows are untouched — theirs still win, as pinned for spec pools.
  • The shell pool's 'No dated/current read' note is suppressed when the entry carries a dated read.
  • A retained entry whose gatherer leg errored (heartbeat perProvider, matched on providerId with serviceId fallback, sanitized via safeProviderReason) surfaces that leg error as the pool's freshness (state: "error" + error text) instead of stale — scoped to windowless pools, so the perf(quota-plane): parallel provider fetching + per-provider timeout budget for the 15-min tick #1268 retained-entry stale classification for spec pools is unchanged.

Tests

  • 4 new regression tests in test/quota-current.test.ts ("shell-pool stale/retained path (aggregator(quota): opendesign stale rendering drops the dated fallback windows — page shows no windows + 'No dated read' while the read carries 0/0 @18:15Z #6942)"): retained+leg-error renders error freshness with entry windows standing and note suppressed; retained without leg error stays stale with windows standing; aged ok shell entry surfaces stale with windows; spec pool with a leg error keeps perf(quota-plane): parallel provider fetching + per-provider timeout budget for the 15-min tick #1268 stale + base dated windows.
  • bun test test/quota-current.test.ts: 52/52 pass. Quota-adjacent suites (quota, quota-gather-map, quota-refresh, render, views) pass.
  • Full aggregator suite: 1558 pass / 21 fail — every failure reproduced on clean main (boot hook timeouts incl. quota-contract's 5s hook timeout, source-gate boot, digest-kind, epic-eta); unrelated to this change.

🤖 queue worker lane code-w, task 11449


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-code-k
fix(aggregator): shell pools keep the read dated windows on stale/err…
050e345
…or (#6942)

On the stale/error overlay path a pool with no windows of its own (a shell pool like opendesign, whose dated windows exist only in the quota read entry) now takes the entry dated windows with percentages identical to the read, and the shell No dated read note is suppressed when the read carries a dated read. A retained entry whose gatherer leg errored (heartbeat perProvider) surfaces that leg error as the pool freshness instead of stale, for windowless pools only: spec pools keep the #1268 stale classification and their base dated windows, as pinned. Four regression tests cover the shell-pool retained/stale paths and the spec-pool boundary.
@dezren39
dezren39 requested a review from a team as a code owner November 8, 2026 02:31
@coderabbitai

coderabbitai Bot commented Nov 8, 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 43 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: d556dea5-5b1f-4d29-a056-845be5600bec
Commits

Reviewing files that changed from the base of the PR and between d424302 and 691b6e6.

Files selected for processing: 3

  • pm-stack/aggregator/src/quota-current.ts
  • pm-stack/aggregator/src/quota-guidance.ts
  • pm-stack/aggregator/test/quota-current.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

chatgpt-codex-connector Bot commented Nov 8, 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-08T02:38:54.962628Z 691b6e6 New commits
ℹ️ 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.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Nov 8, 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: 050e345793

ℹ️ 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
if (pool.windows.length > 0) return;
const windows = pctWindows(entry);
if (windows.length === 0) return;
pool.windows = windows;

@chatgpt-codex-connector chatgpt-codex-connector Bot Nov 8, 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 Exclude stale adopted windows from model-choice recommendations

When a shell pool has retained or stale low-usage windows and another provider supplies a fresh read, adopting these windows also makes the failed pool eligible for model-choice guidance. overlayQuotaCurrent then calls computeChoices(allPools, nowMs), which ignores freshness and derives health solely from window percentages via poolState. Consequently, the retained OpenDesign 0% example is advertised under “Headroom for a new session” even while its card reports an error; before this change its empty windows excluded it. Preserve the fallback windows for display, but exclude stale/error pools from actionable recommendations.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

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

All reactions

@dezren39 dezren39 Nov 8, 2026

Copy link
Copy Markdown
Member Author

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.

Fixed in 691b6e6 — thank you, this was a real consequence of adopting the windows.

computeChoices (src/quota-guidance.ts) now skips any pool whose gatherer freshness is stale or error: last-known windows stand for display only and generate no actionable guidance (neither headroom nor do-not-start, which stale percentages could also have polluted). Pools with no freshness stamp (dated-view rows, the historic computeChoices inputs) are unchanged.

Regression test in test/quota-current.test.ts ("an errored shell pool with adopted windows is excluded from model-choice guidance"): the retained, leg-errored opendesign pool keeps its adopted windows for display, appears in none of hasHeadroom / burnBeforeReset / doNotStart, and a fresh meta read in the same overlay still lands in hasHeadroom. quota-current + quota + quota-gather-map + contract-collector suites pass (151 tests).

— queue worker lane code-w, task 11449

Sorry, something went wrong.

Uh oh!

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

All reactions
repo-worker-code-k
fix(aggregator): exclude stale/error pools from model-choice guidance (…
691b6e6
…#6942)

Codex finding on PR #7067: adopting a shell pool retained windows made the failed pool eligible for computeChoices, which derives health from window percentages alone — the retained OpenDesign 0% would be advertised as headroom while its card reports an error. computeChoices now skips pools whose gatherer freshness is stale or error; pools with no freshness stamp (dated-view rows) are unchanged. Regression test: errored shell pool with adopted windows appears in no guidance list while a fresh pool still guides.
@dezren39 dezren39 mentioned this pull request Nov 8, 2026
aggregator(quota): opendesign stale rendering drops the dated fallback windows — page shows no windows + 'No dated read' while the read carries 0/0 @18:15Z #6942
Closed
@dezren39

dezren39 commented Nov 8, 2026

Copy link
Copy Markdown
Member Author

CI evidence for issue #1780 (cancel-in-progress acceptance, item 2):

  • This PR's earlier scripts-test run 42438934350 (head 050e345, created 2026-11-08T02:31:51Z) shows conclusion cancelled, with updatedAt 2026-11-08T02:37:15Z — one second after the superseding scripts-test run 42439318986 for the new push (head 691b6e6) was created at 02:37:14Z in the same per-ref concurrency group.
  • scripts-test.yml on main carries the standard pattern: PR runs share a per-ref group with cancel-in-progress: true; push-to-main runs are keyed by run_id.

Recorded by queue worker lane code-x (task 11964) while closing out the last evidence-only acceptance items on issue #1780.

All reactions

Sorry, something went wrong.

Uh oh!

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

This was referenced Nov 8, 2026
ci: Phase 1 — cancel-in-progress across all four repos #1780
Closed
Unowned PR batch from branch disposition (2026-11-07) #7297
Open
@dezren39 dezren39 mentioned this pull request Nov 8, 2026
CI: hosted runner queue saturates repo-wide (~425 queued runs), so PR checks wait hours behind push and workflow_run traffic #2605
Closed
3 tasks done
@dezren39

dezren39 commented Nov 8, 2026

Copy link
Copy Markdown
Member Author

🤖 Agent note · parked (queue task 13348)

  • Agent: queue worker (repo-worker-code), OpenChamber scheduled lane 7b47536b-c162-444c-be8a-3a9538cc4cb5
  • Verified: PR is unowned and OPEN; branch is 278 commits behind main; required checks have been pending since 2026-11-08T02:37 (repo-wide runner saturation — CI: hosted runner queue saturates repo-wide (~425 queued runs), so PR checks wait hours behind push and workflow_run traffic #2605, 2,072 queued runs).
  • Disposition: parked 30 min; nothing pushed. Resume after the runner backlog clears: rebase on main, confirm the fix resolves aggregator(quota): opendesign stale rendering drops the dated fallback windows — page shows no windows + 'No dated read' while the read carries 0/0 @18:15Z #6942, then merge.
All reactions

Sorry, something went wrong.

Uh oh!

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

@dezren39 dezren39 added work/assigned Queue worker lifecycle state queue/claimed Queue worker lifecycle state status/in-progress Queue worker lifecycle state labels Nov 8, 2026
@developing-today

developing-today Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

🤖 Agent note · handed off

  • Agent: queue worker (repo-worker-code, lane code-g)
  • Session / ID: task 13348
  • Found via: queue claim
  • Task: Handed off to the opencode claimant per §1b: shepherd PR fix(aggregator): shell pools keep the read's dated windows on stale/error (#6942) #7067 (branch queue/11449-6942-shell-pool-windows, head 691b6e6, verified open, no hard-stop labels). Batch tracker issue Unowned PR batch from branch disposition (2026-11-07) #7297.
  • Expectation: claimant session drives task 13348 to a terminal state; if unbound by lease expiry the task returns to the queue.
  • Links: PR fix(aggregator): shell pools keep the read's dated windows on stale/error (#6942) #7067, issue Unowned PR batch from branch disposition (2026-11-07) #7297
All reactions

Sorry, something went wrong.

Uh oh!

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

@dezren39 dezren39 added queue/parked Queue task is parked (waiting on CI, time, or an event) status/parked Deliberately paused with a recorded resume condition and removed status/in-progress Queue worker lifecycle state queue/claimed Queue worker lifecycle state labels Nov 8, 2026
@developing-today

developing-today Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Agent note — task 13348 pickup / handoff (lane code-v)

  • Claimed task 13348 (pr_shepherd, PR fix(aggregator): shell pools keep the read's dated windows on stale/error (#6942) #7067, batch issue Unowned PR batch from branch disposition (2026-11-07) #7297); claim ownership verified by checkpoint; execution lane assigned: opencode.
  • Fresh revalidation via the developing.today app route: PR fix(aggregator): shell pools keep the read's dated windows on stale/error (#6942) #7067 OPEN — no held / user/owned / do-not-merge / do-not-auto-edit hard stop.
  • Handing off to the opencode claimant per runbook §1b; parking task 13348 for claimant launch.
All reactions

Sorry, something went wrong.

Uh oh!

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

@developing-today

developing-today Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Picked up by lane code-m as task 13348 (pr_shepherd, PR #7067) and handed off to the opencode execution lane. PR #7067 revalidated fresh: still OPEN, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit absent). The claimant launches the bound session; this lane does not work the task directly.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dezren39

dezren39 commented Nov 8, 2026

Copy link
Copy Markdown
Member Author

Picked up by lane code-x as task 13348 (pr_shepherd, PR #7067) and handed off to the opencode execution lane. PR #7067 revalidated fresh: still OPEN, head 691b6e6, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit absent). The claimant launches the bound session; this lane does not work the task directly.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dezren39 dezren39 added queue/claimed Queue worker lifecycle state status/in-progress Queue worker lifecycle state and removed status/parked Deliberately paused with a recorded resume condition queue/parked Queue task is parked (waiting on CI, time, or an event) labels Nov 9, 2026
@dezren39

dezren39 commented Nov 9, 2026

Copy link
Copy Markdown
Member Author

agent-note:v1
task 13348 (pr_shepherd, lane code-n) - handed off to opencode claimant.
PR #7067 revalidated fresh this shift: OPEN, not draft, no held/user/owned/do-not-merge/do-not-auto-edit labels. Parent issue #7297 is OPEN. Attempts 4/4 at cap noted. Execution lane assigned: opencode; claimant launches the bound session. This worker did not work the PR directly per the lane-assignment protocol.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dezren39 dezren39 removed status/in-progress Queue worker lifecycle state queue/claimed Queue worker lifecycle state labels Nov 9, 2026
@dezren39 dezren39 added queue/parked Queue task is parked (waiting on CI, time, or an event) status/parked Deliberately paused with a recorded resume condition labels Nov 9, 2026
@developing-today

developing-today Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

🤖 Agent note · handed off

  • Agent: repo queue worker, lane code-g (repo-worker-code)
  • Session / ID: cron repo-queue-worker-shift-g run 2026-11-08 18:23 CST; task 13348
  • Found via: claimed task 13348 this shift; execution-lane assignment returned opencode
  • Task: Claimed task 13348 (pr_shepherd) for PR fix(aggregator): shell pools keep the read's dated windows on stale/error (#6942) #7067 (attempt 4/4, batch issue Unowned PR batch from branch disposition (2026-11-07) #7297). Fresh check: PR fix(aggregator): shell pools keep the read's dated windows on stale/error (#6942) #7067 is OPEN, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit). Handed off to the opencode claimant — the claimant launches the bound opencode session; this lane does not work it directly. Task 13348 parked 1200s in the same pass.
  • Expectation: claimant session drives task 13348 to a terminal state.
  • Links: task 13348 · PR fix(aggregator): shell pools keep the read's dated windows on stale/error (#6942) #7067 · issue Unowned PR batch from branch disposition (2026-11-07) #7297
All reactions

Sorry, something went wrong.

Uh oh!

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

@developing-today

developing-today Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

agent-note:v1
lane: code-x
task: 13348
stage: handed_off
Execution lane: opencode. Handed off to the laptop claimant for PR #7067. Fresh 2026-11-09 via App API: PR #7067 OPEN @691b6e67, labels status/parked queue/parked work/assigned, no hard-stop labels. Parked task 13348 1200s per handoff protocol.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dezren39
dezren39 merged commit 1a70da6 into main Nov 10, 2026
2 of 4 checks passed

Uh oh!

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

@dezren39
dezren39 deleted the queue/11449-6942-shell-pool-windows branch November 10, 2026 00:36
@dezren39 dezren39 removed status/parked Deliberately paused with a recorded resume condition queue/parked Queue task is parked (waiting on CI, time, or an event) work/assigned Queue worker lifecycle state labels Nov 10, 2026
@dezren39 dezren39 mentioned this pull request Nov 11, 2026
Queue/lane design rules: no by-id blocking by default, optional platform selector, triage separate from fixes #8097
Closed
@dezren39 dezren39 mentioned this pull request Nov 21, 2026
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
@dezren39 dezren39 added the audit:complete PR fully implemented spawning issue label Nov 24, 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.

aggregator(quota): opendesign stale rendering drops the dated fallback windows — page shows no windows + 'No dated read' while the read carries 0/0 @18:15Z

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.