Repository navigation
Description
Filed by the pool-quota-steward follow-through (Drew, 2026-11-03: "/program and board are both fucked up and something needs to watch them; it might as well be steward"). The steward now checks these surfaces every run and will refresh this issue with fresh observations; this filing carries the first evidence set.
Symptoms (laptop, aggregator on 127.0.0.1:4870, direct Bun server — no proxy in front)
GET /boardandGET /api/board.json: intermittent empty replies — the connection closes with no bytes after ~12.0s. Observed failing repeatedly on 2026-11-03 (morning through 13:1x CST); at 12:53 CST both returned 200 (59,918B / 9,841B) but took 5.1s; at ~13:12 CST both died again at 12.001s / 12.002s (curl exit 52, 0 bytes).GET /api/overview.jsonandGET /frag/overview: same failure family — empty reply at 12.000s (observed 13:09–13:12 CST). The Overview page shell (/) serves instantly, but its quota strip arrives via/frag/overview, so the front door shows the same breakage.GET /program: serves 200 fast (0.82s) but the HTML payload is 1,165,151 bytes — the slimming landed earlier (44.3MB → 716KB) has regressed by ~63%./api/program.jsonis 65,931B and fast.
Failure point (as far as identified)
- The dying routes share one assembly:
/api/overview.jsonisderiveOverview(await overviewContext())(src/server.ts:1522) and/frag/overviewuses the sameoverviewContext();/board+/api/board.jsonrender the board facet of the same context family. Quota-only routes (/api/quota.json,/quota) answer in ~0.03s, so the quota path is NOT the slow part. - The cutoff is suspiciously exact (~12.000s, connection closed, zero bytes): the handlers produce no bytes while assembling, and something in the serving path gives up at ~12s.
Bun.serveis configured with no explicit idleTimeout (src/server.ts:1928). Whether the 12s is Bun's idle window or a client-visible sum of awaited sub-timeouts (the projector facet at 127.0.0.1:7801 has an 8s timeout; projects.ts uses 20s; supabase.ts 60s), the assembly intermittently exceeds it — at 5.1s on a good run, >12s on a bad one — and the failure mode is silent (empty reply, nothing in the response to diagnose with). - Latency variance suggests cache/load dependence in the facet assembly; the steward's hourly checks will show the failure cadence.
What is NOT being asked here
No rebuild in this issue: the steward WATCHES and reports (state + latency + bytes for /program, /api/program.json, /board, /api/board.json every run, recorded in its report; broken state named in its delivery). This issue is the evidence home. Related: #1503 (shell pages must surface stalled fragments — adjacent, about fragment UX rather than the assembly latency itself).
Acceptance shape (for whoever picks it up)
/board, /api/board.json, /api/overview.json and /frag/overview answer 200 with content across repeated probes, including cold ones; /program HTML payload back near its post-slimming size; a slow assembly degrades to a visible stale/error state instead of an empty reply.
Acceptance criteria
- Repeated probes (including cold starts) of /board, /api/board.json, /api/overview.json and /frag/overview return 200 with content — no empty replies at the ~12s cutoff.
- /program HTML payload is back near its post-slimming size (~716 KB), with the regression source identified.
- A slow facet assembly degrades to a visible stale/error state instead of an empty reply.
- The steward's surface checks record a sustained run of healthy observations for these routes.
Activity
dezren39 commentedon Nov 4, 2026
Pool-quota steward, 139th run (2026-11-04) — the intermittent empty-reply failure REPRODUCED this run, twice, on independent probes (all laptop aggregator, localhost:4870):
Pattern matches this issue exactly: the shared overview/board assembly intermittently dies with empty replies at ~12s. Note: an earlier probe result in the same steward run reported all surfaces healthy — the failure is flapping within minutes, so single healthy probes do not clear it. Steward is watch-and-surface only per its instruction; no aggregator repair attempted. Separately, /program HTML remains ~1.167 MB.
dezren39 commentedon Nov 4, 2026
Steward refresh — 2026-11-04 daily pass (141st run, ~06:19Z, laptop localhost:4870): the empty-reply failure mode REPRODUCED on all four board/overview-assembly surfaces in one probe batch — /board 000 (no answer within the 25s probe cap, 0 B), /api/board.json 000, /frag/overview 000, /api/overview.json 000. In the same batch: /program 200 @ 3.16s (1,167,043 B — the ~1.167 MB HTML size concern stands), /api/program.json 200 @ 0.11s (64,896 B), and every quota surface answered 200 (/ 4.98s, /quota 5.02s, /today 3.77s, /aa 2.24s, /quota/service/turso 5.13s, /api/quota.json 5.08s 51,808 B). This matches the intermittent pattern recorded 2026-11-04T03:28–03:34Z: the shared board/overview assembly dies while program and quota surfaces stay up. Steward is watch-and-surface only; no repair attempted.
dezren39 commentedon Nov 4, 2026
Steward addendum to the 141st-run refresh above (comment 6624171213): a second probe batch from the same run (~06:2xZ, laptop localhost:4870) returned a DIFFERENT failure mix, and a steward re-probe at ~07:05Z found everything healthy — the surfaces are flapping within minutes, exactly this issue's intermittent mode. Batch 2: /program 000 @ 12.00s (0 B — the empty-reply death reached /program itself this time), /board 000 @ 12.00s, /api/board.json 000 @ 12.00s, /api/program.json 200 but slow @ 8.06s (61,773 B), /frag/overview 200 slow @ 9.76s, /api/overview.json 200 @ 5.03s; quota surfaces all fast 200 in that batch. Re-probe ~07:05Z: /program 200 @ 1.90s (1,166,369 B), /board 200 @ 5.18s, /api/board.json 200 @ 5.03s, /frag/overview 200 @ 5.33s, /api/overview.json 200 @ 5.04s. Combined picture for the run: batch 1 = board assembly four surfaces dead, program up; batch 2 = program + board + board.json dead, overview fragments up slow; re-probe = all up, board assembly ~5s. Watch-and-surface only; no repair attempted.
dezren39 commentedon Nov 4, 2026
🤖 Agent note · handed off
dezren39 commentedon Nov 4, 2026
agent-note:v1
{"kind":"handoff","task":9456,"lane":"code-v","execution_lane":"opencode","state":"parked","note":"task 9456 (triage) handed off to opencode claimant by lane code-v. Fresh revalidation: issue #5082 OPEN, no hard-stop labels, no prior task progress — claimant triages the pm-stack aggregator empty-reply deaths (/board, /api/board.json, /api/overview.json, /frag/overview at ~12s) from scratch."}
264 remaining items
developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix):
developing-today-fleet commentedon Nov 29, 2026
Progress — Felix lane 0640-AH, 2026-11-29.
Re-probe (census note's first step), live laptop aggregator 2026-11-29 ~15:22–15:28Z: all four named routes answer 200 with content across repeated probes — /board 0.060–0.125 s (1,370,304–1,370,463 B), /api/board.json 0.009 s (711,415 B), /api/overview.json 0.025–0.027 s (~5.3 KB), /frag/overview 0.013 s (7,208 B). /program: 169,755 B on five consecutive hits (0.02–0.05 s) — back under the post-slimming size; one single earlier hit at 1,367,153 B was observed once and did not reproduce (possibly a stale generation served across a restart; not chased). /api/quota.json took 1.91 s on one pass. The ~12 s empty-reply deaths do not reproduce warm today. Cold-request behaviour is the #10383 disk-last-good mechanism (closed).
Slice landed — PR #16838: the failure family's most recent reproduction was not the board/overview routes but the quota pair (steward runs 444/449/450/453, 2026-11-17: /api/quota.json + /quota stalling past 25 s, zero bytes — the observation this issue was reopened on). Those two routes were the only dashboard assemblies still outside
BOUNDED_DASHBOARD_PATHS: /quota's per-facet.catchcannot fire on a read that never settles, and /api/quota.json awaits its facets with no catch at all. PR #16838 adds both to the bounded set (marked-stale last good or a 503 with a body, never an empty reply) with the assembly-deadline tests extended to cover them. Verification run 46279018709 dispatched on the branch; verdict will be recorded here from the job log.Issue stays open: the steward's standing watch continues, and a cold-probe series across a restart remains the one acceptance leg only time can produce.
Merge pull request #16838 from developing-today/felix/5082-bound-quot…
developing-today-fleet commentedon Nov 29, 2026
Verification — Felix lane 0640-AH, 2026-11-29. PR #16838 verified via the repo-native workflow: pm-aggregator-tests run 46279874269 on branch
felix/5082-bound-quota-routes— step "Run aggregator tests": success (the full aggregator suite, including the extendedtest/assembly-deadline.test.tscoverage for /quota and /api/quota.json). The run's only failure is the Typecheck step:tsconfig.json(6,5): error TS5102— the pre-existing #16835 breakage (TypeScript 7 removedbaseUrl), on a file this PR does not touch; lane 0640-AG holds that fix. The fleet-command run 46279018709 dispatched earlier remains queued in the executor backlog and is now redundant; it was left alone per the session model (runs stay open by design).PR #16838 is ready for Felix's merge. This closes the slice: the quota pair now degrades to marked-stale/503-with-body instead of an empty reply when its assembly stalls. The issue itself stays open for the steward's standing watch and the cold-probe leg named in my progress note.
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Gaps found: label set was nearly empty — no kind/, no status/, no effort/, no app/ (only priority/high, task/triage and epic/parent markers). Acceptance existed only as a prose "Acceptance shape" paragraph, not checkable criteria.
Strengths: strong evidence body — symptoms with timestamps and byte counts, the shared assembly failure point identified in source (overviewContext() family), the ~12.000s cutoff characterised, and what is NOT being asked (no rebuild; the steward watches) stated plainly. Related work linked (#1503).
Actions: added labels kind/bug, status/needs-triage, effort/m, app/pm-stack; appended a
## Acceptance criteriasection derived from the body's own acceptance shape (original text untouched). Priority unchanged (high — user-facing board/overview surfaces failing outright justifies it).developing-today-fleet commentedon Nov 29, 2026
Progress — oc-code-06, 2026-11-29. Rechecked the acceptance criteria before cutting another slice. Code evidence on current
origin/main:assembly-deadline.tsbounds/board,/api/board.json,/api/overview.json,/frag/overview, and/program;test/assembly-deadline.test.tscovers visible timeout responses, stale last-good responses, late assemblies, and cold disk-cache behavior. PR #16838 is merged and independently recorded as verified. Fresh warm localhost probes at 18:41Z all returned 200 with content:/board0.57s/1,732,066B;/api/board.json0.59s/724,943B;/api/overview.json0.66s/25,855B;/frag/overview0.59s/29,784B;/program0.73s/350,555B (under the ~716KB target). No remaining failing criterion or test-first slice is evidenced, so I made no duplicate code change/PR. Remaining acceptance is sustained healthy observations including a cold/restart probe; keep this issue open for steward evidence and resume only if that probe regresses.developing-today-fleet commentedon Nov 29, 2026
🤖 Lane 0640-V (Felix) — draw disposition.
fleet agent nexthanded me #5082 after the refill. Premise check: the code work is done and verified today — PR #16838 (assembly-deadline bounds on all named routes) merged, independently verified by lane 0640-AH with live re-probes (all routes 200 with content, /program 169,755 B, under the post-slimming size), and oc-code-06 rechecked every criterion at 18:41Z finding no failing criterion or test-first slice left. The sole remainder is the sustained-healthy-observations criterion, which is steward-watch evidence over time (incl. a cold/restart probe) — not a slice a lane can cut without duplicating 0640-AH/oc-code-06 or touching the live aggregator. No work taken; returning the draw.developing-today-fleet commentedon Nov 30, 2026
🤖 Agent note · premise re-check — Lane 0322-AC (delta PRESS refill, 2026-11-30).
Claim-scan completed live (two consecutive
gh api rate_limitrc=0 probes, then issue + all 165 comments read, newest first): no live claim. The staging chain (0152-F → 0307-N → 0307-AL → 0322-M) never claimed this issue; Felix lane 0640-AH's 2026-11-29 claim ran tostate=verifiedand lane 0640-V stood down at 2026-11-29T19:29:53Z — that claim is complete, not live.Premise re-verification against current main — the staged implementation remainder no longer exists:
pm-stack/aggregator/src/assembly-deadline.tson current main (blob sha 860fb6af1619f52a1fae4bbcaf4067fdb77df7a5, read live this lane) —BOUNDED_DASHBOARD_PATHSalready includes/board,/api/board.json,/api/overview.json,/frag/overview,/program,/api/program.json,/quota, and/api/quota.json. The board/overview assembly-deadline bounding staged in 0307-N's recovery sequence is already landed (PR fix(aggregator): bound /quota and /api/quota.json with the assembly deadline (#5082) #16838 family + earlier slices; oc-code-06 rechecked every criterion at 2026-11-29T18:41Z and found no failing criterion or test-first slice left).Disposition: no duplicate code slice taken by this lane. The sole remaining acceptance criterion is the sustained healthy-observation run (including a cold/restart probe), which is steward-watch evidence over time — operational, not a lane-authorable code change. Issue stays open for that watch, per 0640-V / oc-code-06. Future author lanes should not re-stage the bounding implementation unless a fresh steward probe reproduces an empty-reply death on a bounded route.
Key: 0322-AC
dezren39 commentedon Nov 30, 2026
agent-note:v1
lane: 0212-BO (xaltha, 2026-11-30)
state: closing — work verified landed, no recurrence in 20 days
Premise re-check firsthand via the API today:
Closing as completed. If the empty-reply symptom recurs, reopen with the fresh steward observation and this note as the baseline.
probe: mirror #5082 fixture richness (scratch)