refactor: pairing flow, pairing tests, and inline struct comments - #5602
Conversation
Bundle ReportBundle size has no change ✅ |
a617e7b to
5679995
Compare
Extracted `getservercert` handling into a dedicated pairing-session helper, tightened locking by switching shared mutex globals to accessor-backed statics, and cleaned up several C++ initializations/guards for clarity. Pairing IDs now use explicit hex alphabet generation, config HTTP cancel-pairing now catches JSON-specific exceptions, and test-only HTTP pairing entry points were added. Unit coverage was expanded substantially for HTTP pairing behavior (pending/cancel, duplicate/full capacity, console PIN success/failure/expiration), session removal, and client-auth state assertions.
5679995 to
249081d
Compare
Add `///<` member-level documentation across config, networking, streaming, and platform-specific structs/unions (Linux VAAPI/audio and Windows input/display). This improves code clarity and satisfies stricter Doxygen coverage requirements without changing runtime behavior.
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5602 +/- ##
==========================================
+ Coverage 36.84% 37.26% +0.41%
==========================================
Files 104 104
Lines 25852 25880 +28
Branches 11420 11419 -1
==========================================
+ Hits 9526 9644 +118
+ Misses 13442 13428 -14
+ Partials 2884 2808 -76
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 13 files with indirect coverage changes Continue to review full report in Codecov by Harness.
|
Screenshot ComparisonPR #5602 screenshots vs Matrix:
|


































































Description
Extracted
getservercerthandling into a dedicated pairing-session helper, tightened locking by switching shared mutex globals to accessor-backed statics, and cleaned up several C++ initializations/guards for clarity. Pairing IDs now use explicit hex alphabet generation, config HTTP cancel-pairing now catches JSON-specific exceptions, and test-only HTTP pairing entry points were added. Unit coverage was expanded substantially for HTTP pairing behavior (pending/cancel, duplicate/full capacity, console PIN success/failure/expiration), session removal, and client-auth state assertions.Screenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage
See our AI usage policy.