Skip to content

fix(maint-3.5): integrate idle lifecycle, watchdog and monitor shielding fixes - #191

Merged
swellweb merged 7 commits into
maint-3.5from
codex/maint-3.5-integration
Sep 5, 2026
Merged

swellweb merged 7 commits into
maint-3.5from
codex/maint-3.5-integration

Conversation

@swellweb

@swellweb swellweb commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Scope

Integrate #171, #172, #173, #180 and #186 on top of maint-3.5, keeping the original commits and contributor authorship. No changes to main and no release/tag change.

  • Allow display sleep before the first Receiver session.
  • Open the Receiver audio device lazily and release it when the session ends.
  • Guard the idle watchdog against clock underflow.
  • Support build/version overrides and Release app packaging.
  • Keep local notifications behind the active monitor window across fullscreen/display transitions.

Integration follow-up: repeated monitor-shield activation now preserves the generation and scheduled retries rather than resetting them on each input-state refresh. Added a macOS AppKit lifecycle test, a documented make test-monitor-shield target, and ignored generated test binaries. The only cherry-pick conflict combined the idle-sleep and lazy-audio startup changes.

Validation performed

  • Sender Release build and bundle signature verification passed on Apple Silicon, macOS 15.5.
  • Sender unit tests: 111 passed, 0 failed, 0 skipped.
  • Receiver native Intel app build and bundle signature verification passed on the actual iMac, macOS 14.8.5; native SDL2 bundled.
  • Receiver portable tests passed on Apple Silicon and Intel: 67 parser + 562 input queue + 12 watchdog + 13 display-profile checks per architecture.
  • AppKit monitor-shield lifecycle test passed on both architectures: repeated activation, bounded retries, notification-driven restoration and teardown cleanup.
  • Shared localization validation passed for de/en/fr/it/zh.
  • Real Thunderbolt session from MacBook to Intel iMac: Sender reported active 5120 x 2880 HEVC at the 48-FPS preset. Instantaneous telemetry varied; the last reading was 46 FPS, not a sustained-performance guarantee.
  • Stop removed the Receiver audio/system-sleep and display-sleep assertions; reconnect restored video transmission and opened the audio device again.
  • Protocol tests against the installed iMac Receiver passed: silent peer disconnected after 10.01 seconds, malformed packet rejected, reconnect after partial-packet disconnect, clean teardown.

Both installed test apps identify as 3.5.1, build 2026090501 in their version display. These are integration test builds, not a new public release.

Remaining acceptance checks

Keep this PR in draft until the user confirms audible playback and physical Receiver-master mouse/keyboard behavior. Device opening/closing does not prove sound quality or input correctness. Also verify actual notification banners, long-running stability and physical sleep/wake; the AppKit test does not replace those checks. Initial local Screen Recording permission issues were resolved sufficiently for the real stream to start.

Do not close the five source PRs until this integration is accepted and merged.

Thanks @Betafer for the focused fixes and build improvements. The original author credit is preserved in the integration commits.

@swellweb

swellweb commented Sep 5, 2026

Copy link
Copy Markdown
Owner Author

CI is now green for all four jobs: Sender and Receiver on both Apple Silicon and Intel. The local/native-iMac tests and Thunderbolt lifecycle checks are recorded above. Keeping this draft pending the remaining physical input, audible playback, notification and sleep/wake acceptance checks; the source PRs remain open until integration is accepted.

@swellweb

swellweb commented Sep 5, 2026

Copy link
Copy Markdown
Owner Author

Maintainer acceptance update: the installed integration build appears to work correctly in normal use, and proceeding with the maintenance integration has been approved. README and complete 3.5.1 notes are now included, with native cursor behavior described accurately. The previous acceptance hold is lifted; waiting for CI on the documentation commit before merging into maint-3.5. Thanks again @Betafer.

@swellweb

swellweb commented Sep 5, 2026

Copy link
Copy Markdown
Owner Author

Merged into maint-3.5; source PRs #171, #172, #173, #180 and #186 are now closed as incorporated. The v3.5.1 release workflow completed successfully and the release is prepared in draft with all four app archives and full notes. Downloaded artifacts were checked for version 3.5.1, correct arm64/x86_64 architecture and bundle signature integrity. main remains unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants