Repository navigation
Conversation
…fter its first unit run Step 7 for a base runs the USB packages as the fewest whole-set trials that cover them, each as large as the module pool the base reports (do memory) takes, halving a set the base refuses for memory, with the inventory checked after each and the sets in the record. Step 8 asks the MIDI bridge for ping and starts its own on a free port when that one does not answer, never touching another session's; the bridge answers ping and reopens a stale output. Step 9 reads price.json back, so a failed in-use pick is that module's line; device.mjs finds an effect by its package's name (SC Ringmod is RINGMOD SC). device.mjs boot waits 150 s for a base restoring its kept set. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d ones; only a memory refusal splits a set Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Step 9 can pass without measuring the module under review. I ran the single-module step with a price receipt containing one refused installation and Please count successful measurements separately from processed packages. A single-module qualification needs to fail or explicitly remain unmeasured when that module was refused or its required reading is missing. The base sweep can still collect and report the other modules. A regression using the refused receipt would cover this before the bridge and soak checks on the unit. |
|
The refused-installation case from my earlier review is fixed in Please forward |
|
Closing this: most of it landed differently since 21 November. Step 7's set handling (split on a full pool, fail on a refusal) came in with #2072, and step 9 was rebuilt by #2043 into the curve and admission runs, with Three pieces are not on main yet and are worth a small new pull request if we still want them:
|
docs/verification/2026-11-19-octatrack-project-load-dsp.mdonbase/octatrack-next, Octatrack base 0.7.11 (cumulative) — project loads with restored modules #1840) found three things the runner or its tools got wrong.device:pricepasses the package's name unless it is given--fx-name, anddevice.mjs'spick:matched names exactly.device:testalready looks names up word-order-free (chooser_nameinoctatrack-qualify.py).boot's 60 s wait.scripts/test-procedure.mjs):do memory) and packs the packages into the fewest sets that cover them all. The packages not yet covered go in first, largest first; the set is then filled up with covered ones, so each set is as large as fits, the shape of the owner's 24-package sets for 0.7.10 (Octatrack base 0.7.10 (cumulative) — large module sets, quiet delays and Undo #1757). Nothing is hard-coded.do inventorychecked against the start after it. The run stops at the first set that fails or leaves the unit changed.pingto the bridge on--midi(default 127.0.0.1:50124).ok, it leaves that bridge alone and starts its own on the next port where nothing listens, then stops it after the run, even when the soak fails. It never kills another session's process.MODWERK_MIDI_BRIDGEnames the command that starts a bridge there. The record names the port and why that one was used.scripts/octatrack-midi-bridge.pyanswerspingwith the output it holds, reopening it first when winmm says its handle no longer holds (midiOutGetID), and reopens it once when a send fails, which covers the stale-after-power-cycle case.price.jsonback. A module whose pick failed or that was not installed is a line of its own, and the others still count. The receipt counts measured and processed packages separately. A single-module run fails if installation was refused or a required at-rest or in-use reading is missing. A base run keeps the completed measurements and lists what is missing. A short run or failed rollback still fails.device.mjs'spick:falls back to the same rule asdevice:test: the exact name, a chooser name that starts with it, or the same words in another order (scripts/effect-names.mjs). So SC Ringmod finds RINGMOD SC with no--fx-name.device.mjs setexits with an error on a rejected set or unsuccessful Undo. It still prints the refusal, tries transaction cleanup and reports the inventory.device.mjs boot(andflash's restart) waits up to 150 s for the unit to come back.docs/TEST_PROCEDURE.mdsteps 7 to 9 and the base section say all of this. The base section points to the guide text on booting into a kept twin from another image, which is already onbase/octatrack-next; I did not duplicate it.docs/OCTATRACK_DRIVING.mdhas one sentence on the bridge'sping. Changelog entry.npm run pr:readywith the m68k toolchain on PATH: Ready,sdk:checkpassing in full.sdk/tests/test_midi_bridge.py:ping, a stale output reopened, a failed send reopened and sent again, the unit gone.npm run device:emulator),do memoryread the pool (786,432 bytes, all free) and the packing ran as designed: 36 packages became sets of at most 32. But this twin refused every whole-set offer at verify ("rejected", loader refusal 0), even four ColdFire-only packages, while a singletrypasses; I did not pin down why. So the sets themselves need a unit run, and the runner splits a set only on a memory refusal, never on that.needs-recoveryduring Undo on both the 0.7.12 twind24c5acband 0.7.13 twinba9129f5. Large-set qualification is still pending.midiOutGetIDcheck after a power cycle (not run here);TEST_PROCEDURE.mdsaid step 7 for a base installs every package at once, which the pool cannot hold, and said nothing about a stale MIDI bridge. Both are fixed there.Still needs a real unit run
Run each on a development twin of the current base, behind
npm run device -- serve --share /tmp/modwerk-share.sock, through the unit queue. On a contributor's unit, get their OK first.npm run test:procedure -- --base.do memoryreported, then each set with its packages and bytes, allpassed, rolled back, and every USB package in at least one passing set.do inventoryafter the last set equals step 6.ping. A bridge started from this branch'soctatrack-midi-bridge.pyis needed for that; an older copy answerspingwith an error, and the runner then starts its own.ping(midiOutGetIDfailing, then a reopen) and answerok. If it still refuses, the runner should start its own on the next free port, name it in the record, and stop it after the run, leaving the old process alone.MODWERK_MIDI_BRIDGEto the Windows Python and a copy of the bridge outside any non-ASCII path. Check that stopping the runner's own bridge also ends the Windowspython.exe(WSL interop); this was not verified here.npm run device:price -- --share /tmp/modwerk-share.sock --out /tmp/price.json ring-scwith no--fx-name; its in-use reading should now be taken on FX2.npm run device -- do 'pick:T1:FX2:SC_Ringmod ui', which should pick RINGMOD SC.npm run device -- boot DIR), right after a power cycle. It should come back within the new 150 s wait (72 s was measured on 20 November 2026).The emulator could not stand in for 1: the development twin under
ot_emurefused every whole-set offer at verify, whatever the set.🤖 Generated with Claude Code
Refresh verification
Merged the at-rest policy from #1864 and retained the separate requirements for measurement and rollback. All 33 focused procedure tests passed.
npm run pr:readypassed ondc0a67765with 3,592 Vitest tests and 709 SDK unittest cases. The unit follow-up above is still pending.The queued unit process now receives both the selected MIDI bridge and the requested module list for pricing. The queue regression uses a custom port and two module IDs. All 34 focused tests passed. Full readiness passed on
48d2d847awith 3,621 Vitest tests in the main run and 724 SDK unittest cases. The physical run above is still pending.