feat(library): call the button Wake Host and tell a sleeping host from one with Polaris down - #284
Merged
Merged
Conversation
…m one with Polaris down Start Polaris sent a wake packet and waited for Polaris to answer. That is all a client can do; it cannot start Polaris on a machine that is already awake. So when a host had Polaris quit from the tray, the button woke nothing, waited thirty seconds, and said Polaris did not come online, which read as a failure of the button. The button is now Wake Host. Before waking, the coordinator asks the machine itself: a TCP connect to the streaming port is refused within milliseconds by an awake host with nothing listening and answered by nothing on a sleeping one. An awake host with Polaris down is not woken and is reported as such within ten seconds, with the fix named: start Polaris on the host or enable headless boot. A silent host still gets the packet and the full boot budget, and the timeout message says that a wake packet only reaches a sleeping host from its own network, which is the case a phone on the road runs into. The probe tries every address Nova knows for the host so a VPN or manual entry is not misread as asleep because the LAN address is out of reach.
papi-ux
added a commit
that referenced
this pull request
Sep 7, 2026
Matched client for Polaris 1.4.4. Everything on master since 1.4.3: Wake Host (#284), the Command Center that leads with the verdict's explanation, the Slim sparkline bar, and Debug's decode and network rows (#283, #285), the Stats Overlay fix, and the honest Play and Doctor labels from this branch. versionName 1.4.4, versionCode 46. The Unreleased section becomes the dated 1.4.4 section with a one-line summary and the same bullets, the store notes for build 46 fit under 500 code points, and NovaReleaseMetadataTest pins all of it. The label fixes in the same PR: Three labels that stopped being true once the surfaces around them changed. The library's Continue card said Resume whether or not the host was still running the game. The kicker already told the truth (Continue, Live, or Watch) and the summary said "Pick up where you left off", but the button promised a resume and then launched. Resume now appears only while the host is running that game; otherwise the button says Play. The Watch branch is unchanged. The Doctor card led the Command Center after #285, and its first line of advice repeated its own title: "Streaming telemetry looks ready" over "Try first: Streaming telemetry looks ready. Keep this page open...". The host's first-try line usually opens by restating the finding, so the state builder now drops that opening sentence and keeps the advice that follows it. A first-try line that only restates the title disappears rather than saying it twice; one that merely starts with the same words as a longer word is left alone. The Command Center subtitle still promised "Quick keys and controls" when Quick Keys became the last panel. It now reads "Session controls for Private Stream" and "Session controls for virtual display streaming"; the generic fallback reads "Stream health, tuning, and session controls". HonestLabelsSourceGuardTest pins the hero verb and the subtitles; the Doctor dedupe has unit coverage for the repeated, bare, unrelated, and prefix-only cases.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Exact candidate
Commit:de14895Tree:041beb80edacbabf644d59146505ab4178d6ae55Parent:90ac578Base:90ac578 (master)Verification
:app:testNonRoot_gameDebugUnitTest(x86_64): 1615 tests, 0 failures, 0 errors (PolarisStartupCoordinatorTest 10, WakeHostSourceGuardTest 2):app:lintNonRoot_gameDebug -PlintFailOnError=true: clean:app:assembleNonRoot_gameDebug(arm64-v8a), installed on the Retroid Pocket 6 ascom.papi.nova.debugpolaris.servicestopped on pc-papi and no stream live, pressing it produced the awake-but-down message about 8 s after the press (screenshot); after starting the service, pressing it again opened the library within 3 s.Not covered