You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: the ffmpeg start-up check times out under a parallel test run on Windows #281
On 2026-10-17 (#279, a web-only PR), two unit tests in src/media.rs failed on the Windows runner at MediaService::initialize:
media::tests::a_cache_fill_past_its_deadline_is_killed_and_leaves_nothing
media::tests::a_seek_fills_the_cache_while_the_abandoned_play_still_holds_its_lock
called `Result::unwrap()` on an `Err` value: ffmpeg check timed out: ffmpeg
The re-run passed.
Why
check_tool gives ffmpeg -version and ffprobe -versionfive seconds. Under a parallel test run on the Windows runner, several cold FFmpeg processes start at once, and one of them took longer.
It is the same shape as #240: a hard five-second budget that a contended machine overruns. There it was the SQLite pool; here it is a process spawn.
Fix
The check exists to refuse to boot on a binary that is missing or hangs, not to time a healthy one. A larger budget (thirty seconds) still catches a hung binary, costs a healthy boot nothing, and cannot turn a wrong answer into a passing one — the only thing this timeout produces is a timeout.
Activity