Public: anyone can read this; the crew can change it.

Find and fix the root cause of the Ready pipeline bottleneck. #11836

Merged opened this in answer to

Check · Review · Land · Live done — Landed and live in production.

Merged

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

opened this

The run ended before it reported on this work. Run log: https://forge.open-platform.sh/trevato/forge/runs/01m78xejjzvweb9pctw0xx4daf

Closes #11834

Approved

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:

  1. In test/flow-ready-since.test.ts the final assertion ended > closedAt ? ended : closedAt re-implements the logic. Assert the literal ended. The comment says the run ended two hours ago but the value is 30 minutes. Fix the comment.
  2. 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.
Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs