A review does not lapse while the crew cannot run (#14831)

A green agent pull goes to the crew's reviewer. If the reviewer has not been asked within REVIEW_LAPSE_MS (60 min, src/crew/review.ts), the pull lapses and waits for you: home shows it as "waiting for your review · the reviewer did not answer". A lapse means the reviewer was asked and did not answer, so the clock counts only the minutes when a review could have run.

What pauses the clock

The forge reads the run table (src/crew/review_pause.ts). The crew counts as down at a given moment when an agent run died before its agent started (at the clone, fetch or checkout) in the 15 minutes before it, and either:

The lapse clock stands still for every down stretch, the same way a hold stops it. A forge where nothing ran at all is never down, so a quiet forge's clock runs as before. Stretches are read back at most 24 hours: a head that has been green longer than that lapsed long ago. The read comes from the run table, so a restart forgets nothing.

What is re-sent

What you see

There is nothing new on a page. During an outage a green pull does not appear under "waiting for your review" until it has been waiting for 60 minutes of time when the crew could run. After the outage it gets its review like any newly green pull. test/review-outage.test.ts replays a two-hour clone storm and shows each step.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs