Repository navigation
fix(player): show why an AI subtitle job failed after its dialog closed - #545
Conversation
A failed AI subtitle job reported its reason only inside the AI sheet (phone) or dialog (TV). Closing it while the job ran, which the sheet invites, meant the failure was never seen: the phone cleared the error on close, and TV reset the dialog to an empty form when it was reopened. The phone now shows the reason in the player's notice, which fits a long reason in landscape; TV shows it in the player's message toast for ten seconds; and reopening the TV dialog keeps the failure and its reason. Loading other content clears the TV phase, so another episode never inherits the previous job's progress or failure.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 55 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6b0edf89fd
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Problem
Related issue: Silo-Server/silo-server#1163
Validation tasks: unblocks #327 C4, #328 C4
A failed AI subtitle job reported its reason only inside the AI sheet (phone and tablet) or dialog (TV). Viewers usually close it while the job runs, and then the failure was never seen: the phone cleared the error when the sheet closed, and TV reset the dialog to an empty form when it was reopened.
Approach
When the job fails while the sheet is closed, the phone shows "AI subtitles failed." with the reason in the player's notice, which fits a long reason in landscape. TV shows it in the player's message toast for ten seconds. Reopening the TV dialog keeps the failure and its reason, and the form stays usable for a new request; loading other content clears it so another episode never inherits the previous job's state.
Validation
Evidence
Evidence: https://evidence.siloserver.org/r/silo-android/pr-545/
Surface and build: Android phone, tablet and TV emulators, with short recordings; before = main 747efff, after = this branch.
Risks
None identified.
Checklist
AI Disclosure