Repository navigation
chore(player): preserve Rhainland's Retry fix history - #640
Conversation
|
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 39 minutes. View limit detailsLimit details: You’ve used the included review currently available. Review configuration: ⚙️ Run configuration
📒 Files selected for processing (5)
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:
|
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:
|
A file the server can't read (zero-byte, corrupt or truncated) ends playback with a terminal outcome marked retryable: false, for example source_unreadable. The player still showed Retry, which started a new session that failed the same way every time. The player now keeps the retryable flag with the terminal error and shows only Go Back (Close on macOS) when it is false. Transport and engine failures stay retryable. So do the player's own recovery dead ends (attempt_limit_reached, replan_loop_detected, an unusable replacement plan): a flaky network can exhaust the replan ladder, and Retry starts a fresh session with a fresh ladder, which usually works. Found during the Series validation, silo-apple#337 C6.
The previous commit made every replan dead end retryable. Two of them are refusals the start path makes too, with retryable: false: server_upgrade_required (the server dropped authenticated media transport) and room_source_unavailable (the Watch Party's fixed media version is gone). After such a replan the error view offered Retry, and the fresh session it started failed the same way. replanDeadEnd now keeps those two reasons non-retryable. The player's own recovery dead ends (attempt_limit_reached, replan_loop_detected, invalid_replan and the other replacement-plan failures) stay retryable.
7382cdc to
30b5f1b
Compare
Problem
Related issue: #580
Validation tasks: #337 C6; behavior already shipped in #620
PR #620 already included both commits from this PR. This PR records Rhainland's Retry fix and regression tests as two rebased commits with the original authorship.
The fix hides Retry on iOS, tvOS, and macOS when the server marks a terminal playback failure as non-retryable. Transport failures and session-local recovery dead ends keep Retry; permanent start refusals keep it hidden. The damaged-episode list work in #580 remains open.
Validation
mainat4efc8cf3exactly. The current player views retain the reconnect action introduced in fix(player): reconnect and resume after a mid-stream server drop #620.git diff --checkandscripts/ci/check-no-api-v1.shpass.7382cdca.main.Risks
This merge records work already present on
mainand introduces no source changes.Checklist
AI Disclosure
claude-opus-5-5, Claude Code harness running in T3 Code; tools: Claude Code subagents, xcodebuild, Xcode Simulator (simctl, Maestro), GitHub CLI. Fully AI-generated, human verified, as disclosed by the original author.claude-opus-5-5) checked behavior, platform guards, tests, and commit hygiene. Its findings about recovery dead ends and the macOS Retry button were fixed before this rebase.gpt-6.1-sol, Codex harness running in T3 Code; tools: Git, GitHub CLI, Python, T3 Code MCP.Note
Preserve Rhainland's Retry fix history
Whitespace-only change to blank lines. No functional changes.
Macroscope summarized 30b5f1b.