fix(player): hide diagnostic breakdown UI and skip probes when offline - #140
Conversation
…gnostics when offline
|
Claude finished @syed-tp's task in 4m 1s —— View job Claude finished reviewing this PRTodo list:
SummaryReviewed all 4 changed files:
Regression assessment: No regressions found in playback, DRM, offline downloads, seeking, track selection, or lifecycle handling — the changes are scoped to the error-diagnostics path only. The one real concern is the latency regression in Code quality: Clean, well-scoped diff with clear intent. Final VerdictNo blocking correctness, regression, lifecycle, or security issues. The |
|
@claude review Check the comments, review and post the verdict |
|
Claude finished @syed-tp's task in 3m 11s —— View job Reviewing PR #140
Verdict: ✅ Approve, with two minor follow-ups worth addressingThe core change is sound: gating on Two things I'd fix before/after merge: 1. Fast path overrides 2. Fast-path Neither issue affects the offline-UI behavior described in the PR (diagnostics list is correctly hidden either way), so I wouldn't block on these, but they're worth a quick follow-up since they affect the public error-reporting contract. |
Why:
What Changed:
diagnostics.internetReachableis false.probeInternetfirst and bypass downstream DNS, Server, and CDN probes when internet reachability fails.isSystemNetworkConnectedhelper method using NetworkCapabilities.Impact: