Skip to content

Fix: FM Synth's release tests no longer ask for records only the removed card composer could make - #1551

Merged
repeat98 merged 1 commit into
mainfrom
fix/retire-fm-synth-card-release-tests
Nov 14, 2026
Merged

repeat98 merged 1 commit into
mainfrom
fix/retire-fm-synth-card-release-tests

Conversation

@repeat98

Copy link
Copy Markdown
Owner
  • What was wrong or hard: sdk/tests/test_synth_release.py and src/catalog/synth-release.test.ts pin FM Synth's release to three records of the card route: a regression run on the card image the site's composer built, captures bound to a native card image, and the native comparison in sdk/native-comparisons/synth.json. The composer, module:verify and the card checks left main on 12 November 2026 (ef5f86e2c), so none of the three can be made for a new version, and any FM Synth update stays red (the 0.1.3 draft in FM Synth 0.1.3-experimental: much less CPU when installed on no track #1504 does). The Python test also required the approval to waive exactly three things, and the TypeScript test required captures of the released version, so an update that keeps the earlier version's captures (retainedUiVersion, allowed by docs/MODULE_UI_CAPTURES.md and by the general checks) could not pass either.
  • What this changes: only those assertions.
    • Removed: the regression report's image and emulator hashes, compiled-code fingerprints and audio peaks; the capture image being the native card image; the native comparison. evidence/regressions.json and sdk/native-comparisons/synth.json stay in the repository as 0.1.2's records.
    • Loosened to what the guide allows: the waiver set is the three required waivers, plus release-documentation when the approval names retainedUiVersion; captures document the released version or the retained one, and are bound to the approved source hash only when they are that version's own.
    • Kept: the source and licence pins against the import record, the lazy stock guards, hardware status and qualification claims, the owner's approval of the exact source, every screenshot's hash, the monochrome and README checks, and the refusal of changed source or evidence under the approval.
    • A mutation in the TypeScript test used the literal 0.1.3-experimental as "another version"; it is now 9.9.9-experimental.
  • How I checked it: on main (FM Synth 0.1.2) both tests pass, 3 and 3. Tried against the FM Synth 0.1.3 branch with these two files copied in: all pass once that branch's import record names 0.1.3. npm run pr:ready: Ready.
  • What the guides lacked or got wrong, and where I fixed it: nothing in the guides; the two tests had not followed the card route's removal.

Related to #1504

🤖 Generated with Claude Code

…ved card composer could make

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added the bug Something isn't working label Nov 14, 2026
@repeat98
repeat98 enabled auto-merge November 14, 2026 12:00
@repeat98
repeat98 merged commit 0d7c1a7 into main Nov 14, 2026
21 of 23 checks passed
@repeat98
repeat98 deleted the fix/retire-fm-synth-card-release-tests branch November 25, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant