Repository navigation
Fix: CI's module scope rule lets a base/<machine>-next promotion into main carry the base and modules together - #2556
Merged
Conversation
… main carry the base and modules together Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
npp1993
enabled auto-merge
December 3, 2026 00:26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this fixes. CI's module-scope rule refuses a contributor's pull request that changes a module and the base together, and points to the machine's
base/<machine>-nextbranch for base work. The cumulative pull request that promotes that branch intomainalways carries both once a module has gone in beside a base change, so the rule refused the very path it asks for: #2554 (Analog Rytm MKII base-next into main, with Improved FX Routing 0.3.0) failsmodule-contractandmodule-pr-okon it alone. Every change on that branch already passed the rule in its own pull request into it (#2539 base, #2541 module).Change.
moduleScopeProblemstakespromotion;scripts/check.mjssets it for a pull request frombase/<machine>-nextin the same repository intomain. Such a pull request is not refused for the base half. A change to a check that judges modules is still refused there, and every other pull request is judged as before.Who acts: a maintainer merges once green; then #2554's checks re-run.
Not tested on a unit: CI code only, nothing runs on an instrument.
Guides: nothing; the rule's comment in
scripts/pr-ready.mjssays why a promotion is exempt.How it was checked
scripts/pr-ready.test.mjs: a promotion with a module and a base file is not refused; with a module-judging check it still gets exactly that refusal;BASE_NEXTmatchesbase/analog-rytm-mkii-nextand not a branch under it orclaude/base-next.npm run pr:ready: Ready (the zoom-link test failed in the full run and passed alone, as before).🤖 Generated with Claude Code