Repository navigation
feat(infer): keep the speech service operator checks in scripts/speech (#1006) - #1028
Merged
Merged
Conversation
#1006) The five helpers written to walk the speech service's DevOps-gate Test Plan (STT auto-detect, TTS listening, batch + quiet alerts across a GPU hand-over, private exposure, benchmark) lived in a reaped workspace's gitignored scripts/tmp. They are reusable for any later change to speech, gpu-switcher or the GPU sharing, so they move here with a README. They locate the repo from their own path and fall back to the main checkout for the gitignored .env_hop and kubeconfig; no personal paths. The TTS check now defaults to the preloaded Piper voices for de/el. test_speech_operator_scripts.py keeps them parseable, executable, documented and free of machine paths. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Keeps the speech service's operator checks in the repo, in
scripts/speech/with a README. They were written to walk #1006's DevOps-gate Test Plan, and they lived in the gate workspace's gitignoredscripts/tmp/, which fr reaped once the housekeeping PR merged.speech-stt-check.shspeech-tts-check.sh--kokoro-onlyfor the old comparison)speech-batch-alerts-check.sh--record N), an optional ComfyUI cycle, then Grafana alert history (with a preflight that the merged rules are live)speech-exposure-check.shspeech-benchmark.shscripts/speech-benchmark/run.pywith the VRAM baseline and samplingEach script prints a one-line, colon-free answer for
fr ops gate. The README also records what these checks learned along the way: long recordings must use the in-cluster service, Grafana reads rules only at boot, Pending is not firing, cold versus warm latency, and the LAN wildcard.Changes from the scratch versions:
.env_hopand.talos/kubeconfig (an fr worktree has neither).Guard:
scripts/tests/test_speech_operator_scripts.pychecks that every script parses, is executable, is listed in the README, and carries no machine path.Tests: 73 targeted tests pass locally.
speech-exposure-check.shwas re-run live from an fr worktree and passed.Refs #1006 #1024
🤖 Generated with Claude Code