Skip to content

yuzic-engine 1.0.1

Choose a tag to compare

@eftpmc eftpmc released this 09 Sep 22:55
· 9 commits to main since this release
9be134a

Test and tooling only. The engine's behaviour and its public API are unchanged from 1.0.0.

Fixed

  • testReconnectionGivesUpAfterItsBudget was flaky, failing about three runs in four. It injected a fixed number of read failures and asserted the engine had seen every one, which it had not: onReadFailed hops to the main queue and only then checks activePlayback === playback, so a failure arriving while a reconnection is swapping the playback out finds a different object and returns. That drop is correct — a failure belongs to the playback that raised it — so the test was wrong rather than the engine. It now injects until the budget is actually spent, and the assertion still catches a broken budget: removing the cap gives sixteen opens against the expected four.
  • Tools/mutate.py had been unusable since the repository movedROOT was an absolute path to a checkout that no longer exists, so it died on its first file read. Derived from __file__ now. With it running again: all nine mutations caught, no survivors.