Skip to content

windows: publish symbols and validate runtime/module loading (#627) - #724

Merged
zackees merged 6 commits into
masterfrom
fix/627-windows-runtime-symbols
Oct 14, 2026
Merged

zackees merged 6 commits into
masterfrom
fix/627-windows-runtime-symbols

Conversation

@zackees

@zackees zackees commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Summary

Complete the remaining Windows package validation and symbols publication from #627.

  • Collect the separate matching symbols ZIP into the release artifacts for x64 and ARM64; fail if it is missing. The application ZIP remains free of PDBs.
  • Check Visual C++ runtime dependencies in the directories Windows actually searches, rather than accepting the same basename in an unrelated plugin directory.
  • Report the actual frontend log's loaded modules and require screen, camera, microphone and websocket modules, in addition to the existing saved-profile, protocol, screenshot, application identity and clean-shutdown checks.
  • On both native Windows architectures, remove vcruntime140.dll from a copy of the real package and require the package gate to reject it even when the hosted runner has the system redistributable. Preserve the existing real missing-camera mutation and all four config modes.
  • Explicit Rust selection is already implemented by merged frontend: isolate Rust beta app identity and migrate first-run settings #706; no source rewriting is used.

RED → GREEN

  • c2ea1f2bd: executes the real release collector; x64/ARM64 symbol archives are omitted and missing symbols silently succeed (three failures).
  • 7b4e15f58: collect both matching archives and fail on missing symbols; collector tests pass.
  • 4ce8bf06a: unrelated-directory runtime incorrectly satisfies the executable dependency; loaded-module verification is absent (one failure, two missing-function errors).
  • 6dff0b2dd: check actual loader directories and require/report the module checkpoint. All 25 focused tests pass.
  • 9226c7725: wire actual missing-runtime ZIP mutation into native release checks.
  • e19fe0101: execute that exact PowerShell mutation locally for both target fixtures; the real checker rejects the altered ZIP and the original archive is byte-for-byte preserved. This is mutation mechanics proof, not native package proof.

No public C headers, existing C tests or new workflow files changed.

Validation

  • ./lint: passed on the final mutation-test candidate (100.3 s).
  • 25 focused package/startup/symbol tests and the actual PowerShell mutation for both architecture fixtures: passed.
  • One reviewer across Python and CI buckets: clean, including actual Windows loader flags, log format, symbols upload and ZIP mutation.
  • ./unittest: Rust and cross-link tests passed (118.8 s); C tests passed OFF/ON (208 each), all 1,766 exports identical (165.0 s).
  • Attestation: all four lanes rerun and passed (653 s: lint 38.6, Rust 177.0, cross 223.8, Linux Tier 2 212.9). Stamped HEAD pushed unchanged: 3b808982eb34a6a035242f06e494fe50cfd74d1e, tree a4b5ee801dc7136ef43e6d7bdc597afed89919ab, based on 67465d2093bf427022cb55b2780eb2500ec27252.
  • Actual native x64/ARM64 packages and both runtime/plugin mutations are pending. This remains draft; local fixtures alone are not native package proof.

Fixes #627. Refs #635.

Native package evidence and retained failure

Exact-head run 38556183769, source 3b808982eb34a6a035242f06e494fe50cfd74d1e: both actual Windows architectures passed all four config modes, printed and verified loaded modules, rejected vcruntime140.dll removed from the real ZIP, and rejected the removed camera plugin. Both macOS packages built, and ARM native startup passed.

Intel macOS failed during the existing-config shutdown check. The owned PID29195 process sample places the main thread in Qt6.11.1 QCocoaIntegration::focusWindowChanged, calling NSWorkspace iconForContentType → Apple IconServices → synchronous XPC reply wait. Other OBS threads continued running. The failure is retained and no OBS/Qt shutdown fix is claimed. The unchanged native job is rerunning once on a fresh hosted runner because of the observed system-service wait; all assertions, modes and shutdown deadline remain intact. The PR stays draft until authoritative validation completes.

The one fresh-runner retry also failed in the same Qt/Apple icon path (PID 9704, native job 115840398922). This is now tracked as release blocker #725 and will be addressed before claiming the complete #635 gate. No further blind retries are planned.

Actual artifact inspection: x64 application ZIP contains no PDBs; its separate matching symbols archive contains 50 PDBs (553,394,176 uncompressed bytes), including obs64.pdb. ARM64 application ZIP contains no PDBs; its separate archive contains 45 PDBs (523,038,720 bytes), including obs64.pdb. Both canonical archives are present in the uploaded build artifacts. Symbols SHA256: x64 a940791bb2deba0493a071837be321b7347d872a915443d7d44e11af04647c8e; ARM64 c9d5dd19ef2f16eb958fdf10928777a683bb2dbcbd3d6bfe469bfdae1071da27. These are verify-only CI artifacts; no release publication is claimed.

Prerequisite merged and candidate rebased

Mac icon blocker #725 is fixed by merged PR #727 (e2f629530e380c97676cfe85cdc4d16a5c041175). Its exact-head full production run 38568634405 passed both macOS architectures in all four configuration modes within the unchanged startup/shutdown deadlines; both native logs persist the explicit icon policy. The merge queue also passed.

The Windows branch rebased cleanly onto that prerequisite and the merged host-driver fix #625. The same primary reviewer confirmed the seven-file Windows diff is preserved and clean: 27 focused tests and diff checks passed. Fresh ./lint passed (56.3 s); fresh ./unittest passed Rust/cross checks (123.1 s), both unchanged C lanes with 0 failures out of 208 and 1,766 identical exports (201.4 s). Fresh attestation passed all four lanes (474 s) and stamped 9e67014cf557184175a8289dac248622a19b0251, tree da338cd42998. This exact head is pushed, replacing prior 3b808982eb34a6a035242f06e494fe50cfd74d1e with an explicit force-with-lease after the prerequisite rebase. Full production verification of the rebased Windows candidate remains required before merge.

Routine PR CI 38576138872 completed success at rebased stamped head 9e67014cf557184175a8289dac248622a19b0251. Production verification 38576168810 remains running; native runtime GREEN is still pending on this combined candidate, so the PR remains draft.

Final combined candidate validation

Production verify-only 38576168810 completed success at exact stamped/pushed head 9e67014cf557184175a8289dac248622a19b0251. All five packages, the full release gate and all four AppImage distribution checks pass. Both native macOS jobs pass all four config modes and persist the explicit icon policy, resolving the prior release blocker without changing deadlines.

Native Windows x64 job 115909799038 and ARM64 job 115909799210 each pass fresh/default migration/custom migration/existing settings modes, preserve upstream settings, print the actual loaded module list including screen capture/camera/microphone/websocket, and shut down normally. Removing vcruntime140.dll from a copy of the actual release ZIP fails the real import checker despite the host redistributable; removing win-dshow.dll fails the live capture plugin check. These expected negative failures are present in the logs.

Downloaded final artifacts were inspected directly. Both canonical application ZIPs contain zero PDBs (x64 217,263,772 bytes; ARM64 193,721,418 bytes). Matching canonical symbol ZIPs contain 50 x64 PDBs (553,328,640 uncompressed bytes) and 45 ARM64 PDBs (522,973,184 bytes), including bin/64bit/obs64.pdb. Symbols SHA256: x64 e79a8c353c8b658d44659a22d8251a7fcfcdd41f8f638941050be56a56bfa8dd; ARM64 0d42f549a3c65b3f2e0c6005b62dda1cdd87fb6ac40f8547c33eddf0b120be99. These are actual verify-only artifacts; release publication is not claimed. Earlier pending statements describe historical runs and are superseded by this exact-head evidence.

Local-Gate: v1 tree=da338cd42998f2e03b42cdc69cae8619cf3572d5 secs=474 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run
Ci-Attestation: {"at":1791986165,"gate":"rust/all/fmt","host":"linux-x86_64","key":"661aded3184c3d839e6edb7d0557430274c0369bb8305900ff41a79304ec34d9","lane":"lint","parents":["0a51e8bd7297e4bc61128f3674f43480205ab56b"],"secs":92,"stamp":"28792eeb83286067d30d72dc6413a667","tree":"da338cd42998f2e03b42cdc69cae8619cf3572d5","v":1,"via":"run"}
Ci-Attestation: {"at":1791986165,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"661aded3184c3d839e6edb7d0557430274c0369bb8305900ff41a79304ec34d9","lane":"lint","parents":["0a51e8bd7297e4bc61128f3674f43480205ab56b"],"secs":92,"stamp":"4c2aa72f47ffd51e11e1d5f63b48c77a","tree":"da338cd42998f2e03b42cdc69cae8619cf3572d5","v":1,"via":"run"}
Ci-Attestation: {"at":1791986165,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"59fb9d957ea29b7bc4059539de7088fea1981e3de953bf29ada4035fc08e116b","lane":"rust-test","parents":["0a51e8bd7297e4bc61128f3674f43480205ab56b"],"secs":120,"stamp":"175a86869d6da8c178944cdd20e144cd","tree":"da338cd42998f2e03b42cdc69cae8619cf3572d5","v":1,"via":"run"}
Ci-Attestation: {"at":1791986165,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"1e732938208be3341223f6e9d8b1d26dec7831e18bf22cd274b04008775b7fd1","lane":"cross","parents":["0a51e8bd7297e4bc61128f3674f43480205ab56b"],"secs":114,"stamp":"075306225b185ae3cd32e56c3efda905","tree":"da338cd42998f2e03b42cdc69cae8619cf3572d5","v":1,"via":"run"}
Ci-Attestation: {"at":1791986165,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"1e732938208be3341223f6e9d8b1d26dec7831e18bf22cd274b04008775b7fd1","lane":"cross","parents":["0a51e8bd7297e4bc61128f3674f43480205ab56b"],"secs":114,"stamp":"167e064d01edb82985441d74250e6c15","tree":"da338cd42998f2e03b42cdc69cae8619cf3572d5","v":1,"via":"run"}
Ci-Attestation: {"at":1791986165,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"1e732938208be3341223f6e9d8b1d26dec7831e18bf22cd274b04008775b7fd1","lane":"cross","parents":["0a51e8bd7297e4bc61128f3674f43480205ab56b"],"secs":114,"stamp":"7876e7c392a956cd4fba2f8a9d8b0d3d","tree":"da338cd42998f2e03b42cdc69cae8619cf3572d5","v":1,"via":"run"}
Ci-Attestation: {"at":1791986165,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"1e732938208be3341223f6e9d8b1d26dec7831e18bf22cd274b04008775b7fd1","lane":"cross","parents":["0a51e8bd7297e4bc61128f3674f43480205ab56b"],"secs":114,"stamp":"11e75f2b2c82c7a8117f0ccfdd7fd572","tree":"da338cd42998f2e03b42cdc69cae8619cf3572d5","v":1,"via":"run"}
Ci-Attestation: {"at":1791986165,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"1e732938208be3341223f6e9d8b1d26dec7831e18bf22cd274b04008775b7fd1","lane":"cross","parents":["0a51e8bd7297e4bc61128f3674f43480205ab56b"],"secs":114,"stamp":"b3dc0bb2182aecfc9571bc54c0718107","tree":"da338cd42998f2e03b42cdc69cae8619cf3572d5","v":1,"via":"run"}
Ci-Attestation: {"at":1791986165,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"1e732938208be3341223f6e9d8b1d26dec7831e18bf22cd274b04008775b7fd1","lane":"cross","parents":["0a51e8bd7297e4bc61128f3674f43480205ab56b"],"secs":114,"stamp":"b19d7418b34cc89b11a6047476d22558","tree":"da338cd42998f2e03b42cdc69cae8619cf3572d5","v":1,"via":"run"}
Ci-Attestation: {"at":1791986165,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"9844d4159fe44cd231ebe52db2ba8886444b527a1501aec12f7209ac60f2d0bc","lane":"tier2-linux","parents":["0a51e8bd7297e4bc61128f3674f43480205ab56b"],"secs":147,"stamp":"13bdfc8d84f19c0c7d52e1279786e701","tree":"da338cd42998f2e03b42cdc69cae8619cf3572d5","v":1,"via":"run"}
@zackees
zackees force-pushed the fix/627-windows-runtime-symbols branch from 3b80898 to 9e67014 Compare October 14, 2026 13:56
@zackees
zackees marked this pull request as ready for review October 14, 2026 14:35
@zackees
zackees added this pull request to the merge queue Oct 14, 2026
Merged via the queue into master with commit a48a9a1 Oct 14, 2026
55 checks passed
@zackees
zackees deleted the fix/627-windows-runtime-symbols branch October 14, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

windows: The release never checks that the packaged zip starts appimage: Bundled GL/GBM/DRM/VA/Wayland libraries override the host driver stack

1 participant