Repository navigation
libobs: extract and characterize service handler getters (Refs #3840) - #5013
Merged
Merged
Conversation
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.
Extract
obs_service_get_signal_handlerandobs_service_get_proc_handlerverbatim intolibobs/obs-service-handler-getters.c.hbefore their Rust swap. The existing unity group still compiles both implementations, with their hidden visibility and behavior unchanged.Add C characterization for each NULL diagnostic, all four combinations of nullable handler fields, repeated borrowed-pointer results, and unchanged service bytes. The native test graph builds the actual extracted C source. An opt-in declaration-only mode lets the later Rust-static registration reuse this test unchanged.
Refs #3840 (handler slice only). Rust follow-up: #5002; land this prerequisite first. This PR contains no Rust implementation, so Rust Tier 1 RED/GREEN, the C-oracle differential/mutation test, and real-adapter Rust-static link support belong to that follow-up. Tier 4 does not apply.
Validation:
max_align_tin the new C files.SOLDR_PORCELAIN=0 ./lint: passed (117.2 s; finallane lint: ok).-Wformat-nonliteral -Werrorand passed against C reference and hybrid (one case in each mode).Publication: the worker's final backpressure check exited 75 (11 in flight, limit 10), so only the verified branch was pushed. Open a PR when admission permits; no PR or auto-merge was created by this worker.
obs-preflight-ffifailed in soldr withRead-only file system (os error 30)on the/rosource mount. The remaining unrelated build was stopped after preserving this failure. Hosted Tier 2 remains required before merge. Seetier2-environment-failure.txtin this response directory.