Skip to content

Fix: the test procedure runs again for an update of a listed module - #2338

Merged
repeat98 merged 4 commits into
mainfrom
fix/procedure-listed-update
Nov 27, 2026
Merged

repeat98 merged 4 commits into
mainfrom
fix/procedure-listed-update

Conversation

@repeat98

Copy link
Copy Markdown
Owner

The test procedure works again for an update of a listed module. Before this, its first step refused every such update.

  • What was wrong or hard: step 1 runs the release doctor, which fails until the module's qualification record names the new version. Only module:qualify --procedure DIR writes that record, from the procedure.json this same run produces. So no update of a listed module could get through step 1 (Midiverb 0.2.0, 27 November 2026; Mini Verb hit the same on 23 November and ran its unit steps by hand).
  • What this changes: for a listed module whose record names an older version, step 1 runs module:doctor -- --procedure <id>. The doctor then reports that record, and modules:check stopping at it, as "waits for this run". Every other line fails as before, and CI's module checks still require the record on the pull request. One sentence in docs/TEST_PROCEDURE.md, and a changelog entry.
  • How I checked it: npm run pr:ready (passed; one flaky Zoom test file passed on its rerun, as pr:ready does). A new runner test covers the update, the matching version and a draft. On Midiverb's branch, the fixed doctor turned the two qualification lines into "waits for this run" and left the real failures red. Then the whole procedure ran on the owner's MKII with these two scripts and wrote the record that module:qualify took (Midiverb Midiverb I/II 0.2.0: all 225 programs, the Midiverb II's choruses and flanges with their LFOs #2247: all ten unit-side steps passed).
  • Tested on a unit: not a built package or base change; it ran on the unit as Midiverb's procedure (above).
  • Edge cases: none for the unit: it changes only which flags step 1 passes to the doctor. The new test covers draft, update and current record.
  • What the guides lacked or got wrong, and where I fixed it: docs/TEST_PROCEDURE.md had a path for a first release (run it as a draft) but none for an update; one sentence added there.

🤖 Generated with Claude Code

repeat98 and others added 4 commits November 27, 2026 17:10
Step 1 ran the release doctor, which refuses until the module's qualification record names the
new version, and only this same run's procedure.json lets module:qualify write that record, so
no update could pass (Midiverb 0.2.0, 27 Nov 2026). Step 1 now passes --procedure for a listed
module whose record names an older version; module:doctor reports that record (and
modules:check stopping at it) as waiting for this run. Every other line fails as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the bug Something isn't working label Nov 27, 2026
@repeat98
repeat98 merged commit 3f8788a into main Nov 27, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant