Unify offline detection + offline playlist UX (NetworkStatusController) #86

Merged
bvandeusen merged 8 commits from dev into main 2026-06-05 13:27:36 -04:00
Showing only changes of commit e185b36138 - Show all commits
@@ -109,7 +109,10 @@ class NetworkStatusController @Inject constructor(
Intent.OpSuccess -> machine.onSuccess()
Intent.OpFailure -> {
machine.onOpFailure(now)
probeOnce() // arbitrate: let /healthz decide if this is real
// Arbitrate off the reducer thread: awaiting a stalled
// /healthz here would block a concurrent self-proving
// success from snapping us straight back to Healthy.
scope.launch { probeOnce() }
}
}
emit(machine.health())