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

Reviews go to the least-busy reviewer: one reviewer no longer serializes the forge #4486

Closed opened this has it

Pull #4488 was closed · 2 runs

opened this

Probe, 2026-10-21 15:45Z.

  • Landings: in the last hour on trevato/forge, 22 pulls went green and 1 landed. Checks sat at 3 of 7 with none queued, so checks are not the bottleneck.
  • Who reviewed: all 23 reviews queued that hour went to reviewer=juniper; Sentinel got none.
  • Cause: pickReviewer (src/crew/review.ts:64) sends every pull that isn't about security to the first non-security reviewer (experience[0]). Sentinel only gets pulls that touch security, so one reviewer serializes the whole forge's review stage.

Done when:

  • Least-busy routing. pickReviewer picks the least busy fitting reviewer: the fewest review runs queued or running. Preference (design team, then security vs experience) still breaks ties. When the preferred reviewer has 2 or more reviews in flight, any other reviewer on the crew takes the pull. A security pull still always gets a security reviewer.
  • Juniper and Sentinel share the load. With both on the crew, 20 green non-security pulls split roughly evenly between them. Test it with the real pickReviewer and a fake run table.
  • Reviewer load on /flow. The review stage on /flow shows each reviewer's in-flight count, so a lopsided split shows up at a glance.
commented

Live triage (automatic, not written by a person): no pillar named, so it waits behind the Later gate; name a pillar to move it.

commented

Split under P0 Trust (agent pulls reviewed): #4732 routes reviews to the least-busy reviewer and documents the rules in the README; #4733 shows reviewers' in-flight counts on /boards and the terminal, scoped to what the reader can see. Both can start now. Pull #4488's routing was accepted by every review and is the starting point for #4732.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs