You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pool-quota-steward: laptop transport failure reported as quota file missing — read needs one retry and a distinct transport verdict #10816
area/infraInfrastructure, deployment, and operationskind/bugSomething isn't working (prefixed form of the classic bug label)status:donework/assignedQueue worker lifecycle state
Evidence 2026-11-16: the 09:17 pool-quota-steward run failed reporting quota-current.json missing and a failed live API probe. The file was never missing on the laptop:
quota-gatherer.service ticks all morning finished successfully and wrote the file at 09:16:14, 09:24:13, 09:29:56 and 09:31:28 CST (journal, pm-aggregator-gather-quota).
The writer is atomic: writeFile(tmp) + rename(tmp, path) (gather-quota.ts:190-191 in the deployed pm-aggregator) — the destination path never goes absent.
The 09:20 usage-quota run read the same file fine in the same window (09:15 generation), and direct reads at 09:00 and 09:32 CST succeeded.
pm-aggregator.service itself never restarted (up since 05:37:49 CST).
Both steward checks travel the sandbox→laptop path (laptop-ssh / laptop-agent), which was visibly degraded all morning (30–90s stalls, double-delivered commands, one exec lost to a runtime restart). The steward collapsed a transport failure into a 'file missing' verdict and aborted the run (no ledger event that hour).
Ask: in the steward (and any job reading laptop state the same way), retry a failed quota-file read once after a short pause, and report transport failure distinctly from a genuinely missing/unparseable file — the two need different responses (wait/retry vs gatherer investigation).
checker task 17536 pickup (worker repo-worker-code, lane any-o): proof does not hold (OPEN, no PR). Ownership check: the retry-once + distinct transport-verdict fix already exists as uncommitted work on local branch fix/10816-quota-read-retry-transport-verdict in the primary clone (pm-stack/aggregator/src/quota-current.ts, sources/live.ts), likely owned by fix session ses_e5e1aad43bbffehP7vWTMaRAR1. Parking checker to avoid a competing PR — resume when that fix lands as a merged PR or the branch is released.
Pickup by repo-worker-code (lane any-n, openchamber scheduled lane). Revalidated: issue OPEN, no open/merged fix PR, no live queue carrier. The fix-session WIP (retry-once + distinct transport verdict in pm-stack/aggregator) survived the server restart as stash@{0} (10816-wip, 3 files, 259 insertions). Salvaging into a dedicated worktree to continue the fix — not a competing PR, no live PR exists.
Parked: salvage aborted — the owner reclaimed the 10816-wip stash between my inspection and apply (stash stack shifted; my apply caught an unrelated preserve-primary-dirt entry and was fully reverted, salvage worktree left clean). No competing PR opened by this lane. Resume when a fix PR for the retry-once + transport-verdict change appears, or when the owner session confirms state.
Done via PR #10842 (squash-merged 2026-11-16T17:57:14Z, gh-verified MERGED):
pm-stack/aggregator/src/quota-current.ts: new readQuotaCurrentFile — retries a failed read once after 250ms; verdict missing only on double ENOENT, transport on other read failures, unparseable on bad bytes.
pm-stack/aggregator/src/sources/live.ts: tursoOverlay, overlayCurrent, and quota() use it; transport/unparseable emit console.error warnings and (in quota()) distinct provenance text.
test/quota-current.test.ts: 8 new retry/verdict tests.
Verification: quota-current suite 73 pass (65 existing + 8 new); tsc clean; quota/usage suites 97 pass with 1 pre-existing server-boot hook timeout (quota-contract.test.ts, fails standalone in this env too — same family as the clean-tree baseline timeouts, fixtures-mode boot never touches the changed code).
Claimed the left-on-ground checker for this issue to verify the fix proof: expecting merged PR with retry-once + distinct transport-failure verdict in the steward laptop-state read, plus this issue CLOSED.
Both acceptance criteria hold (merged PR proof + issue closed). Checker task 17536 completes DONE per its self-closing rule; never re-queue. Clearing checker-owned in-flight labels (queue/claimed, status/in-progress, queue/parked, status/parked); leaving work/assigned + status:done for the fix session/sweep to reconcile.
area/infraInfrastructure, deployment, and operationskind/bugSomething isn't working (prefixed form of the classic bug label)status:donework/assignedQueue worker lifecycle state
Activity
developing-today commentedon Nov 16, 2026
CODE-3908
dezren39 commentedon Nov 16, 2026
checker task 17536 pickup (worker repo-worker-code, lane any-o): proof does not hold (OPEN, no PR). Ownership check: the retry-once + distinct transport-verdict fix already exists as uncommitted work on local branch fix/10816-quota-read-retry-transport-verdict in the primary clone (pm-stack/aggregator/src/quota-current.ts, sources/live.ts), likely owned by fix session ses_e5e1aad43bbffehP7vWTMaRAR1. Parking checker to avoid a competing PR — resume when that fix lands as a merged PR or the branch is released.
dezren39 commentedon Nov 16, 2026
Pickup by repo-worker-code (lane any-n, openchamber scheduled lane). Revalidated: issue OPEN, no open/merged fix PR, no live queue carrier. The fix-session WIP (retry-once + distinct transport verdict in pm-stack/aggregator) survived the server restart as
stash@{0}(10816-wip, 3 files, 259 insertions). Salvaging into a dedicated worktree to continue the fix — not a competing PR, no live PR exists.1 remaining item
dezren39 commentedon Nov 16, 2026
Parked: salvage aborted — the owner reclaimed the
10816-wipstash between my inspection and apply (stash stack shifted; my apply caught an unrelatedpreserve-primary-dirtentry and was fully reverted, salvage worktree left clean). No competing PR opened by this lane. Resume when a fix PR for the retry-once + transport-verdict change appears, or when the owner session confirms state.quota-current: retry failed read once, report transport distinctly (#…
dezren39 commentedon Nov 16, 2026
Done via PR #10842 (squash-merged 2026-11-16T17:57:14Z, gh-verified MERGED):
Verification: quota-current suite 73 pass (65 existing + 8 new); tsc clean; quota/usage suites 97 pass with 1 pre-existing server-boot hook timeout (quota-contract.test.ts, fails standalone in this env too — same family as the clean-tree baseline timeouts, fixtures-mode boot never touches the changed code).
dezren39 commentedon Nov 16, 2026
🤖 Agent note · picked-up (checker task 17536)
Claimed the left-on-ground checker for this issue to verify the fix proof: expecting merged PR with retry-once + distinct transport-failure verdict in the steward laptop-state read, plus this issue CLOSED.
dezren39 commentedon Nov 16, 2026
🤖 Agent note · done (checker task 17536)
Proof verified fresh via gh read-back:
Both acceptance criteria hold (merged PR proof + issue closed). Checker task 17536 completes DONE per its self-closing rule; never re-queue. Clearing checker-owned in-flight labels (queue/claimed, status/in-progress, queue/parked, status/parked); leaving work/assigned + status:done for the fix session/sweep to reconcile.