Repository navigation
Fix: a sync before the Octatrack's restore says the saved modules are still loading - #2129
Merged
Merged
Conversation
… still loading Right after a start, before the base's restore has run, the base rejects every change with no loader refusal (modset.c modwerk_modset_check_set) and its record's saved is 0. The site showed "The Octatrack can't run this module file". Shared diagnostics had five such failures on three units in 30 days, each followed within seconds to a minute by the restore bringing back the same modules. The link now reads that state and says to wait until Status shows the saved modules. 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.
What works now: a sync sent in the first moments after the Octatrack starts, before it has loaded its saved modules, says so: "The Octatrack hasn't loaded its saved modules yet, so nothing changed." It asks to wait until Status shows them, then sync again if anything is missing. What was broken: the site said "The Octatrack can't run this module file", although nothing was wrong with the modules and the unit loaded them moments later. Who must act: nobody beyond review; it is a site change and works with every base in the field. On a unit: not run (site message only, see below).
modwerk_modset_check_set(sdk/machines/octatrack/elekloader/modset.c) returns 0 withRUNTIME_OKwhile!restored. The site then fell back to the plain "can't run this module file". Shared diagnostics have five such sync failures in 30 days, on three units (basesa6b457a1,94101a5aand 0.8.1eb667962). Each came right after a health reading withsaved0 and nothing live, and in each the restore brought back the same modules 2 to 98 seconds later. Musically: a player who had just switched on synced their whole set again, was told the module file was bad, and then had everything back anyway.saved(0 until this start's restore has run, in every base since 11 October 2026). A rejection with refusal 0 andsaved0 gets the new message. Every other refusal keeps its own text. The fake unit gainsrestoringto model it.octatrack-link.test.tsreproduced the old message and passes with the change. All 30 test files insrc/engine/elekloader/andsrc/dev/pass (521 tests).npm run pr:readypassed.savednot 0) still shows the plain text. The test for refusal 1 withsaved0 still gets the plain text.Possible base follow-up (not in this pull request)
The base could report
RUNTIME_BUSYinstead ofRUNTIME_OKwhile!restored. Then the site's three-second busy retry would also cover the usual few seconds after a start. That is a base change for the 0.8.2 draft (#2079) and needs a unit run. This site fix already covers every base in the field.🤖 Generated with Claude Code