Repository navigation
Description
What happened
After an AI transcription fails in a way that still uses up an allowance (for example "No speech was recognized"), the open dialog keeps the old count. The phone showed "8 of 10 transcriptions left" while the server reported 7; reopening the dialog showed "7 of 10".
Steps to reproduce
- Set a transcription quota (for example 10 per day) and play a title whose audio has no speech.
- On an Android phone, open Audio & Subtitles, then the AI dialog, choose From audio, and Generate.
- When "No speech was recognized in this audio track." appears, read the remaining count in the same dialog, then compare with
GETon the AI quota endpoint or reopen the dialog.
Expected behavior
The count updates after a job ends, so the dialog shows what is really left (here 7 of 10).
Actual behavior
The dialog keeps "8 of 10" until it is closed and reopened.
Cause
The phone refreshes the quota only when the sheet opens and after a 429 (AiTranslateSheet.kt:106-108, PlayerViewModel.kt:6039). A successful job closes the sheet, so only a failed job leaves a stale count on screen. The server counts a failed transcription once it has made progress (pgrepo.go:48-51 in silo-server), which is why the count moved. Android TV has the same pattern (TvPlayerViewModel.kt:7013-7014, :7341).
Silo version / commit
silo-android bbbfdeeb5 (debug, Pixel 8 emulator, API 36), server 2970 · a16a24720. Found during agent runtime testing for validation task #327 (C4).
AI disclosure
- AI harness: Claude Code (in T3 Code).
- AI tools: GitHub CLI, agent-device.
- AI models:
claude-sonnet-5-5(testing),claude-opus-5-5(verification and this report). - AI involvement: fully AI-generated. No person has reproduced it yet; filed at the maintainer's direction.
- Independent review: a separate
claude-opus-5-5agent traced the code path above.
Activity