mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
The resolve-track live-reload tests stub the reschedule, so they never assert the interval. Drive the real composition the engine wires — RecurringRunner + delayedReschedule + mediaPlaylistReloadDelay + Task.clone previous-threading — under fake timers and assert: a sliding window reloads at the full target duration (per RFC 8216 §6.3.4), a stale window floors at half target and never faster, and a completed playlist stops after one run. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>