Commit Graph
3 Commits
Author SHA1 Message Date
SpriteandClaude Opus 5.5 4147eaeaa4 fix: let WirePlumber settle before the smoke test starts streams
CI / check (pull_request) Successful in 10s
CI / native (pull_request) Failing after 1m33s
Streams that appear while WirePlumber is still starting up can wedge its
event queue: no default sink is chosen, nothing is linked and volume
changes are dropped. This made the smoke test fail intermittently
locally and in CI. The test now polls moonmix-probe until a default sink
exists before starting the streams, then until the playback stream is
linked; four local runs in a row pass.

Also play a regular file instead of /dev/zero (PipeWire 1.4's pw-cat
exited silently on it in CI) and change the volume of the active sink,
since CI's PipeWire 1.4 did not apply a volume set on a suspended
null sink.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:03:55 +00:00
SpriteandClaude Opus 5.5 6c7f45d5f9 fix: make the smoke test check results and avoid a WirePlumber stall
CI / check (pull_request) Successful in 9s
CI / native (pull_request) Failing after 1m4s
The smoke test only checked exit codes, so CI passed the probe steps
even though volume and mute never changed. Each step now asserts the
expected state after the action and prints pw-cat, WirePlumber and node
diagnostics on failure.

The test microphone was a null-audio-sink with a Source media class.
WirePlumber's event dispatcher intermittently stalls on such a node and
then links nothing and ignores volume changes, which is what failed in
CI. It is now a loopback virtual source, like echo-cancel; three local
runs in a row pass. Screenshots are re-rendered from the new setup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:58:18 +00:00
SpriteandClaude Opus 5.5 169fb542df chore: headless smoke test and screenshots
tools/smoke-test.sh starts a private PipeWire + WirePlumber with null
sinks/source and test streams, exercises every action through
moonmix-probe and renders the GUI offscreen under broadway.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:28:51 +00:00