Repository navigation
Improvement: the site syncs Octatrack USB Audio as a module package (switched off until a package is published) - #1865
Merged
Conversation
…nce one is published With the package manifest listing USB Audio packages per layout, the catalogue installs, replaces and removes USB Audio like any module and reads the installed layout from the unit; it counts toward the module limit; the Load dialog, unit panel and hub stop leaving it out; and the link keeps a sync open across the base's own USB reconnect, keeping only once the unit is back. With no package listed nothing changes: USB Audio comes with the base in its layout, as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…o the manifest The Worker's module-limit check reads src/config/usb-audio.ts, and importing the package manifest there made it a backend dependency without a licence review (licenses:check). The flag is now a constant, false while no package is published, and usb-audio-package.test.ts requires it to match the manifest's usbAudio. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 20, 2026
Owner
Author
|
The reconnect check compares the base, active digest, transaction and generation before calling Please match the previous session identifier as well. The reconnect test can keep the digest and both counters identical, change only the session, and check that the browser leaves that trial alone. Then run the browser-to-unit reconnect and Undo on the intended build. |
repeat98
marked this pull request as ready for review
November 20, 2026 21:19
repeat98
enabled auto-merge
November 20, 2026 21:30
This was referenced Nov 20, 2026
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.
Base compatibility
The published Octatrack base 0.7.11 from #1840 still uses its built-in audio layouts. This site PR keeps that installation path active. The companion USB Audio PR targets USB Audio 0.3.0-experimental on the new 0.7.12 base. The installer switches to the configurable module with that release.
The installer can select one USB Audio runtime package for every recording layout. The published site continues to use the existing base variants until the cumulative base, matching package manifest and migration are qualified.
What was hard
The site treated each audio layout as a different base. A paired page could also see another client's unfinished trial when the Octatrack reconnected, and undo it.
What changed
How I checked it
114 focused catalogue and USB-link tests passed. Cases include legacy Undo, repeat sync after panel changes, a second reconnect owned by the same page, a different trial or a newer transaction for the same package found during reconnect, and a paired page opening while another client owns the audio trial.
Tested on a unit
The companion firmware build passed the panel and native USB trial on the owner's Octatrack MKII. One package recorded all five USB widths on macOS. A paired Opera process held the unit during an earlier reconnect. Closing Opera allowed the matching native trial to continue. In an integration run, the actual site link opened the same emulated device as a native client with an ongoing audio trial. The site released the interface. The native client verified the original candidate digest, completed Undo and recovered the baseline descriptors. A browser-to-hardware run of this branch remains open. Firmware and unit evidence
Guides
The module details give the on-instrument path and first-time Outbox setup. The firmware change records how to distinguish a USB client holding the interface from proof that it sent Undo.
Related to #1831.