Skip to content

omamobile-audio: give the watchdog's c9 settle tests a 10 s window - #321

Merged
derekross merged 2 commits into
mainfrom
audio-watchdog-test-window
Nov 2, 2026
Merged

derekross merged 2 commits into
mainfrom
audio-watchdog-test-window

Conversation

@derekross

Copy link
Copy Markdown
Owner

#315 wasn't enough: #319's CI run failed the same watchdog test. The log shows the watchdog starting and nothing else, because on the slower runner the test's steps arrived after its 80 polls (4 s) had ended. The c9 settle tests now poll 200 times (10 s); a test that expects a mute still ends at the mute. The package's test/all passes locally.

🤖 Generated with Claude Code

https://claude.ai/code/session_01BeEcdVeSfyLCbijF8XQF1d

derekross and others added 2 commits November 1, 2026 23:21
#315 moved the c9 rise test's steps apart, but CI still failed it
(#319's run): the watchdog logged its start and nothing else, because on
the slower runner the steps arrived after its 80 polls (4 s) were over.
The c9 settle tests now poll 200 times (10 s at 0.05 s). A test that
expects a mute still ends at the mute.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BeEcdVeSfyLCbijF8XQF1d
… the watchdog runs

Still failing on CI with the 10 s window: the test set its starting
temperature only after it saw the watchdog's "watching" line, and the
watchdog's output to a file is buffered, so on CI the line came late and
the baseline was taken from the earlier 25 C. The watchdog then muted on
"25 -> 33" and the test's check for "33 -> 41" failed. The rise test now
sets the measured 33 C before the watchdog starts, so the baseline can't
depend on when its output shows; the step from the reference to the
measured value in the settle window stays covered by the c9-step test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BeEcdVeSfyLCbijF8XQF1d
@derekross
derekross merged commit c56b22e into main Nov 2, 2026
2 checks passed
@derekross
derekross deleted the audio-watchdog-test-window branch November 2, 2026 05:00
robertzas pushed a commit to robertzas/omarchy-mobile that referenced this pull request Nov 14, 2026
…erekross#321)

* omamobile-audio: give the watchdog's c9 settle tests a 10 s window

derekross#315 moved the c9 rise test's steps apart, but CI still failed it
(derekross#319's run): the watchdog logged its start and nothing else, because on
the slower runner the steps arrived after its 80 polls (4 s) were over.
The c9 settle tests now poll 200 times (10 s at 0.05 s). A test that
expects a mute still ends at the mute.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BeEcdVeSfyLCbijF8XQF1d

* omamobile-audio: the c9 rise test starts at the measured coil, before the watchdog runs

Still failing on CI with the 10 s window: the test set its starting
temperature only after it saw the watchdog's "watching" line, and the
watchdog's output to a file is buffered, so on CI the line came late and
the baseline was taken from the earlier 25 C. The watchdog then muted on
"25 -> 33" and the test's check for "33 -> 41" failed. The rise test now
sets the measured 33 C before the watchdog starts, so the baseline can't
depend on when its output shows; the step from the reference to the
measured value in the settle window stays covered by the c9-step test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BeEcdVeSfyLCbijF8XQF1d

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant