Repository navigation
feat(pr-pipeline): gate lanes on the repository kill switch as well as the org one - #7233
Conversation
…s the org one check-kill-switch takes a second input, repo-value, fed vars.CLAUDE_LANES_REPO_DISABLED, and proceeds only when it and the org CLAUDE_LANES_DISABLED both read exactly "false"; an unset repository switch stops the lane. One repository now stops through its own name instead of a same-name repository variable, which shadows the org value in vars (#6720). The gate cannot see such a shadow; the broker denies a write lane's mint while one exists, and the read lane is not covered yet. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
PR body contract — issue linkage This PR body conforms to the issue-linkage contract. Nothing to do. |
Codex Review SummaryThis 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 finished @kyle-sexton's task in 2m 33s —— View job Reviewing PR #7233
SummaryReviewed the diff ( No blocking findings. The implementation is sound and internally consistent:
One thing I did not turn into a finding because it's unverifiable from this repository alone: the updated broker 403 table row in The PR's own "Merge order" section already calls out the |
|
Claude finished @kyle-sexton's task in 1m 38s —— View job Security review — no issues found
Reviewed the diff against No security issues found. Notes from the review (informational, not findings):
|
|
claude-security-review has reviewed this pull request through a9f0f7f; a later push is reviewed from there. |
|
claude-review has reviewed this pull request through a9f0f7f; a later push is reviewed from there. |
|
Re the issue-linkage contract comment (github-actions[bot]):
Fix: reword the body sentence to "#6720 stays open after this merges: ..." so no closing keyword precedes |
|
Follow-up to the issue-linkage finding: PR body edited (no commit). |
|
Re the claude-review summary: no findings to classify. On the informational note about the broker 403 row in
The security-review summary reported no issues; nothing to classify there. |
Refs: #6720
Hold: a human merges this.
Summary
The runner gate now reads two switches: the org
CLAUDE_LANES_DISABLEDand a new per-repositoryCLAUDE_LANES_REPO_DISABLED. A lane proceeds only when both are exactlyfalse. One repository can now be stopped without creating a same-name repository variable, which shadows the org value invars(#6720).#6720 stays open after this merges: a repository variable named
CLAUDE_LANES_DISABLEDstill shadows the org value at this gate, and the read lane makes no broker call, so the read lane still runs under an org-wide stop while such a shadow exists. Closing it needs the broker check for every lane (design option Q1-C), which is still waiting on a decision: a new read-only broker check endpoint, or a read mint.Fix
check-kill-switchgets arepo-valueinput and proceeds only whenvalueandrepo-valueare both exactlyfalse. Unset, empty and every other value stop the lane.pr-run-activity-read.yml,pr-run-activity-write.ymlandeval-browser-dispatch.ymlpassvars.CLAUDE_LANES_REPO_DISABLEDasrepo-value.pr-run-activity.md(variables, broker 403 row) and the pipeline README.Merge order
Merge this only after the github-iac PR that declares
CLAUDE_LANES_REPO_DISABLED=falsein this repository is merged and deployed, andgh variable list -R melodic-software/claude-code-pluginsshows it asfalse. Until then the variable is unset and this gate stops every lane in this repository. That is the safe direction, but it is still an outage.Verification
npm testin.github/actions/check-kill-switch: 15 tests, 15 pass; 6 failed before the change (every case that needs the repository switch). Cases: org {unset, empty, true, FALSE, " false"} × repo {false, true, unset} stop; repo {unset, empty, true, FALSE, " false"} with orgfalsestop; only (false,false) proceeds.scripts/run-outside-node-suites.sh: all suites pass.actionlinton the three changed workflows: clean.markdownlint-cli2on the three changed docs: 0 issues.Related
CLAUDE_LANES_REPO_DISABLEDand denies a same-name shadowCLAUDE_LANES_REPO_DISABLEDper lane repository🤖 Generated with Claude Code