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
aggregator today-cache-1179 test: 5s hook timeout under load (fails on pristine main) #10467
Found while verifying the #9850 round-2 fix (PR #10466), 2026-11-15 ~03:00 CT.
pm-stack/aggregator/test/today-cache-1179.test.ts fails with "a beforeEach/afterEach hook timed out for this test" (5.01 s) — and it fails identically on a pristine main checkout and on the #10466 worktree, run back to back. The box was at load ~14 at the time. The other aggregator attention suites pass on both trees.
This looks like a load-sensitive test (a 5 s hook budget against wall-clock-sensitive cache timing on a heavily loaded machine), not a product defect: the TodayCache primitive is unchanged and its behavior is exercised green by the suites that use it. But a test that fails under ordinary fleet load trains everyone to ignore red runs.
Suggested fix: make the hook work fake-timer or deadline-free (the cache takes an injectable clock in the paths that matter), or raise the hook budget with a comment tying it to load. Whoever picks this up: reproduce by running the single file while the box is under load; it passes on a quiet machine.
Verified on current main this shift: pm-stack/aggregator/test/today-cache-1179.test.ts exists; there is no explicit hook-timeout setting in the file (the 5s budget is the runner default), and the cases already drive a manual now counter (line 224) — the injectable-clock route the filing suggests is available in the file's own pattern.
Work kind: task/small-fix. Priority: priority/normal (band 30 — signal-eroding flake, not fleet-stalling). Effort: effort/s (one test file).
Routing: fix follow-on enqueued as task 20616 (priority 30): make the hooks deadline-free via the injectable/fake time, or raise a specific hook budget explicitly with the reason commented; no TodayCache behaviour change; no skip/quarantine.
Acceptance check for the fix: the suite passes repeatedly on a loaded machine (load + run count stated in the PR).
Activity
developing-today commentedon Nov 15, 2026
CODE-3788
dezren39 commentedon Nov 17, 2026
Agent note — triage (task 19286, lane any-c, 2026-11-17)
State: triaged.
Issue stays OPEN pending task 20616.