Skip to content

Fix: CI's module scope rule lets a base/<machine>-next promotion into main carry the base and modules together - #2556

Merged
npp1993 merged 1 commit into
repeat98:mainfrom
npp1993:claude/fix-scope-base-next
Dec 3, 2026
Merged

npp1993 merged 1 commit into
repeat98:mainfrom
npp1993:claude/fix-scope-base-next

Conversation

@npp1993

@npp1993 npp1993 commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

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>-next branch for base work. The cumulative pull request that promotes that branch into main always 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) fails module-contract and module-pr-ok on it alone. Every change on that branch already passed the rule in its own pull request into it (#2539 base, #2541 module).

Change. moduleScopeProblems takes promotion; scripts/check.mjs sets it for a pull request from base/<machine>-next in the same repository into main. 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.mjs says 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_NEXT matches base/analog-rytm-mkii-next and not a branch under it or claude/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

… main carry the base and modules together

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@npp1993
npp1993 enabled auto-merge December 3, 2026 00:26
@npp1993
npp1993 merged commit a073157 into repeat98:main Dec 3, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant