Repository navigation
Fix: module:dev builds a listed effect's page from its manifest when the committed recipe is stale - #2317
Merged
Conversation
…the committed recipe is stale A listed effect's dev package took its FX page from the committed descriptor-recipes.json without comparing it with the manifest. Midiverb 0.2.0 grew PROG from 59 to 102 values; its dev packages kept the old count and PROG stopped at 58 on the owner's MKII (27 Nov 2026). module:dev now derives the page, compares it as --check-page does (recipe_matches), and builds with the manifest's page when they differ, saying so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
module:devno longer builds a listed effect with a stale page. When an update gives a control more values, the development package now carries the new range instead of the old one. Nothing a musician installs changes; this only affects development builds.npm run module:devcopied the FX page from the committedsrc/engine/assets/descriptor-recipes.jsonand never compared it with the module's manifest. That file is only refreshed when the module is released.scripts/module-dev-package.pyderives the page from the manifest (draft_page, which drafts already use) and compares it with the committed one. The comparison is the one--check-pagealready makes, now in one helper (recipe_matches).npx vitest run scripts/module-dev.test.mjs: 4 of 4 pass. That includes the new test (the same recipe matches; a recipe whose PROG count grew from 59 to 102 doesn't), and the two tool-backed tests: Mini Verb still builds byte for byte as published, and seven listed effects still derive their committed pages exactly.module/midiverb-all-programs), the fixed script printed the stale line and built package1c2e43f6…. That is byte for byte the package built by hand with the manifest's page, which ran on the unit today.npm run pr:readyhas not run yet: USB Audio's run holds the shared check lock with the owner's priority. It will run before this merges.🤖 Generated with Claude Code