Repository navigation
feat: discover and authenticate Sunshine hosts - #405
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #405 +/- ##
==========================================
+ Coverage 88.81% 89.68% +0.87%
==========================================
Files 82 83 +1
Lines 9446 9493 +47
Branches 4066 4149 +83
==========================================
+ Hits 8389 8514 +125
+ Misses 948 867 -81
- Partials 109 112 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 6 files with indirect coverage changes Continue to review full report in Codecov by Harness.
|
Build artifactsArtifacts from workflow run 47579343160:
You must be signed in to GitHub to download workflow artifacts. |
ReenigneArcher
left a comment
There was a problem hiding this comment.
I found three issues in the host lifecycle that should be fixed before merging. They affect saving a pin after pairing from a host tile, recovering from a changed certificate, and ordering saved probes ahead of discovered endpoint changes.
The Windows UCRT64 build and all 571 registered tests passed on this head. The suggested changes were reviewed by inspection.
Review completed by Codex | Model: gpt-6.2-sol | Thinking: xhigh
ReenigneArcher
left a comment
There was a problem hiding this comment.
The previous three findings are fixed on this head. Pairing saves the full host identity, Pair Again can open for a host marked offline, and the probe queue captures results and completion under the same lock.
One issue remains before merging. A saved and authenticated alternate address is discarded when another saved instance shares the certificate. The Windows UCRT64 build, all 573 registered tests, and git diff --check passed. A focused regression reproduced the remaining issue and passed with the inline suggestion in a temporary build.
Review completed by Codex | Model: gpt-6.2-sol | Thinking: xhigh
ReenigneArcher
left a comment
There was a problem hiding this comment.
The earlier findings stay fixed on this head. The remaining code-review blockers are two cpp:S3776 findings in the live SonarQube quality gate. The inline comments show focused refactors. All 80 client-state tests passed with both suggestions in a temporary Windows build. Hosted SonarQube will need to confirm the reduced scores after a fix is pushed.
The Windows UCRT64 build, all 580 registered tests, the local Xbox release build, and git diff --check passed on this head. The failed iOS, tvOS, and macOS x86_64 jobs stopped while cloning dependencies before compiling the client.
Review completed by Codex | Model: gpt-6.2-sol | Thinking: xhigh
|



Description
Add automatic Sunshine discovery on desktop, mobile, and TV, with manual entry still available. Desktop, mobile, and TV support IPv4 and IPv6, including scoped link-local addresses. The original Xbox continues to discover and connect over IPv4.
Save the server certificate verified during PIN pairing and pin subsequent HTTPS requests. Verify the certificate before moving a saved host to a newly discovered address or port. Keep distinct Sunshine instances on the same IP separate, including instances listening on different ports. A verified dual-stack host can use a single tile and fall back to its alternate address. Existing pairings can establish a pin with Host Actions → Pair Again.
Screenshot
Issues Fixed or Closed
Roadmap Issues
Testing
ctest --test-dir cmake-build-client-ucrt64 --output-on-failurepassed all 571 tests. Regression coverage includes same-IP instances, certificate pinning and relocation, a shared certificate, dual-stack failover, and scoped IPv6 input.Type of Change
Checklist
AI Usage
See our AI usage policy.