Skip to content

[pull] master from home-assistant:master - #414

Merged
pull[bot] merged 2 commits into
moovy2:masterfrom
home-assistant:master
Aug 27, 2026
Merged

pull[bot] merged 2 commits into
moovy2:masterfrom
home-assistant:master

Conversation

@pull

@pull pull Bot commented Aug 27, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

agners and others added 2 commits August 27, 2026 12:13
* speech_to_phrase: Shut down cleanly on stop

speech-to-phrase has no SIGTERM handler, so s6's default SIGTERM kills
the process and the container exits with code 143, which newer
Supervisor versions flag as an unclean shutdown. It does catch
KeyboardInterrupt and exit 0 on SIGINT, so tell s6 to stop the
service with SIGINT via the down-signal file.

Verified with the full s6 init: docker stop completes in ~3s, the
service log shows a clean stop, and the container exits with code 0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* speech_to_phrase: Probe readiness every 5s during startup

With the default 30s healthcheck interval the app can sit in the
"Starting" state for half a minute after it is already serving. Use
--start-interval=5s so readiness is detected within seconds once
training completes and the Wyoming port opens.

Verified: container reports healthy 8s after start (including forced
training), down from up to ~40s.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Jan Čermák <sairon@users.noreply.github.com>
* whisper: Shut down cleanly on stop

wyoming-faster-whisper has no SIGTERM handler, so s6's default SIGTERM
kills the process and the container exits with code 143, which newer
Supervisor versions flag as an unclean shutdown. It does catch
KeyboardInterrupt and exit 0 on SIGINT, so tell s6 to stop the
service with SIGINT via the down-signal file.

Same fix as speech_to_phrase; mechanism verified there with the full
s6 init (docker stop ~3s, container exit code 0).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* whisper: Probe readiness every 5s during startup

With the default 30s healthcheck interval the app can sit in the
"Starting" state for half a minute after it is already serving. Use
--start-interval=5s so readiness is detected within seconds once the
model is loaded and the Wyoming port opens.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Jan Čermák <sairon@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Aug 27, 2026
@pull pull Bot added the ⤵️ pull label Aug 27, 2026
@pull
pull Bot merged commit f0aaea6 into moovy2:master Aug 27, 2026
4 of 5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant