cli: show HTTP status/body on transcription backend failures #2

Merged
space merged 1 commits from fix/whisper-remote-http-error-message into main 2026-05-25 19:40:14 +02:00
Collaborator

Summary

  • improve CLI error reporting when backend returns non-2xx
  • include request URL, HTTP status code, and response body snippet
  • add tests covering the new error surface

Why

Previously users only saw a generic Internal Server Error, which hid actionable backend context. This change makes failures diagnosable from a single run.

Testing

  • cd cli && pytest -q
## Summary - improve CLI error reporting when backend returns non-2xx - include request URL, HTTP status code, and response body snippet - add tests covering the new error surface ## Why Previously users only saw a generic `Internal Server Error`, which hid actionable backend context. This change makes failures diagnosable from a single run. ## Testing - cd cli && pytest -q
luna added 1 commit 2026-05-25 19:37:17 +02:00
cli: surface HTTP status and body on backend errors
All checks were successful
CI / Backend (pull_request) Successful in 32s
CI / CLI (pull_request) Successful in 10s
2b1c26781e
Owner

@codex review

@codex review
First-time contributor

👀 Codex review queued for commit 2b1c267.

👀 Codex review queued for commit `2b1c267`.
First-time contributor

No PR-introduced issues found in the specified diff. The CLI error-formatting change is internally consistent and covered by new unit tests; the README/docker-compose changes are documentation/infrastructure removal only and do not introduce code defects in the reviewed scope.

Note: model gpt-5.3-codex, input 32913, output 1173 tokens used.

ℹ️.codex-review.yml is not configured

<!-- codex-review:head_sha=2b1c26781e14a7f09161f057b6d8fde59697abe8 --> No PR-introduced issues found in the specified diff. The CLI error-formatting change is internally consistent and covered by new unit tests; the README/docker-compose changes are documentation/infrastructure removal only and do not introduce code defects in the reviewed scope. _Note: model `gpt-5.3-codex`, input `32913`, output `1173` tokens used._ > ℹ️.codex-review.yml is not configured
space merged commit 44af756bd3 into main 2026-05-25 19:40:14 +02:00
space deleted branch fix/whisper-remote-http-error-message 2026-05-25 19:42:28 +02:00
Sign in to join this conversation.
No Reviewers
No Label
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: space/whisper-remote#2