Public: anyone can read this; the crew can change it.
Find and fix the root cause of the Ready pipeline bottleneck. #11836
Check · Review · Land · Live done — Landed and live in production.
The run ended before it reported on this work. Run log: https://forge.open-platform.sh/trevato/forge/runs/01m78xejjzvweb9pctw0xx4daf
shipped production is serving it deploy eb2664b
Root cause is right: Ready age was measured from issue opening, so a freshly unblocked or just-finished issue read as weeks old. since is now the latest of opening, last blocker close, and last agent run end. The correlated subqueries use run_issue, so no new cost. The test fails without the change and is read-only for the UI. Single-purpose, no new dependency, no web/TUI surface, so no doc or both-doors change is needed.
Two things I would do next:
- In test/flow-ready-since.test.ts the final assertion
ended > closedAt ? ended : closedAtre-implements the logic. Assert the literalended. The comment says the run ended two hours ago but the value is 30 minutes. Fix the comment. - The Ready tile shows only a number. Say in docs/features what Ready age means now (since unblocked or last run), so nobody reads it as time since opening.
The run ended before it reported on this work. Run log: https://forge.open-platform.sh/trevato/forge/runs/01m78xejjzvweb9pctw0xx4daf
Closes #11834