Repository navigation
obs-hotkey: port background combination query (#3969) - #3970
Merged
Merged
Conversation
zackees
force-pushed
the
port/3969-hotkey-background-query
branch
from
November 8, 2026 03:19
ab1361d to
264d6fa
Compare
zackees
marked this pull request as ready for review
November 8, 2026 03:19
zackees
enabled auto-merge
November 8, 2026 03:19
zackees
disabled auto-merge
November 8, 2026 03:31
4 of 5 tasks
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 the public background-combination query to obs-hotkey. Preserve the native-state early return, lazy identifier lookup, pointer-presence result and identifier release. No intentional behavior differences. Fixes #3969.
History: actual-library C characterization in 987ef58, verbatim building C extraction in b9edc74, Tier 1 RED in 0095432 and GREEN in 85ae7f3. RED fails both cases at the deliberate stub. The extracted source remains registered in every isolated C consumer; the native graph snapshot is updated without weakening assertions.
Validation: all four new Rust tests pass, including real-header combination layout and exact callback-based C differential coverage. Reversing the native predicate makes the differential test fail; the implementation was restored. Proptest persistence is disabled. The complete native-build module passes 187 tests, utilities pass 914 tests and two doctest runs, and the required discovery, registration, portability, sorting and Rust inventory checks pass.
Both actual libraries pass 35 C cases each, including all 32 unchanged portal-shortcut cases, with loader proof. Their 1,767 dynamic exports are identical. GCC and Clang pass strict source, oracle and characterization replay with format-nonliteral warnings treated as errors. The focused original C query and characterization pass ASan/UBSan linked against each backend. Full serial repository lint passes. One local reviewer reports clean.
Test cost: over 25 reduced-parity runs of the four new cases, longest run 0.01 seconds and peak RSS 15,892 KiB. No test-owned threads; differential allocation accounting uses one isolated child process. Tests remain in the existing category binary. Public headers and existing C test bodies are unchanged. Tier 4 does not apply to this local query.