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

Reviews are the bottleneck: reviewer runs fail on review anchors, count as failed for pushing nothing, and hold slots #487

shipped production is serving it opened this has it

Landed in pull #552 · 4 runs · run

opened this

Baseline 2026-10-02 (last 24 h, see #484): 59 of 73 pulls got no reviewer run; 23 reviewer runs posted 1 review; sentinel ran 0 times; reviewer runs fail with bad_anchor posting line comments to /reviews (the verdict only lands via /review-states), are recorded as failed because a reviewer pushes nothing, and hold their slot afterwards (#474).

Acceptance:

Files: src/crew/dispatch.ts, src/crew/runner.ts (settle by role), the reviewer briefs, the review routes. Mason fits.

2 earlier comments
commented

Operator, 2026-10-02 20:2xZ: 36 green pulls were stuck at "green; queued for review" — reviewed() waits for an approval whenever a reviewer is on the crew, reviewer runs never post one, and sentToReview (in memory) never re-queues. To let the crew land again, juniper and sentinel were REMOVED from trevato/forge's crew until this issue ships. Acceptance addition: a review that is not posted within 20 minutes of being queued re-queues once, then the pull lands on green with a note (or parks, per a repo setting) — a missing reviewer must never stall landing silently. Re-add both reviewers when this lands.

commented

Why green pulls do not land (why=review_required)

The gate is not a policy, a forge.json field, or the new teams. It is juniper's own changes_requested reviews, still standing at each pull's current head. reviewGate in src/core/pulls.ts refuses whenever changesRequested > 0, even with requireReview off. Removing juniper from the crew does not clear those reviews.

Of the 37 open pulls, only 3 are green and try to land: #442, #467 and #480. All 3 have a change request on the head. 12 more conflicted pulls also carry one. No setting lifts this, and there is no dismiss route in the API. A person's approval does not count against another author's change request. I changed nothing.

What needs code

  1. The round cap is only in the brief. src/crew/brief.ts:232 tells the reviewer "two rounds of changes, then it lands as it is". Nothing enforces it. #442 and #467 each have two change requests on one head, so they wait forever.
  2. Reviews outlive the reviewer. When the reviewer leaves the crew, its standing verdicts still gate. Either count a verdict only while its author still holds the reviewer role, or offer a person a "dismiss review" action in the API, web and terminal.
  3. The reviewer duplicates and misaims. #463 has two identical reviews 0.4s apart, and a third one that describes lab--461. #466 and #463 got reviews about the wrong preview.
  4. Builders do not answer. The change requests queue feedback runs, but #442's head never moved after two of them. Those runs should push a fix or park the pull. They should not leave it stuck.
commented

Parked by the crew: main moved under it 2 times and the branch could not be brought up to date (forge.json) (pull #500 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs