Skip to content

libobs: characterize and extract hotkey background status notification (Refs #5301) - #5305

Merged
zackees merged 2 commits into
masterfrom
test/5301-hotkey-background-status
Nov 20, 2026
Merged

zackees merged 2 commits into
masterfrom
test/5301-hotkey-background-status

Conversation

@zackees

@zackees zackees commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

obs_hotkeys_background_status_changed was embedded in the hotkey monolith, preventing an independent whole-file Rust swap. This C-only prerequisite characterizes its current behavior and moves the body verbatim into libobs/obs-hotkeys-background-status-changed.c.h, following #5287. The alphabetical core group, all 11 isolated hotkey consumers, canonical graph, tests.d pointer and expected inventories retain the same definition.

The C-source fixture pins missing-core/missing-handler no-ops, exact handler identity and signal name, NULL payload, repeated notifications, handler replacement, synchronous callback reentry and removal of the current core during delivery. It allocates and frees real signal handlers, starts no threads and reserves the sibling-style external seam for the later Rust swap.

The original C snapshot passed 25 repeats per library before RED commit b8520097188d failed on the missing extraction include. Published GREEN abd75be38eb90fd30b1d2dd5d5ba7df7f1704449 has the identical source tree validated locally at 8ab2aede6. The registered CTest fixture passed 25 repeats against each rebuilt library. All 68 configured Linux Rust-static targets linked with -k 0, both libraries expose the same 1,769 symbols, all 322 native_build:: tests passed, and 37 focused Python checks passed. One-agent pre-push review is clean. The single full SOLDR_PORCELAIN=0 ./lint passed in 748.2 seconds.

The focused Linux harness initially stopped after successful linking/export checks because its auxiliary loader probe expects the omitted test_bitstream executable. The registered fixture was then run directly against each built library; this is focused coverage, not a claim that the complete stock harness or entire cmocka suite ran. Native Windows/macOS execution and local cross-link checks are not claimed.

Both publications passed six-target client lint but produced partial prooft evidence. RED's apt-cache readiness self-test failed under parallel load and passed a focused rerun. GREEN's timeout-output self-test missed its marker, and the sanitizer concurrency self-test took 1.563 seconds against a 1.5-second threshold. All 51 tests in those two modules passed their focused rerun, and both modules also passed in the full lint run. Ordinary required PR CI remains enabled; hosted results have not been awaited.

Fresh merge simulations are clean against current master, #5246 and #5061; #5280 has the same three inherited conflicts against master and this branch. No held support files, Rust implementation, existing C tests, public headers, workflows or WebSocket code change. Unit-specific Rust Tiers 1/3 belong to follow-up #5303; network Tier 4 does not apply. Refs #5301.

…5301)

Ci-Attestation: {"at":1795132191,"gate":"general/all/client-lint","host":"linux-x86_64","key":"26731d2527dd6fb245dd0bfe1e9bc426256ba8af73c653567f46adb50292653d","lane":"client-lint","parents":["3ac5abf7cd65212009531f8655f5ba8aeee5314e"],"secs":1068,"stamp":"1dac891aefc141eadf3746a7b75a5d0b","tree":"793501b1c86ce12f2185fce763a2251c5bd858d1","v":1,"via":"run"}
Ci-Attestation: {"at":1795132196,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"26731d2527dd6fb245dd0bfe1e9bc426256ba8af73c653567f46adb50292653d","lane":"client-lint","parents":["3ac5abf7cd65212009531f8655f5ba8aeee5314e"],"secs":1068,"stamp":"23e0aaed11adde8c61ef22a268b380a0","tree":"793501b1c86ce12f2185fce763a2251c5bd858d1","v":1,"via":"run"}
Ci-Attestation: {"at":1795132196,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"26731d2527dd6fb245dd0bfe1e9bc426256ba8af73c653567f46adb50292653d","lane":"client-lint","parents":["3ac5abf7cd65212009531f8655f5ba8aeee5314e"],"secs":1068,"stamp":"fbdd22fb6d4f254f7e7c76e88cfc97e6","tree":"793501b1c86ce12f2185fce763a2251c5bd858d1","v":1,"via":"run"}
Ci-Attestation: {"at":1795132193,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"26731d2527dd6fb245dd0bfe1e9bc426256ba8af73c653567f46adb50292653d","lane":"client-lint","parents":["3ac5abf7cd65212009531f8655f5ba8aeee5314e"],"secs":1068,"stamp":"620e0ef281bc96494bc6315068654a7e","tree":"793501b1c86ce12f2185fce763a2251c5bd858d1","v":1,"via":"run"}
Ci-Attestation: {"at":1795132194,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"26731d2527dd6fb245dd0bfe1e9bc426256ba8af73c653567f46adb50292653d","lane":"client-lint","parents":["3ac5abf7cd65212009531f8655f5ba8aeee5314e"],"secs":1068,"stamp":"b856dc25785012b8dcffa2e5f7bde0c4","tree":"793501b1c86ce12f2185fce763a2251c5bd858d1","v":1,"via":"run"}
Ci-Attestation: {"at":1795132192,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"26731d2527dd6fb245dd0bfe1e9bc426256ba8af73c653567f46adb50292653d","lane":"client-lint","parents":["3ac5abf7cd65212009531f8655f5ba8aeee5314e"],"secs":1068,"stamp":"976cf017d85c0cde22bfa84c260f7283","tree":"793501b1c86ce12f2185fce763a2251c5bd858d1","v":1,"via":"run"}
Ci-Attestation: {"at":1795132192,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"26731d2527dd6fb245dd0bfe1e9bc426256ba8af73c653567f46adb50292653d","lane":"client-lint","parents":["3ac5abf7cd65212009531f8655f5ba8aeee5314e"],"secs":1068,"stamp":"5f2fd497a7cd889bde45deba5f03e45b","tree":"793501b1c86ce12f2185fce763a2251c5bd858d1","v":1,"via":"run"}
Ci-Attestation: {"at":1795132195,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"26731d2527dd6fb245dd0bfe1e9bc426256ba8af73c653567f46adb50292653d","lane":"client-lint","parents":["3ac5abf7cd65212009531f8655f5ba8aeee5314e"],"secs":1068,"stamp":"dbb5ce1fcd620353c5e25129d8d12b88","tree":"793501b1c86ce12f2185fce763a2251c5bd858d1","v":1,"via":"run"}
Ci-Attestation: {"at":1795132195,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"26731d2527dd6fb245dd0bfe1e9bc426256ba8af73c653567f46adb50292653d","lane":"client-lint","parents":["3ac5abf7cd65212009531f8655f5ba8aeee5314e"],"secs":1068,"stamp":"ccd0738c130671c1837df92f3e9009ba","tree":"793501b1c86ce12f2185fce763a2251c5bd858d1","v":1,"via":"run"}
Ci-Attestation: {"at":1795132193,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"26731d2527dd6fb245dd0bfe1e9bc426256ba8af73c653567f46adb50292653d","lane":"client-lint","parents":["3ac5abf7cd65212009531f8655f5ba8aeee5314e"],"secs":1068,"stamp":"0fb1674faf15222cab3db691da3e6e45","tree":"793501b1c86ce12f2185fce763a2251c5bd858d1","v":1,"via":"run"}
Ci-Attestation: {"at":1795132193,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"26731d2527dd6fb245dd0bfe1e9bc426256ba8af73c653567f46adb50292653d","lane":"client-lint","parents":["3ac5abf7cd65212009531f8655f5ba8aeee5314e"],"secs":1068,"stamp":"cd9348711fbca7540db790200e276bd5","tree":"793501b1c86ce12f2185fce763a2251c5bd858d1","v":1,"via":"run"}
Ci-Attestation: {"at":1795132192,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"26731d2527dd6fb245dd0bfe1e9bc426256ba8af73c653567f46adb50292653d","lane":"client-lint","parents":["3ac5abf7cd65212009531f8655f5ba8aeee5314e"],"secs":1068,"stamp":"1a441d0c74e83f7f43d25edb7fa65d2b","tree":"793501b1c86ce12f2185fce763a2251c5bd858d1","v":1,"via":"run"}
Ci-Attestation: {"at":1795132192,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"26731d2527dd6fb245dd0bfe1e9bc426256ba8af73c653567f46adb50292653d","lane":"client-lint","parents":["3ac5abf7cd65212009531f8655f5ba8aeee5314e"],"secs":1068,"stamp":"f32c3850e1815876a69483d697911083","tree":"793501b1c86ce12f2185fce763a2251c5bd858d1","v":1,"via":"run"}
@zackees
zackees marked this pull request as draft November 19, 2026 23:56
@zackees zackees added the pool-active Pool worker owns this PR; automated rebases must skip it label Nov 19, 2026
@zackees zackees changed the title test: characterize hotkey background status notification (RED, Refs #5301) libobs: characterize and extract hotkey background status notification (Refs #5301) Nov 20, 2026
…5301)

Ci-Attestation: {"at":1795134872,"gate":"general/all/client-lint","host":"linux-x86_64","key":"2766f3da92d19ecc9172301fd5eb4ba46624d60648c336b49334516b6bbbd8c0","lane":"client-lint","parents":["b8520097188db6f901111eb091c71ab9d6aad5d7"],"secs":413,"stamp":"fd0a68f70107f153bb4284806626a94b","tree":"c0d60371f4f5496f645a1a5ffc1858b262e2610e","v":1,"via":"run"}
Ci-Attestation: {"at":1795134874,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"2766f3da92d19ecc9172301fd5eb4ba46624d60648c336b49334516b6bbbd8c0","lane":"client-lint","parents":["b8520097188db6f901111eb091c71ab9d6aad5d7"],"secs":413,"stamp":"264cf90c4af1780a4eeb9453a5836d84","tree":"c0d60371f4f5496f645a1a5ffc1858b262e2610e","v":1,"via":"run"}
Ci-Attestation: {"at":1795134874,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"2766f3da92d19ecc9172301fd5eb4ba46624d60648c336b49334516b6bbbd8c0","lane":"client-lint","parents":["b8520097188db6f901111eb091c71ab9d6aad5d7"],"secs":413,"stamp":"b2887b76bdeb5572c439a02128a4e8ee","tree":"c0d60371f4f5496f645a1a5ffc1858b262e2610e","v":1,"via":"run"}
Ci-Attestation: {"at":1795134873,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"2766f3da92d19ecc9172301fd5eb4ba46624d60648c336b49334516b6bbbd8c0","lane":"client-lint","parents":["b8520097188db6f901111eb091c71ab9d6aad5d7"],"secs":413,"stamp":"739457a6bd755aad54d8213a4e358f81","tree":"c0d60371f4f5496f645a1a5ffc1858b262e2610e","v":1,"via":"run"}
Ci-Attestation: {"at":1795134873,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"2766f3da92d19ecc9172301fd5eb4ba46624d60648c336b49334516b6bbbd8c0","lane":"client-lint","parents":["b8520097188db6f901111eb091c71ab9d6aad5d7"],"secs":413,"stamp":"dbd253852a0ede7327c7d0ffb32fc5c3","tree":"c0d60371f4f5496f645a1a5ffc1858b262e2610e","v":1,"via":"run"}
Ci-Attestation: {"at":1795134873,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"2766f3da92d19ecc9172301fd5eb4ba46624d60648c336b49334516b6bbbd8c0","lane":"client-lint","parents":["b8520097188db6f901111eb091c71ab9d6aad5d7"],"secs":413,"stamp":"c25972ba8998c7e95b94ddbf000981ec","tree":"c0d60371f4f5496f645a1a5ffc1858b262e2610e","v":1,"via":"run"}
Ci-Attestation: {"at":1795134873,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"2766f3da92d19ecc9172301fd5eb4ba46624d60648c336b49334516b6bbbd8c0","lane":"client-lint","parents":["b8520097188db6f901111eb091c71ab9d6aad5d7"],"secs":413,"stamp":"28a0c2ade14e752b626ba7e2320acd25","tree":"c0d60371f4f5496f645a1a5ffc1858b262e2610e","v":1,"via":"run"}
Ci-Attestation: {"at":1795134874,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"2766f3da92d19ecc9172301fd5eb4ba46624d60648c336b49334516b6bbbd8c0","lane":"client-lint","parents":["b8520097188db6f901111eb091c71ab9d6aad5d7"],"secs":413,"stamp":"ff29e0a6d36fed5a1ec9a8799d481438","tree":"c0d60371f4f5496f645a1a5ffc1858b262e2610e","v":1,"via":"run"}
Ci-Attestation: {"at":1795134874,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"2766f3da92d19ecc9172301fd5eb4ba46624d60648c336b49334516b6bbbd8c0","lane":"client-lint","parents":["b8520097188db6f901111eb091c71ab9d6aad5d7"],"secs":413,"stamp":"b4702f21223cc744d404947e013c7e3e","tree":"c0d60371f4f5496f645a1a5ffc1858b262e2610e","v":1,"via":"run"}
Ci-Attestation: {"at":1795134873,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"2766f3da92d19ecc9172301fd5eb4ba46624d60648c336b49334516b6bbbd8c0","lane":"client-lint","parents":["b8520097188db6f901111eb091c71ab9d6aad5d7"],"secs":413,"stamp":"dfc72019297a6c5e1c5eba0ca7fe5b42","tree":"c0d60371f4f5496f645a1a5ffc1858b262e2610e","v":1,"via":"run"}
Ci-Attestation: {"at":1795134873,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"2766f3da92d19ecc9172301fd5eb4ba46624d60648c336b49334516b6bbbd8c0","lane":"client-lint","parents":["b8520097188db6f901111eb091c71ab9d6aad5d7"],"secs":413,"stamp":"fe804960a92564ff7f53118ad1d4d664","tree":"c0d60371f4f5496f645a1a5ffc1858b262e2610e","v":1,"via":"run"}
Ci-Attestation: {"at":1795134872,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"2766f3da92d19ecc9172301fd5eb4ba46624d60648c336b49334516b6bbbd8c0","lane":"client-lint","parents":["b8520097188db6f901111eb091c71ab9d6aad5d7"],"secs":413,"stamp":"d21b940c7b2aa5cbd2cf39963a12cd19","tree":"c0d60371f4f5496f645a1a5ffc1858b262e2610e","v":1,"via":"run"}
Ci-Attestation: {"at":1795134872,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"2766f3da92d19ecc9172301fd5eb4ba46624d60648c336b49334516b6bbbd8c0","lane":"client-lint","parents":["b8520097188db6f901111eb091c71ab9d6aad5d7"],"secs":413,"stamp":"2f29d64f852ae1c83cc4272275783ed2","tree":"c0d60371f4f5496f645a1a5ffc1858b262e2610e","v":1,"via":"run"}
@zackees
zackees marked this pull request as ready for review November 20, 2026 00:48
@zackees
zackees enabled auto-merge November 20, 2026 00:49
@zackees zackees removed the pool-active Pool worker owns this PR; automated rebases must skip it label Nov 20, 2026
@zackees
zackees added this pull request to the merge queue Nov 20, 2026
Merged via the queue into master with commit 869cc32 Nov 20, 2026
46 checks passed
@zackees
zackees deleted the test/5301-hotkey-background-status branch November 20, 2026 01:55
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.

1 participant