Repository navigation
fix(roadmap): fix-plan compares the revision with a review of the head - #5160
Conversation
The step reviews the head plan in each attempt and compares the last review of the revision with that review, not with the count of the last plan comment, which an earlier review wrote. The planner gets the open findings of the review and of the comment, and the result line reports the count of the comment. Closes #5150.
Test results
EvidenceThe first live attempt (Job Cost of the change: one more review for each attempt on a plan whose comment lists a finding (about 3.3M tokens, 96% cache reads, and 9 minutes on #4980). An attempt whose head review is clean now makes no plan run. Service code: the owner merges after a "safe and vetted" call. |
🤖 I have created a release *beep* *boop* --- ## [0.121.1](v0.121.0...v0.121.1) (2026-11-12) ### Bug Fixes * **roadmap:** fix-plan compares the revision with a review of the head ([#5160](#5160)) ([490513f](490513f)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
The step fix-plan compared the count of open findings of the last plan comment, which an earlier review wrote at an earlier commit, with the last review of the revision. Two reviews of one plan can find different counts: on #4980 the comment listed 1 open finding and a review of the same head plan found 2, so the attempt reported a revision with 2 open findings as worse.
Now each attempt reviews the head plan with the verification pass at the latest default branch and compares the last review of the revision with that review. The planner gets the open findings of that review and of the comment. A head plan with no open finding in its review loses the label with no plan call. The result line and the report of the command also show the count of the comment.
Closes #5150
Change:
openspec/changes/archive/2026-11-12-5150-fix-plan-compares-the-revision-with/