fix(config): partial TTS config warns + disables, not crashloop #90
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jlxq0/matrix-mcp!90
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/tts-partial-config-warns-instead-of-bails"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #89. A partial
(MATRIX_MCP_TTS_BASE_URL, MATRIX_MCP_TTS_BEARER_TOKEN)at boot used to bail out ofConfig::from_env(), which would crashloop the pod. Realistic cause is an ESO race during a rollout — one env var lands before the other — so a transient race shouldn't take the whole server down.Now: log a warning, return
Ok(None).send_tts_voice_messagereturnsinvalid_paramsfor as long as the secret is incomplete; the rest of the server keeps serving.Test plan
cargo fmtcargo clippy --all-targets -- -D warningscargo test(161 passed)🤖 Generated with Claude Code