Skip to content

[bug] AI subtitle dialog keeps the old transcription count after a failed job #1075

Backlog

Description

@Quick104

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

  1. Set a transcription quota (for example 10 per day) and play a title whose audio has no speech.
  2. On an Android phone, open Audio & Subtitles, then the AI dialog, choose From audio, and Generate.
  3. When "No speech was recognized in this audio track." appears, read the remaining count in the same dialog, then compare with GET on 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).

Evidence: https://evidence.siloserver.org/r/silo-android/v1-validation-327/

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-5 agent traced the code path above.

Activity

  1. added
    bug
    on Nov 26, 2026
  2. added
    impact: polish
    priority: P2
    triaged
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugimpact: polishpriority: P2triaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions