Skip to content

fix: close out validated 3.6.1 maintenance fixes and Settings appearance - #236

Merged
swellweb merged 15 commits into
maint-3.6from
codex/maintenance-closeout-20261112
Nov 12, 2026
Merged

swellweb merged 15 commits into
maint-3.6from
codex/maintenance-closeout-20261112

Conversation

@swellweb

Copy link
Copy Markdown
Owner

Maintenance Closeout - 12 November 2026

Scope

The new report since the rc.2 publication is #235 (Settings in light appearance).
No PR was created after that publication; #234 (4.0) is still a separate proposal.
The new comments on #223 confirm users' Ventura workarounds, not a rebuilt and
certified Ventura distribution. Do not lower the bundle minimum on that basis.

PRs #219, #220, #222, #230, #231 and #232 were already cherry-picked into rc.2.
Their original heads are now merged into the maintenance history, preserving
the reviewed follow-ups. The combined tree before the appearance fix is exactly
the tree at 6180f35: no runtime changes were introduced by those six merges.
In particular, packet-level cooperative yield, explicit software HEVC capability,
fail-closed fallback, build stamps and the #224 menu-bar fix remain intact.

The appearance-only ff6c09c commit from #208 is cherry-picked with its original
author and attribution. No volume-key interception or local-output muting ships
as part of this fix. Settings follows the system appearance; the dashboard and
About window retain their existing dark appearance. The backdrop is a small
production view shared with the new offscreen rendering regressions.

Fresh Validation

  • Sender Debug build-for-testing succeeds.
  • All 200 Sender tests pass in an isolated command-line XCTest host, including
    four light/dark background and card/subcard contrast regressions. This is not
    a fresh application-hosted test run. The prior 196 app-host results remain
    documented separately in 3.6.1-rc.2-validation.md.
  • Sender Release universal build succeeds for arm64 and x86_64.
  • Light and dark production-style fixtures render and were visually inspected.
  • Receiver: 697 portable checks plus parser-yield regressions pass.
  • Production drain ASan/UBSan fixture passes ordered 100-packet resume,
    cooperative budget, EINTR and teardown checks; codec fallback and video-queue
    guards pass. All five localization catalogs and 13 negative checker cases pass.
  • Seven signing guard cases pass against the standalone Release app. An initial
    attempt on the Xcode test host failed its copied XCTest framework seal; that
    intermediate result is not counted as a distribution-signing failure or pass.
  • The count-only backlog gate has six offline regression tests. Its network
    requests select only GraphQL issueCount, never issue/PR content.

Deferred Work

PR Reason To Keep Open
#174 Opt-in Metal renderer; conflicting older base and separate renderer acceptance.
#176 Diagnostics protocol work; packet-ID collision with #225 remains unresolved.
#179 Fullscreen/sleep lifecycle needs controlled current-base wake acceptance.
#182 Active-session sleep policy conflicts and needs physical wake validation.
#185 Restricted control helper is a separate packaging/security change on an older base.
#201 Draft DPCM proposal; integration/codec/hardware acceptance is separate.
#208 Only its appearance commit is taken; audio controls remain unmerged.
#221 Window-lifecycle/minimization acceptance remains inconclusive locally.
#226 Draft 16:10 feature; physical corner/input/fullscreen acceptance is missing.
#229 Draft RGB10 feature; new transport/rendering and device-specific acceptance.
#234 Large 4.0 feature set, including audio-driver installation and sign-in mode.

Do not close unrelated support issues merely because this maintenance batch
merges. In particular, intermittent disconnects are not fixed by the appearance
change. No installed app, active session, privacy grant or power policy was
intentionally changed or restarted during this closeout.

Publication And Review Policy

This is a source-maintenance merge, not a stable-release approval. Existing
v3.6.1-rc.2 archives and tag are immutable and do not contain the appearance fix.
Stable signing/notarization, repository Actions (currently disabled), controlled
reconnect/sleep/cable/soak acceptance and older macOS support are still gates.

After this batch, freeze a new UTC baseline in the dedicated GitHub automation.
Only count items created after that baseline, including already-closed items;
old open backlog, updates and reopened items do not count as new submissions.
Resume content review only when new PRs >= 10 AND new issues >= 10.
The Reddit monitor is independent and unchanged.

Betafer and others added 15 commits October 17, 2026 21:14
Use Xcode's resolved build version for the generated footer and forward
explicit TB_SENDER_BUILD overrides through the packaging helper.
Extend the existing version regression test to cover CFBundleVersion.
startCapture() is async, and the first encoded frame can arrive while it is
suspended. handleFirstEncodedFrame then sets captureActive and
sessionAckSent. When startCapture returned, the status was set to
captureStartedWaitingFirstFrame unconditionally, overwriting captureActive.
handleFirstEncodedFrame runs only once per capture, so the status then read
"waiting for the first frame" for the whole stream, although the picture was
on the receiver.

The watchdog already guards this case (startFirstFrameWatchdog returns when
sessionAckSent is true); the status now gets the same guard.

Seen on an iMac18,3 receiver: after a picture-preset change or a replug the
stream was up, but the status kept saying it was waiting for the picture
(3 of 4 preset changes). The first frame was logged 175-375 ms after
"pipeline started".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Decode every VideoToolbox frame (the HEVC reference chain must stay
intact) but upload and present only the newest one, so a backlog after a
keyframe burst or a slow present is skipped instead of being rendered one
22 MB 5K upload at a time.

- Retain the newest CVPixelBuffer, release any older pending one; present
  once per main-loop pass; drop the pending frame on disconnect and exit.
- Bound each socket drain pass to 8 ms (TB_DRAIN_BUDGET_MS) so presenting
  is never starved.
- Request an 8 MB socket receive buffer, falling back to 6 MB then 4 MB.
- FPS log reports decoded and skipped-stale counts when skipping happens.

Software/VAAPI decode and the raw NV12 passthrough path are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The 5K 60 profile emitted a keyframe every second. Each one is a large
burst that pushes receiver decode past its frame budget, so the stream
stalled exactly at keyframes. For native5k60Experimental only:

- keyframe every 4 s (maxKeyFrameIntervalDuration 1 -> 4,
  maxKeyFrameInterval 60 -> 240)
- peak bit rate of 1.5x average (225 Mb/s) via
  kVTCompressionPropertyKey_DataRateLimits over a 1 s window; if the
  encoder rejects it we log and continue with average-only (old behaviour)

Stable profiles keep their previous tuning (covered by
testStableProfilesKeepPreviousEncoderTuning).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
tb_dec_supports_hevc_hwdecode() only checked that FFmpeg has a VideoToolbox
hwaccel config and that a hwdevice context can be created. Both succeed on
Macs without an HEVC decode block, where VideoToolbox silently falls back to
its software decoder. The receiver then advertised supportsHEVCDecode=1 and
the sender's automatic codec choice picked HEVC, which a 2014 iMac 5K can
only decode on the CPU (VTDecoderXPCService at ~120% CPU, laggy pointer).

Ask VideoToolbox directly with VTIsHardwareDecodeSupported (macOS 10.13+).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…size

With the receiver now advertising HEVC only when it has a hardware decoder,
an automatic 5K session to e.g. a Haswell iMac would find no codec at all:
Apple Silicon has no hardware H.264 encoder at 5120x2880, and HEVC is no
longer marked available. Fall back to HEVC (software-decoded on the receiver)
so such sessions keep working exactly as before, while sizes H.264 can encode
now get hardware-decoded H.264.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Settings window never set a colour scheme, so on a Mac in light mode its
controls were light while the background and cards stayed dark.

The background now matches the current appearance, and the shared card style
tints with the primary colour instead of white. The dark main window looks
exactly as before, and a light window gets soft grey cards.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
(cherry picked from commit ff6c09c)
…w batch

Extract the adaptive backdrop for offscreen light/dark contrast regressions. Preserve the original appearance author commit and record deferred work without claiming stable-release acceptance. Add a count-only AND gate for the next 10 PRs and 10 issues.

Fixes #235. Fixes #224.
@swellweb
swellweb merged commit 542b867 into maint-3.6 Nov 12, 2026
swellweb added a commit that referenced this pull request Nov 12, 2026
Validated maintenance closeout from #236. 200 Sender CLI tests and universal Release build pass; stable-release gates remain open. No release assets or installed apps changed. Fixes #224. Fixes #235.
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.

6 participants