Respect transcript logging settings in ZeroGPU error paths #846
All Vouch review confidence checks passed
Residual risk 0.11 = Change Risk (0.34) × (1 − Review Confidence (0.68)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.34 · 79 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.35 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.262
Real PR Conversation Timeline
2 items
Approved
Great catch! thank you 🙏
<img src="https://static.klipy.com/ii/39f2394ae36df6e199be9eb7c9fa1012/5f/38/PLaC0LIN.gif"/>
andimarafioti
salignatmoandal
Summary
ZeroGPU STT and TTS use
logger.exception()directly, so an exception containing conversation content writes that content and its traceback even with transcript logging disabled. This also affects the STT language-detection fallback.Before / after
| Before | After |
| --- | --- |
| ZeroGPU exceptions expose their message and traceback with transcript logging disabled. | Exception details follow the transcript logging setting; ERROR diagnostics and failure behavior are preserved. |
What changes
Use the existing
log_exception()helper at all three sites. Errors retain their ERROR level, diagnostic message and exception type; exception messages and tracebacks require explicit transcript logging. Failure events and fallback behavior are preserved.Related to #836, which reports the same logging-policy concern in the separate tool-call parser. This change covers the ZeroGPU paths, rather than the parser fix in #837.
Test plan
git diff --checkpass.Tests use synthetic exception content and stubbed workers; no live GPU or provider calls were made. The full repository suite was not run.