Repository navigation
Fix: the Stability tests chart a fixed release list - #2474
Merged
Merged
Conversation
StabilityAdmin.test.ts and StabilityAdmin.interaction.test.ts read the committed base-releases.json, which octatrack-base.mjs --write dates with the build day for every base main lacks. A draft base built inside the tests' fixed November window (0.8.6 on #2473, 30 November) added a marker and failed both. They now mock the file with the list as it stood on main, in stability-releases.fixture.ts. 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: the admin Stability tests no longer fail when a base is built during their fixed November window. What was broken:
StabilityAdmin.test.tsandStabilityAdmin.interaction.test.tsread the committedbase-releases.json, andoctatrack-base.mjs --writedates every base main lacks with the build day. So the 0.8.6 draft (#2473), built on 30 November, added a release marker and failed both tests. Musically: nothing; tests only. Who must act: the owner, to merge. Not a device change, so no unit run.The tests now mock the file with the list as it stands on main (
src/community/stability-releases.fixture.ts). Checked: both files pass on main, and still pass with a 0.8.6 entry dated 30 November added to the real file, which they no longer read.What the guides lacked: nothing; this is a test that read a growing file.
🤖 Generated with Claude Code