Repository navigation
fix(ci): read the check-contract do-not-merge line and re-pin the composite - #16189
Conversation
heldOnly matched one exact error line from the ci-workflows check-contract composite, prefixed pr-contract. ci-workflows#1093 renames that prefix to check-contract. Count either line as the label line, so a repository keeps its held-only verdict whichever release it pins. Closes #16188 Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_015XWwmcDV2xryj42rLbyEkJ
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-review reviewed Code review (blocking only: this lane already reviewed an earlier head, I read all 5 changed files in the diff, plus the unchanged
Verifier dropped 0 of 1 candidates. |
|
claude-security-review reviewed Security review: PR #16189 (head 855118b)No security issues found. This lane reviewed an earlier head, so this review was blocking only: it reports CRITICAL and IMPORTANT findings and drops SUGGESTION findings. There were none at any severity. Scope. I read every hunk of all 5 changed files in
The other two are What I checked:
Embedded text. The PR context contains no instructions to this lane. Spend. No billable change. By the PR description, the composite's new advisory marker makes each PR that already has an advisory comment get one more comment on its next run. That is a small, one-off GitHub API cost only. Skipped steps. I dispatched no hunter or verifier subagents, because there was no CRITICAL candidate to refute. I posted nothing to GitHub; the job posts this review. critical-findings: 0 |
Drop the second accepted line and its test: the reader matches the check-contract line alone, and changes with the re-pin that makes the composite print it. Refs: #16188 Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_015XWwmcDV2xryj42rLbyEkJ
ci-workflows#1094 prefixes the composite's messages check-contract: and moves the advisory comment marker to <!-- check-contract:linkage -->. Pin that commit in the same change as the reader line it prints. The hold-label input the newer composite adds is off by default. Refs: #16188 Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_015XWwmcDV2xryj42rLbyEkJ
Closes #16188
Summary
heldOnlyin.github/scripts/pr-verify/resolve-pr.mjsdecides that a failedci-statusrun failed only on a hold. For thedo-not-mergelabel it matches one exact error line from the ci-workflowscheck-contractcomposite. melodic-software/ci-workflows#1094 (merged) changed that line's prefix frompr-contract:tocheck-contract:. The owner's decision for the rename: no old name left, and no dual-name handling.Fix
check-contractin.github/workflows/pr-require-checks.ymlfrom2476d5dto60b15bf, the commit hardcoded-path-check: no per-file exemption when CLAUDE_PROJECT_DIR is not a git working tree #1094 merged as.DO_NOT_MERGE_LINEis thecheck-contract:line that commit prints.The pin and the reader line change together; neither is correct alone.
What else the re-pin brings (8 commits to the composite since
2476d5d): bounded retries and conditional reads, a per-step API call count notice, and an opt-in hold label (enforce-hold-label, off by default and not set here). The advisory comment marker is now<!-- check-contract:linkage -->, so a pull request that already has an advisory comment gets one new comment on its next run.Verification
node --test .github/scripts/pr-verify/resolve-pr.test.mjs .github/scripts/pr-unblock/review-dependency.test.mjs: 209 pass, 0 fail.CI Statusrun exercises the re-pinned composite.Related
melodic-software/pr-pipeline-sandboxcarries a copy of this reader.plugins/tree still sayspr-contractin hooks, docs and tests; that rename is separate work.🤖 Generated with Claude Code
https://claude.ai/code/session_015XWwmcDV2xryj42rLbyEkJ