Repository navigation
obs-scene: port public source-type queries (#3975) - #3978
Merged
Merged
Conversation
zackees
force-pushed
the
port/3975-scene-source-type-queries
branch
from
November 8, 2026 03:47
666f011 to
a7053ac
Compare
zackees
marked this pull request as ready for review
November 8, 2026 03:47
zackees
enabled auto-merge
November 8, 2026 03:47
zackees
disabled auto-merge
November 8, 2026 03:48
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.
Ports the public group and scene source-type queries to obs-scene while preserving NULL handling, exact identifier bytes and the first NUL boundary. Fixes #3975; Phase 6 parent #444. No intentional behavior differences or protocol surface.
C characterization 71a0ad7 passes against both actual libraries, with loader proof. Extraction 8665eaa moves both function bodies verbatim in a separate building commit. RED 94004be fails the new Tier 1 mirror at the expected unimplemented group query. GREEN a7053ac provides the safe byte-comparison core and thin C-string shims.
Validation covers all three focused Rust cases, deterministic and generated arbitrary-byte differential parity, built-in identifiers, input immutability and NULL handling. A wrong-identifier mutation fails both differential tests and shrinks to the group identifier. No structs cross this ABI and no private field accessors are called, so there is no new struct representation to measure. The oracle compiles the original extracted C with namespaced metadata fixtures and makes no production libobs calls.
The unchanged C characterization passes against rebuilt hybrid and C-reference libraries in the warm Docker volume, with loader output confirming each path. Both libraries export the same 1,767 symbols. GCC and managed Clang pass the extracted group, oracle and C test with strict format warnings as errors; Clang replay omits two GCC-only warning options. Focused ASan/UBSan passes for the C test linked to actual hybrid libobs and for the instrumented extracted C implementation. The shared Rust library itself was not rebuilt with sanitizers.
The complete native-build module passes 188 tests. The complete utility suite passes 914 tests and both documentation tests. Oracle field discovery, per-port registration, native b2 portability, graph sorting, build groups and Rust inventory checks pass. Full serial lint passes. The final rebase onto current master preserves all four patches exactly according to range-diff. The single primary local review is clean, including the formatting-only fixups folded into the original C commits.
Test cost: three focused cases over 25 reduced runs, each complete module run below the timer resolution of 0.01 seconds, peak RSS 20,084 KiB, no test-owned threads. No new Rust executable, public header changes, existing upstream C test edits or WebSocket changes. Tier 4 does not apply to these local identifier queries.