Repository navigation
Fix: the module-pool tests no longer depend on MIDI Scenes 0.3.0's size - #2224
Merged
Merged
Conversation
The tests for a set over the module pool used a tester's real set, which was over the pool only because of MIDI Scenes 0.3.0 (282 kB); with 0.3.1 (127 kB) it fits and both tests failed though the check is unchanged. They now grow three published packages to the most a package may declare (over a third of the pool each) in a catalogue built from the published manifest, so the set is over the pool whatever any module weighs. Both behaviours stay covered: refused before the first write naming its largest modules, and modules already on the unit counted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…es' sizes #2218's three tests priced a tester's real 25 November set and pinned the peak at 795 kB, so any package that grows by a kilobyte fails them: base 0.8.2's relinked packages read 796 kB (#2079). They now use the grown packages the other pool tests use: two on the unit fit, two after the sync fit, all three at once do not, and the message names the one to take out first and the one to add after. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
repeat98
marked this pull request as ready for review
November 26, 2026 09:51
repeat98
enabled auto-merge (squash)
November 26, 2026 10:06
auto-merge was automatically disabled
November 26, 2026 10:06
Pull Request is not mergeable
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.
src/engine/elekloader/module-set-memory.test.tsused a real set, the one a tester's unit refused on 24 Nov 2026, to cover two behaviours:OCTATRACK_POOL_BYTESis refused before the first write, naming its largest modules;That set was over the pool only because of MIDI Scenes 0.3.0 (282 kB). With MIDI Scenes 0.3.1 (#2149, 127 kB) it fits, so both tests fail on that branch even though the check they cover is unchanged. The tests depended on one module's size.
What changes (test only)
checkPackage). Each then takes over a third of the pool, which a new test asserts.createRuntimeCatalogue). The three grown packages plus three small ones make a set over the pool whatever size any published module has.module-set.tsor to the check.Tests
a3d8a91da, MIDI Scenes 0.3.0) and on MIDI Scenes 0.3.1-experimental: lock tables for 24 Parts, 121 KB of the module pool instead of 272 KB #2149's tree (MIDI Scenes 0.3.1): 6 of 6.10905d879) and on base 0.8.2's packages (Improvement: Octatrack base 0.8.2 cumulative draft #2079's branch).npm run pr:ready: Ready.tsc -bare clean.Guides: nothing (a test that pins one real module's size is the trap; the file's comment says why it uses grown packages).
Needed by #2149 and by #2079's CI (batch #2216).
🤖 Generated with Claude Code