Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/swarm-stt
Author SHA1 Message Date
maia
bceaf31f36 swarm-stt: move the settings and request handling out of main and test it
main read the environment through closures built inline and held the
per-request admission and answer inside the receive loop, so none of it
could run in a test. Each is now a function:

- env_var and env_number read through a lookup closure in place of
  std::env, and main wraps std::env::var.
- request_agent, admit and respond hold the admission and the answer of
  one request; answer takes any Engine instead of Whisper.
- stored_value holds the check on the stored client secret.

Tests run settings, admission and answers against a fake engine.

Closes #6811
2026-11-23 21:03:05 +01:00
maia
ae37c228b1 swarm daemons exit 0 when told to stop while still waiting for the store at startup 2026-11-19 08:06:36 +01:00
atlas
c21b158884 swarm daemons: opt-in /healthz and /readyz listener, and /readyz on the controller 2026-11-18 19:06:04 +01:00
atlas
a8775f1a7a queue consumers: stop taking messages on sigterm and exit 0 2026-11-18 09:45:21 +01:00
damocles
b180680427 swarm-stt: metrics and a Grafana board for the speech-to-text service 2026-11-12 12:18:32 +01:00
damocles
f5e7caa2eb swarm-stt: reply deadline agrees with the limits, one request per agent, short errors to the sender 2026-11-12 09:07:04 +01:00
damocles
ee10acb154 swarm-stt: the daemon (queue connection, request/reply, busy limit, hourly purge) and its settings docs 2026-11-12 09:07:04 +01:00
damocles
33e63091d5 swarm-stt: only files that start like an audio container reach ffmpeg 2026-11-11 23:10:17 +01:00
damocles
f8e1d0fbbd swarm-stt: time-box a run and decode pipe-only 2026-11-11 23:10:17 +01:00
damocles
df4b2f1838 swarm-stt: the speech-to-text core (hash cache, shared runs, ffmpeg and whisper-cli engine) 2026-11-11 23:10:17 +01:00