Repository navigation
Improvement: a change to what runs on an instrument stays a draft until its exact build ran on a unit - #1697
Merged
Merged
Conversation
…il its exact build ran on a unit pr:ready says Ready to open as a draft when a branch changes a .mwrm package or .elemod base, and CI's description check refuses a ready pull request of that kind unless a line names the build that ran (Tested on a unit: … with its hash) or says plainly that it was not tested. Drafts pass. The check also runs when a pull request is marked ready or turned back into a draft. Base 0.7.8 (#1694) went up ready to merge after only development twins had run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
npm run pr:readyends with "Ready: this PR can merge without the owner repairing it" once the checks pass. That reads like a test verdict, and nothing tied a pull request that changes what runs on an instrument to a run on a unit. On 17 November 2026 base 0.7.8 (Improvement: Octatrack base 0.7.8, a module that no track uses rests #1694) went up ready to merge after only development twins had run. The exact release build, a full module set, the USB base update and a power cycle had not been tested. AGENTS.md already said to push only after the developer's testing, and that wasn't enough.pr:ready: a branch that changes a built package or base (.mwrm,.elemod) now ends "Ready to open as a draft: the checks pass. Mark it ready for review once the exact build has run on a unit". It also givesgh pr create --draftand the line the description needs.pr-flags.yml, main'sscripts/pr-body.mjs): a ready pull request of that kind must have a line naming the build that ran, such as "Tested on a unit: base 8d1db124 (or the package's sha256), MKII, what ran". The alternative is "Not tested on a unit: ", for the owner to decide. Drafts pass. The check also reruns when a pull request is marked ready or turned back into a draft. It still runs no PR code: the description, the draft flag and the changed file names (from the API) are passed as data.modwerk-pr-readyskill (both copies) and the pull request template say the same thing.scripts/pr-body.test.mjscovers drafts, ready pull requests with and without a named build, a build named without a hash, "Not tested on a unit", and package versus source, docs or site changes.scripts/pr-ready.test.mjscovers the verdict and its notes. The YAML parses.npm run pr:readypassed every check exceptscripts/module-doctor.test.mjs, whose 30 s limit the doctor exceeded on this Mac under load 17-22 from other sessions. That test passes on its own (6 of 6), andnode scripts/module-doctor.mjs --allwith the board off exits 0 with no ✗. This branch does not touch the doctor; CI runs it on a clean runner.pr:ready's wording suggested more than it checks. Fixed in AGENTS.md, themodwerk-pr-readyskill and the template.🤖 Generated with Claude Code