Skip to content

fix(roadmap): plan drift keeps other needs-fix labels - #5888

Merged
dan-petty merged 2 commits into
mainfrom
fix/5884-drift-keeps-other-needs-fix
Nov 15, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/5884-drift-keeps-other-needs-fix

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The plan drift row removed plan/needs-fix from each plan that passed its drift check, also a label of the stage review, the fix-plan step or a vet. stage_ready then marked a plan with an open finding ready: #5876 lost the label twice with no new commit.

The drift comment now holds the claim of the row: added when the row added the label, held when another check held it first, and cleared when the plan passes again. A passing plan loses the label only for the claim added, and only when the last plan comment of the item lists no open finding. A plan with no drift comment keeps its label. The row reads the drift comment of each plan on each round. The change adds no label, and stage_ready does not change.

Closes #5884

Change: openspec/changes/archive/2026-11-15-5884-drift-keeps-other-needs-fix/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 15, 2026
The drift row removed plan/needs-fix from each passing plan, also a label of the stage review, the step fix-plan or a vet, so stage_ready marked a plan with an open finding ready (#5876). The drift comment now holds the claim of the row (added, held, cleared), and a passing plan loses the label only for the claim added with no open finding in the last plan comment.
@dan-petty
dan-petty force-pushed the fix/5884-drift-keeps-other-needs-fix branch from 8fc14d2 to 0afd0ca Compare November 15, 2026 20:56
@dan-petty
dan-petty marked this pull request as ready for review November 15, 2026 21:02
@dan-petty

Copy link
Copy Markdown
Owner Author

Vet: SAFE. The drift row removes plan/needs-fix only when its own comment says that it added the label, and when the last plan comment of the item lists no open finding. A plan with no drift comment keeps its label, so the case of #5876 cannot repeat. The claim stays stable across rounds with problems (added and held), and a plan that passes gets the claim cleared. The checks pass, and the branch holds origin/main.

Limit, as the PR states: when the drift row added the label first, a later vet label on the same plan is lost when the drift clears. Only a separate drift label closes that case.

@dan-petty
dan-petty merged commit 93e57ed into main Nov 15, 2026
23 checks passed
@dan-petty
dan-petty deleted the fix/5884-drift-keeps-other-needs-fix branch November 15, 2026 22:56
dan-petty pushed a commit that referenced this pull request Nov 15, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.159.0](v0.158.0...v0.159.0)
(2026-11-15)


### Features

* **ai:** Record the cost of Jev calls
([#5879](#5879))
([d1ac8ca](d1ac8ca))
* **ci:** add OpenTofu 1.13.9 to images and CI
([#5862](#5862))
([ca62d6a](ca62d6a))
* **roadmap:** Require the contract test of a workflow change
([#5877](#5877))
([f81f4b9](f81f4b9))


### Bug Fixes

* **ai:** do not classify gateway endpoint as local backend
([#5874](#5874))
([8c09c33](8c09c33))
* **k8s:** Name the collector service that exists
([#5895](#5895))
([a20c801](a20c801))
* **monitoring:** Drop the caller labels from the gateway series
([#5896](#5896))
([d0929e1](d0929e1))
* **roadmap:** check the premise before the first step
([#5886](#5886))
([1b12e5c](1b12e5c))
* **roadmap:** handle git grep timeout in refine context collection
([#5872](#5872))
([0eecb65](0eecb65))
* **roadmap:** Judge no criterion in the paths gate
([#5875](#5875))
([ca88553](ca88553))
* **roadmap:** plan drift keeps other needs-fix labels
([#5888](#5888))
([93e57ed](93e57ed))
* **roadmap:** refine designs against an alert without its rule text
([#5882](#5882))
([cbd8bf7](cbd8bf7))
* **roadmap:** the refine proposal caps its context with a job constant
([#5878](#5878))
([25fca43](25fca43))


### Performance Improvements

* **roadmap:** File a new candidate with one request
([#5894](#5894))
([5fea092](5fea092))


### Code Refactoring

* **github:** one pull request verdict for all monitors
([#5889](#5889))
([d93b753](d93b753)),
closes [#5021](#5021)
* **roadmap:** one open step for every pull request
([#5870](#5870))
([6e9f577](6e9f577)),
closes [#5020](#5020)

---
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): plan drift clears other needs-fix labels

1 participant