Skip to content

Improvement: Model:Cycles downloads for beta testers - #2230

Merged
repeat98 merged 4 commits into
mainfrom
improvement/model-cycles-beta-downloads
Nov 26, 2026
Merged

repeat98 merged 4 commits into
mainfrom
improvement/model-cycles-beta-downloads

Conversation

@repeat98

Copy link
Copy Markdown
Owner
  • What was wrong or hard: The Model:Cycles machine page builds the Modwerk base, but nobody could download it or send it to a unit until the owner's review. The base has run only on durchgemacht's unit, and a piece of the stack counts as done only once its build has passed on more than one unit.
  • What this changes: Beta testers can download the built Model:Cycles base, or send it over USB, from the machine page. Everyone else still sees "Downloads open after review", and the page itself stays beta-only. The owner asked for this on 26 November 2026, so more units run the base before its review. A new list, DIGI_BETA_DOWNLOADS in protocol.ts, holds the machines that download for beta testers only; digiDownloadsOpen(machine, betaUi) checks it beside DIGI_DOWNLOADS_ENABLED, which stays as it was. The Digitakt, Digitone and Rytm keep their downloads for everyone, and the Digitakt II stays closed.
  • How I checked it: npm run pr:ready. A new test, DigiBuildPanel.beta-downloads.test.ts, renders a released build (USB_LINK off): a beta tester gets Download .syx for the Model:Cycles, a visitor doesn't, the Digitakt II stays closed to a beta tester, and the Digitakt stays open without the beta. digi-build.test.ts checks digiDownloadsOpen directly.
  • Tested on a unit: Not tested on a unit: this changes who sees the download and send buttons, not the build. The build itself is the base pinned by Model:Cycles: build the base on the machine page and send it over USB #2125, which ran on durchgemacht's unit (24 November 2026).
  • Edge cases:
Case Why this change makes it a risk How run Result
A visitor on a released build the gate must keep the file from everyone but beta testers DigiBuildPanel.beta-downloads.test.ts pass: no Download .syx
A beta tester on a released build the point of the change same test pass: Download .syx shown
Another unreleased machine (Digitakt II) for a beta tester the beta list must open only the machines it names same test, digi-build.test.ts pass: stays closed
A released machine for a visitor the new check must not close what was open same test pass: Digitakt still downloads
Recovery with the stock .syx after the Modwerk base testers now flash it, and recovery is their way back not run not run: no Model:Cycles at this computer; it is still open in the base record
  • What the guides lacked or got wrong, and where I fixed it: The recipe row and the Model:Cycles guide said downloads were off; they now say beta testers only. machine.json's flash line says the same.

Related to #2125.

🤖 Generated with Claude Code

repeat98 and others added 4 commits November 26, 2026 10:29
The machine page's build of the Modwerk base downloads, and sends over
USB, for beta testers only (DIGI_BETA_DOWNLOADS), so more units run it
before the owner's review releases it to everyone. Released machines
keep DIGI_DOWNLOADS_ENABLED unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the enhancement New feature or request label Nov 26, 2026
@repeat98
repeat98 merged commit bb983c0 into main Nov 26, 2026
13 checks passed
@repeat98
repeat98 deleted the improvement/model-cycles-beta-downloads branch November 26, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant