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

Asks still read per pull once a pull has a check result #2781

shipped production is serving it opened this has it

Landed in pull #2789 · run

opened this

Follow-up to #2772. With the active-run, hand-over and app reads grouped and home reading its asks once, askCandidatesFor (src/web/studio/asks.ts) still reads per open pull once the pull has a check result:

  • failed check: lastHumanWord (listComments, listReviews), automaticRunsSince, latestDecision(…, "retry")
  • green check: isStalePull, staleGreen, mergesAgainSince (crew/stale_asks.ts), waitsForReviewer / waitsForPerson / reviewAttempts (crew/review.ts, which read crew roles, agents and reviews per pull)
  • a pull handed over: handoverOf's tail (approval, comments, directors, rounds) — rare, but per pull

Measured with test/asks-counts.test.ts's seed plus a failed pull, two green pulls and a handed-over pull: about 10 statements per open pull.

Done when:

  • each of those is a grouped helper beside its singular one (ids in, Map out, the CLAUDE.md recipe), used from askCandidatesFor;
  • test/asks-counts.test.ts's rounds include failed, green (a person's and the crew's, assisted and autonomous) and handed-over pulls, and home's statement count still does not grow with them.
Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs