Repository navigation
obs-hotkey: Port synchronized background app ID query (#4072) - #4076
Merged
Merged
Conversation
zackees
force-pushed
the
port/hotkey-background-app-id
branch
from
November 8, 2026 21:55
c2eee39 to
3882a2d
Compare
zackees
marked this pull request as ready for review
November 8, 2026 21:58
zackees
enabled auto-merge
November 8, 2026 21:58
Member
Author
|
Handed off to the coordinator/chaperone. GREEN 3882a2d is pushed, ready, and auto-merge is armed with the head pinned. Local hotkey suite: 521 passed; restored app-ID rerun: 4 passed; mutation killed; ./lint passed. Local Tier 2 was blocked before compilation by the cached soldr wrapper reporting a read-only filesystem; hosted CI remains the merge gate. |
zackees
disabled auto-merge
November 8, 2026 22:04
Member
Author
|
Continuing this pool PR under assignment fix-4076. Reproducing the missing background-app-ID private adapter links and the stale portal-shortcuts registration expectation. Auto-merge remains off; hold for graph serialization behind #4075. |
zackees
added a commit
that referenced
this pull request
Nov 10, 2026
…e links alone The standalone test_video_render_size_rust target links libobs_rust.lib. In release, obs_video_set_render_size shared archive members whose dependencies reached audio_callback/audio_mix and the private audio-seam adapter, which needs libobs's unexported obs global (MSVC LNK2019). Local RED: release archive closure from obs_video_set_render_size reached cgu.5/cgu.7 with undefined obs_audio_seam_*; GREEN: closure is one member. Same fix as obs-hotkey/obs-scene (#4076). Ci-Attestation: {"at":1794314767,"gate":"rust/all/fmt","host":"linux-x86_64","key":"","lane":"lint","parents":["1211402bf769e960eeb101c736d2336dbc9acab0"],"secs":378,"stamp":"a1b8a12c3faed0ed85a59984c5eb04ec","tree":"5d6bfaa35872b4bf34f02cfa385bd2c70848539b","v":1,"via":"run"} Ci-Attestation: {"at":1794314767,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"","lane":"lint","parents":["1211402bf769e960eeb101c736d2336dbc9acab0"],"secs":378,"stamp":"84687ed9a3666078168676e6447f4d0a","tree":"5d6bfaa35872b4bf34f02cfa385bd2c70848539b","v":1,"via":"run"} Ci-Attestation: {"at":1794314767,"gate":"rust/x86_64-unknown-linux-gnu/dylint","host":"linux-x86_64","key":"","lane":"dylint","parents":["1211402bf769e960eeb101c736d2336dbc9acab0"],"secs":378,"stamp":"ea0c9a364206902a5528b1e4221720fc","tree":"5d6bfaa35872b4bf34f02cfa385bd2c70848539b","v":1,"via":"run"}
chriscoveries
pushed a commit
to chriscoveries/obsrust-fork
that referenced
this pull request
Nov 10, 2026
…dge (obs-rust#4541) * test: Mirror video render-size graphics calls against Rust stub * libobs: Port render-size setup to safe Rust with private graphics bridge Refs obs-rust#4285. Stacked on test/4284-video-render-size-extract at 71fc36a. Preserve the original C helper in the oracle and C reference; reuse the unchanged characterization through the Rust static archive. Exact callback parity includes float rounding and signed viewport boundaries. Differential negative control rejected cull mode 0 instead of GS_NEITHER (2). * build: Split obs-core release codegen units so the render-size fixture links alone The standalone test_video_render_size_rust target links libobs_rust.lib. In release, obs_video_set_render_size shared archive members whose dependencies reached audio_callback/audio_mix and the private audio-seam adapter, which needs libobs's unexported obs global (MSVC LNK2019). Local RED: release archive closure from obs_video_set_render_size reached cgu.5/cgu.7 with undefined obs_audio_seam_*; GREEN: closure is one member. Same fix as obs-hotkey/obs-scene (obs-rust#4076). Ci-Attestation: {"at":1794314767,"gate":"rust/all/fmt","host":"linux-x86_64","key":"","lane":"lint","parents":["1211402bf769e960eeb101c736d2336dbc9acab0"],"secs":378,"stamp":"a1b8a12c3faed0ed85a59984c5eb04ec","tree":"5d6bfaa35872b4bf34f02cfa385bd2c70848539b","v":1,"via":"run"} Ci-Attestation: {"at":1794314767,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"","lane":"lint","parents":["1211402bf769e960eeb101c736d2336dbc9acab0"],"secs":378,"stamp":"84687ed9a3666078168676e6447f4d0a","tree":"5d6bfaa35872b4bf34f02cfa385bd2c70848539b","v":1,"via":"run"} Ci-Attestation: {"at":1794314767,"gate":"rust/x86_64-unknown-linux-gnu/dylint","host":"linux-x86_64","key":"","lane":"dylint","parents":["1211402bf769e960eeb101c736d2336dbc9acab0"],"secs":378,"stamp":"ea0c9a364206902a5528b1e4221720fc","tree":"5d6bfaa35872b4bf34f02cfa385bd2c70848539b","v":1,"via":"run"}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Port
obs_hotkeys_get_background_app_idto obs-hotkey, preserving its public API, failed-lock NULL result, exact borrowed pointer, and lock/read/unlock sequence. The real C adapter remains in production libobs and the live portal-shortcuts fixture. Public headers, existing C tests and obs-websocket are unchanged.Fixes #4072 (native child of #444).
The port retains characterization, verbatim extraction, Tier 1 RED (
d7d66c237, formerlyc2eee39ed), and implementation (3882a2de9). The safe core's unlock omission was mutation-tested: differential parity failed at the C oracle's!app_id_lockedassertion; restored code passed.The CI repair corrects the portal fixture's exact expected source list. It also fixes standalone release linking: Rust had merged the app-ID FFI shim into the archive members selected by the Windows-key fixture. Those unused shims then demanded private C adapters, whose global
obscannot be imported from shared libobs. The release profile now givesobs-hotkeythe same 256 codegen units as debug, keeping the unrelated FFI modules in separate archive members while retaining Thin LTO. The fixture no longer compiles the app-ID adapter or pulls its shim. Its independent registration tracks the manifest that controls this boundary. No placeholder global or new stub definitions were added.Validation:
test_windows_keys_steps_rusttarget: RED onf1fcb4b9awith the real adapter's undefinedobs; GREEN after archive separation, exit 0. Removing the adapter before separation also reproduced the hosted three undefined app-ID adapter names. The final replay uses no section-GC, symbol-localization or undefined-symbol workarounds for executable objects. Symbol inspection confirms no app-ID shim/adapter symbols in the executable, and separate Windows-key/app-ID members in the production archive.soldr cargo build -p libobs-rust --release: passed. Canonical Windows-key registration: one passed. Portability self-tests: 21 passed. The rebuilt canonical portal registration passed after its source-list fix.SOLDR_PORCELAIN=0 ./lint: passed, exit 0 in 246.7 seconds. The archive-isolation repair is commitbdd450262.libavcodec.so.62. The CMake replay allows unresolved dependencies originating inside the cached shared libobs, whose FFmpeg closure differs from this host; direct executable-object references remain checked. Hosted Tier 2, asan and native platform results remain the merge gate.Test cost: the four original new tests, over 25 reduced-parity debug runs, had longest 0.032 seconds and peak RSS 19,904 KiB, with no test-owned threads. Generated arrays are capped below 64 bytes.
Hold for graph serialization behind #4075. Auto-merge stays OFF; the manager will enqueue this PR.