You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Accept the check-contract do-not-merge line in pr-verify before ci-workflows renames it #16188
.github/scripts/pr-verify/resolve-pr.mjs matches one exact error line from the ci-workflows check-contract composite. melodic-software/ci-workflows#1094 changed that line's prefix from pr-contract: to check-contract:, to match the composite's name.
Owner decision (2026-11-14, in session)
The rename is a clean cut. The owner's words: "I don't want any old references in there. Don't even like migrations or anything like that." and "don't write tests that compare the old name to the new name."
So the reader matches the new line only. There is no second accepted line and no test of the old one. This replaces this issue's first draft, which asked for both lines to be accepted.
Done when
DO_NOT_MERGE_LINE is the check-contract: line.
The same pull request re-pins check-contract in .github/workflows/pr-require-checks.yml to the commit ci-workflows#1094 merged as, so the composite this repository runs prints the line the reader matches.
No pr-contract text is left under .github/scripts/.
Accepted cost
A run logs the line of its own commit's workflow file. A ci-status run that started before the merge, or a re-run of one, still logs the pr-contract: line. On such a run heldOnly returns false and pr-verify skips with not-a-passing-run, so a pull request held only by do-not-merge gets no verifier verdict until a fresh ci-status run. This fails closed: nothing merges that should not.
Notes
melodic-software/pr-pipeline-sandbox carries a copy of this reader.
Size: Small
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
Understood: make heldOnly in resolve-pr.mjs accept both the old pr-contract: and the new check-contract: do-not-merge lines, the way HOLD_STEP and OLD_HOLD_STEP are already handled. Tests should cover both lines and the existing rejections for each. The scope and done-when are exact, so nothing is missing from the issue.
The copy of this reader in pr-pipeline-sandbox needs the same change in its own repository. That is outside this checkout. No duplicate or already-merged fix found among the listed issues and pull requests.
Not admitted to the issue lane: its body was edited after it was deferred, so the admission it was deferred from judged an older body. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: Make heldOnly in resolve-pr.mjs count both the old pr-contract: and the new check-contract: do-not-merge lines as the label line, with tests for both.
Acceptance criteria
resolve-pr.mjs keeps the exported DO_NOT_MERGE_LINE with the pr-contract: text and adds a second line with the check-contract: prefix and the same 'do-not-merge' wording, grouped in a list the way HOLD_STEPS is
heldOnly's label filter (resolve-pr.mjs:385) matches a line equal to either of the two lines
heldOnly still requires exactly one label line when CONTRACT_STEP failed and none otherwise, so one old line plus one new line counts as two and is rejected
The comment above heldOnly and the comment at resolve-pr.mjs:306-310 name both lines and say the old one stays until no consumer pins a release that prints it
resolve-pr.test.mjs accepts a run that failed only on CONTRACT_STEP with the new line, alone and beside a person-lifted hold, as ok
resolve-pr.test.mjs runs each rejection in the contract-failure test (title failure beside the label, label line twice, label text changed, label line while the contract step passed, both steps with one exit, hold step with only the label, contract step cancelled) for both lines and each gives not-a-passing-run
A test covers the old and new lines together in one log and expects not-a-passing-run
A title-failure case is tested with the check-contract: prefix beside the label line and is rejected
node --test on .github/scripts/pr-verify/resolve-pr.test.mjs passes
No other file changes except comments or docs that quote the old line
External state: none
Dependencies
melodic-software/ci-workflows#1093 renames the prefix and must wait for this change to land first (step 1 of its recorded order)
The copy of this reader in melodic-software/pr-pipeline-sandbox needs the same change in its own repository; it is outside this checkout
Sources read
.github/scripts/pr-verify/resolve-pr.mjs:302-310: HOLD_STEP, OLD_HOLD_STEP, HOLD_STEPS list and the single exported DO_NOT_MERGE_LINE
.github/scripts/pr-verify/resolve-pr.mjs:380-395: heldOnly filters label lines with line === DO_NOT_MERGE_LINE and requires label count 1 when CONTRACT_STEP failed
.github/scripts/pr-verify/resolve-pr.test.mjs:822-854: tests accept and reject cases use only DO_NOT_MERGE_LINE, with a pr-contract: TITLE line
.github/scripts/pr-verify/resolve-pr.test.mjs:829-836: the existing old-hold-step test shows the dual-name pattern
Automated refinement by the lanes App. Intake triages the issue again with it.
Activity
github-actions commentedon Nov 14, 2026
Size: Small
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
Understood: make
heldOnlyinresolve-pr.mjsaccept both the oldpr-contract:and the newcheck-contract:do-not-merge lines, the wayHOLD_STEPandOLD_HOLD_STEPare already handled. Tests should cover both lines and the existing rejections for each. The scope and done-when are exact, so nothing is missing from the issue.The copy of this reader in
pr-pipeline-sandboxneeds the same change in its own repository. That is outside this checkout. No duplicate or already-merged fix found among the listed issues and pull requests.Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 14, 2026
Not admitted to the issue lane: its body was edited after it was deferred, so the admission it was deferred from judged an older body. Admission takes the issue once each of those is met, when intake triages it again (
.github/actions/resolve-config/admission-rules.json).fix(ci): read only the check-contract do-not-merge line
melodic-automation-lanes commentedon Nov 14, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: Make heldOnly in resolve-pr.mjs count both the old pr-contract: and the new check-contract: do-not-merge lines as the label line, with tests for both.
Acceptance criteria
External state: none
Dependencies
Sources read
Automated refinement by the lanes App. Intake triages the issue again with it.
ci: re-pin check-contract to the release that prints check-contract