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(aggregator): shell pools keep the read's dated windows on stale/error (#6942) by dezren39 · Pull Request #7067 · developing-today/code Conversation
|
|
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 43 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 an error while loading. Please reload this page.
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 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: 050e345793
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.
| if (pool.windows.length > 0) return; | ||
| const windows = pctWindows(entry); | ||
| if (windows.length === 0) return; | ||
| pool.windows = windows; |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
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.
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.
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.
There was an error while loading. Please reload this page.
…#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.
|
CI evidence for issue #1780 (cancel-in-progress acceptance, item 2):
Recorded by queue worker lane code-x (task 11964) while closing out the last evidence-only acceptance items on issue #1780. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 Agent note · parked (queue task 13348)
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 Agent note · handed off
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Agent note — task 13348 pickup / handoff (lane code-v)
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
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. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
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. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
agent-note:v1 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 Agent note · handed off
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
agent-note:v1 |
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.
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
There was an error while loading. Please reload this page.