GeezerVison is showing github.com — pm-stack(aggregator): /board, /api/board.json, /api/overview.json + /frag/overview die with empty replies at ~12s; /program HTML regrown to 1.16MB · Issue #5082 · developing-today/code
pm-stack(aggregator): /board, /api/board.json, /api/overview.json + /frag/overview die with empty replies at ~12s; /program HTML regrown to 1.16MB #5082DescriptionFiled 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 /board and GET /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.json and GET /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.json is 65,931B and fast.
Failure point (as far as identified)
- The dying routes share one assembly:
/api/overview.json is deriveOverview(await overviewContext()) (src/server.ts:1522) and /frag/overview uses the same overviewContext(); /board + /api/board.json render 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.serve is 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. Activitydezren39 commented on 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):
- Full-surface batch probe (~03:28Z): /program 000 after 12.002s (0 B), /board 000 after 12.008s (0 B), /api/board.json 000 after 12.005s (0 B), /frag/overview 000 after 12.009s (0 B), /api/overview.json 000 after 12.008s (0 B) — all five board/overview-assembly surfaces dead simultaneously at the ~12s mark, while /api/quota.json (200, 0.20s), / (200), /quota (200), /today (200), /aa (200) and /quota/service/turso (200) answered normally in the same batch. /api/program.json answered but slowly (200, 8.12s, 64,896 B).
- Independent re-probe (03:34Z): /api/board.json 000 after 12.011s (0 B) while /program (200, 1.63s, 1,167,098 B), /api/program.json (200, 0.11s), /board (200, 5.17s, 60,287 B), /frag/overview (200, 9.74s — slow) and /api/overview.json (200, 5.06s) answered.
- Immediate follow-up (03:34Z): /api/board.json answered 200 twice at ~5.1s (9,841 B) — confirming intermittency, not a hard outage.
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 commented on 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 commented on 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 commented on Nov 4, 2026 🤖 Agent note · handed off
dezren39 commented on 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."} dezren39 commented on Nov 17, 2026 Pool quota steward refresh — 2026-11-17T06:53Z (449th run, daily pass): quota assembly stall RECURRED.
Two surface passes against the laptop aggregator (localhost:4870) this run:
- Pass 1 (~06:47Z):
/api/quota.json 200 in 17.86s (104,289 B); /quota 200 in 19.68s (122,517 B). All other surfaces fast and healthy (/program 200 3.08s 1,035,671 B; /board 200 0.83s 516,957 B; /api/board.json, /api/program.json, /api/overview.json, /frag/overview, /, /today, /aa all 200, sub-second to ~0.9s).
- Pass 2 (~06:55Z):
/api/quota.json 000 — no answer within 25s (0 B); /quota 000 — no answer within 25s (0 B). Every other surface again fast and healthy (/program 200 1.68s 1,038,412 B; /board 200 1.32s 516,871 B; board/overview/program JSON all 200 sub-second).
So the quota-assembly path (the /api/quota.json + /quota pair only) degraded from ~18–20s to a full timeout between passes, while the board/overview assembly stayed healthy this time. The underlying read was FRESH and fine: quota-gatherer tick @2026-11-17T06:45:10Z completed (providers=27 ok=19, heartbeat ok), and the pass-1 page payload matched the fresh read pool-for-pool, 21/21 on percentages. This is the aggregator quota-assembly stall pattern again, not a gatherer or read problem.
Watch-and-surface only per the steward's step-6 duty; repair of the aggregator path is not the steward's job. Previous refresh: 2026-11-17T01:31Z run (stall after several clean days). dezren39 commented on Nov 17, 2026 Pool quota steward 450th run observation (2026-11-17 ~09:12–09:21Z): the quota assembly stall has recurred for a second consecutive run.
- Pass 1 (~09:12Z):
/api/quota.json 000 (no answer in 20.00s, 0 B), /quota 000 (20.00s, 0 B). All other surfaces served: /api/program.json 200 in 1.91s (74,393 B), /program 200 in 10.10s (1,049,317 B), /board 200 in 1.13s, /api/board.json 200 in 0.07s, /api/overview.json 200, /frag/overview 200, / 200, /today 200, /aa 200.
- Pass 2 (~09:20Z):
/api/quota.json 000 (25.00s, 0 B), /quota 000 (25.00s, 0 B); everything else 200 again (/program 5.20s, /board 4.31s).
The underlying read is fresh and healthy — quota-current.json generatedAt 2026-11-17T09:08:12Z, heartbeat ok, gatherer tick completed (93.8s) — so the stall is in the quota page assembly only, the same signature as the 449th run's refresh. Because /api/quota.json never answered, the steward's page-vs-read comparison could not be performed this run. Steward is watch-and-surface only on this issue. dezren39 commented on Nov 17, 2026 Steward observation — 453rd pool-quota run, 2026-11-17T11:28–11:38Z (05:28–05:38 CST):
/api/quota.json SLOW / intermittently unresponsive this run, aggregator broadly elevated:
- Standalone body fetch of http://localhost:4870/api/quota.json timed out at 25s (curl exit 28, empty body) TWICE in a row (batch A ~11:29Z, batch B ~11:31Z) — no answer within ~20s on both attempts.
- Third attempt (batch C, ~11:32Z) succeeded fast and the full body (103,894 B) compared clean: 21/21 rendered pools, 30/30 window percentages identical to the source read (quota-current.json @2026-11-17T11:30:14Z, source opencode-quota), freshness matching pool-for-pool.
- Surface probes (HEAD-style, both passes) all returned HTTP 200 non-empty, but latencies were broadly elevated vs the prior run (all ≤6.3s then): pass 1 — /program 16.61s (1,048,862 B), /board 13.45s (558,999 B), /frag/overview 15.43s, /aa 10.84s, /api/quota.json 4.71s; pass 2 — /quota 19.05s (122,681 B), /api/quota.json 14.98s (104,265 B), /program 5.25s, /board 1.14s, /api/board.json 0.85s, /api/program.json 0.70s (26,050 B this pass vs 74,589 B in pass 1), /api/overview.json 0.71s.
- No surface returned non-200 or an empty body on the probe passes; the failure mode this run is latency / intermittent no-answer on /api/quota.json, in the same family as the standing pm-stack(aggregator): /board, /api/board.json, /api/overview.json + /frag/overview die with empty replies at ~12s; /program HTML regrown to 1.16MB #5082 overview/board assembly slowness. Laptop was heavily loaded during the window (laptop-agent load1 ~83 at run start; one later laptop-agent call timed out at 76s and succeeded on retry).
Watch-and-surface only (steward does not repair the aggregator path). Recorded in the pool-change ledger, 453rd run event (2026-11-17). dezren39 commented on Nov 24, 2026
Second-pass verdict (2026-11-24, task 21817, lane oc-code-06)
Status: PARTIALLY SATISFIED — still live, residual tracked elsewhere. No new packet enqueued (duplicate avoidance).
Fresh check 2026-11-24:
Routing: no new follow-on enqueued — #10383 is the actionable item. This second-pass completes without duplicating it. developing-today-fleet commented on Nov 27, 2026
Fresh revalidation: #5082 OPEN (task/triage), no comments since the 2026-11-24 second-pass verdict (task 21817), which stands — original board/overview slice bounded by closed #5664; residual cold-stall failure family tracked live in OPEN #10383 (active 2026-11-26). No new packet; duplicate avoidance holds. developing-today commented on Nov 27, 2026 ContributorAuthor More actions
Picked up by repo-worker-code — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while repo-worker-code posts progress markers; after 30 minutes of silence any other worker may pick this up.) developing-today commented on Nov 27, 2026 ContributorAuthor More actions
Completed by repo-worker-code (outcome: done). Triage revalidated: existing disposition remains current; #5082 stays an open umbrella tracker, and its existing note records the residual #10383. No duplicate triage note or packet.
Disposition: verdict merged_verified, checked_at 2026-11-27T02:22:36Z -- the record below passed the broker's offline disposition gate at completion time.
{
"checked_at": "2026-11-27T02:22:36Z",
"source": "fleet gh readback",
"issue": {
"number": 5082,
"state": "open",
"state_reason": "reopened",
"closed_at": null,
"closed_by": null
},
"pulls": [
{
"number": 7753,
"state": "merged",
"is_draft": false,
"merged_at": "2026-11-10T19:39:27Z"
},
{
"number": 8338,
"state": "merged",
"is_draft": false,
"merged_at": "2026-11-10T23:19:54Z"
},
{
"number": 9861,
"state": "merged",
"is_draft": false,
"merged_at": "2026-11-14T10:01:38Z"
}
],
"verdict": "merged_verified",
"follow_up": null
}
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|