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
Opener acceptance-timeout test fails whenever the mobile tests run beside it #654
hided/tests/opener_lifecycle.rsacceptance_timeout_ends_cli_spawned_before_watcher fails on macOS (arm64) whenever the mobile test binary runs beside it:
panicked at hided/tests/opener_lifecycle.rs:154:9:
fake helper never wrote its pid
nextest --workspace (default profile): fails 2 of 2; the ci profile passes it on its retry and reports it FLAKY.
opener_lifecycle alone: passes 10 of 10.
opener_lifecycle paired with each other hided binary (lib and bins, browser_control, connect_build, connect_stop, handshake, real_herdr): passes; only mobile triggers it.
What is known
In this test the owner spawns the --open-helper supervisor with HIDE_OPEN_HELPER_TEST_PAUSE_MS=3000, so the 2-second acceptance read times out and OwnedOpener::stop ends the supervisor's group.
The test expects the fake helper (the test binary re-run through sh) to have written its pid before that, and waits 20 s for it; with mobile running, it never appears. mobile starts in-process daemons with hided::start_daemon and kills nothing itself, so the interaction is not yet explained: whether the helper is slower to start than 2 s while those daemons start, or something ends it earlier, is the open question.
Do not fix it with a longer acceptance window or wait.
Activity