Description
Quota digest: degradedProviders summary excludes the new "lapsed" state (PR #7898 review finding)
Finding (from PR review)
On PR #7898 (fix(quota-plane): lapsed OpenCode Go workspace renders as lapsed, not error (#1161)), Copilot review comment 4508796605 (Copilot, 2026-11-09T01:59:25Z, pm-stack/aggregator/src/digest.ts:280):
The digest's
degradedProviderssummary excludes the new"lapsed"state, even thoughquotaPoolNote()now emits explicit lapsed messaging. This can cause a lapsed provider to be missing from any "degraded providers" section/summary derived fromdegradedProviders. Consider including"lapsed"in this filter (or explicitly deciding it should not be treated as degraded and documenting that choice) to keep digest-level summarization consistent with the new terminal state.
No-response evidence
- No replies in the comment thread; the review thread is unresolved (GraphQL
reviewThreadsverified 2026-11-10 by this run: the thread containing comment 4508796605 hasisResolved: false). - PR fix(quota-plane): lapsed OpenCode Go workspace renders as lapsed, not error (#1161) #7898 head is unchanged at
e572e55ce340e79f4d49cad0f4aebd7fea55dc7dsince the comment (last commit 2026-11-09T01:54:23Z, before the comment); no fix commit followed it. The finding is past the 24-hour grace period for open PRs (comment 2026-11-09T01:59:25Z). - Issue search (open and closed) by PR number, file path, and keywords (
degradedProviders lapsed digest,lapsed digest,7898) found no existing issue covering this finding.
Still-live evidence (current PR head)
Raw read at head e572e55ce3 agrees:
pm-stack/aggregator/src/digest.ts:276-282:degradedProvidersfilters pools only on state"error"or"stale"—"lapsed"is not included.- The same file's
quotaPoolNote()(line 348, 353-356) explicitly handles"lapsed"as a degraded state with its own messaging, and the quota section'sstaleflag (line 286) is derived fromdegradedProviders.length > 0— so a lapsed-only provider neither appears in the degraded summary nor marks the section stale.
Acceptance criteria
degradedProvidersin the quota digest includes pools in the"lapsed"state (or the exclusion is an explicit, documented decision recorded on this issue), so digest-level summarization is consistent withquotaPoolNote()'s lapsed messaging.- Resolving by a documented decision on this issue is also acceptable.
Filed by the pr-comment-review job (run 2026-11-09 23:54 CST) under the queue cutover: labels applied at filing, standard agent note posted after filing, and a repo-task/v1 triage packet (kind: triage, priority 30) enqueued on repo-health-code-pilot.
Activity
developing-today commentedon Nov 10, 2026
CODE-2403
dezren39 commentedon Nov 10, 2026
🤖 Agent note · filed
dezren39 commentedon Nov 10, 2026
🤖 Agent note · triaged
18 remaining items
fix(digest): admit lapsed in quota state types and feed validators (#…
dezren39 commentedon Nov 10, 2026
agent-note:v1 — state: parked (task 14586, lane code-y)
fix(digest): degradedProviders includes lapsed pools (#8124)
dezren39 commentedon Nov 11, 2026
state: in-progress (resumed, task 14586, lane code-l)
Gate cleared: PR #7898 merged 2026-11-10T21:21:06Z, so the lapsed state is now on main. PR #8181 rebased onto current main (a9c094d): the type/validator commit was already on main via #7898 and dropped as empty; the remaining diff is exactly the degradedProviders lapsed filter plus the lapsed-only digest test. Tests: bun test test/digest.test.ts - 13 pass, 0 fail, including the new lapsed-only test. Codex review failed on usage limits with no findings (no undispositioned findings). Merging PR #8181 under standing merge authority; PR basic checks remain QUEUED in the runner backlog, laptop-verified tests are the verification.
fix(digest): degradedProviders includes lapsed pools (#8124) (#8181)