Repository navigation
obs-core: Port module failure-info cleanup (#3854) - #3857
Merged
Merged
Conversation
zackees
marked this pull request as ready for review
November 7, 2026 09:00
zackees
enabled auto-merge
November 7, 2026 09:00
Member
Author
|
Handed off to the coordinator. Auto-merge is enabled for b218e7d. Focused restored GREEN: all five Rust tests pass; C characterization passes three repeats against each actual library with identical 1,767 exports. Mutation rejected. Local formatting, CI self-tests and Clippy passed; soldr refused the unavailable Dylint driver under clud, documented in the final PR body. Hosted Fast Gate remains required. Retiring the pool slot as instructed; manager/chaperone watches CI and queue. |
This was referenced Nov 7, 2026
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
obs_module_failure_info_freefromobs-module.c.htoobs-core. Cleanup frees only the failure pointer table and clears that pointer. It preserves the count and borrowed string entries, including when count exceeds table length; repeated cleanup is a no-op. No intended behavior differences or user-visible change. Public headers and existing C tests are unchanged.Fixes #3854 (native sub-issue of #444).
Commit sequence: C-only actual-library characterization
c38b07525; verbatim extraction6fdf70300; Tier 1 RED0ddebe00a; Rust GREENb218e7db1. RED commandSOLDR_RUSTC_WRAPPER=none SOLDR_PORCELAIN=0 OBS_PARITY_CASES=reduced soldr cargo test -p obs-data --test obs-tests-core obs_core::module_failure_info::exited 101 with both tests failing attodo!().The thin shim delegates table ownership to the safe core and uses libobs's allocator. The C reference retains the extracted function in its own ported group. This function is public, so its fragment belongs in
rust-exports.d; no hidden-symbol fragment or Windows benchmark stand-in removal is needed. Existingobs-sysdeclaration andobs-mcpcaller remain unchanged.Validation:
obs_core::module_failure_info_parity::characterized_edgesfailed at the table-cleared assertion (exit 101). Restored the original core and reran all five tests successfully; no proptest seed file was written.test_module_failure_infoagain passed three repeats against each actual library.lddconfirmed hybrid and C-reference loader paths. Dynamic exports match exactly: 1,767 symbols. Focused validation reuseddocker_task_commandwith this checkout's warm build volume and built both libraries plus the affected test target.-Wconversion -Wsign-conversion -Wfloat-conversion, using the oracle dependency header shims. The Nix Clang wrapper also needed-Wno-unused-command-line-argumentfor its injected linker flags during syntax-only compilation.SOLDR_PORCELAIN=0 ./lint --fixcompleted formatting, all CI self-test scripts, and workspace/feature Clippy, then exited 1 solely because soldr refused to build the Dylint driver under clud: selected nightly2026-05-28has no pre-deployed Dylint v6.2.0 driver (only2026-08-15is deployed). The report returneddiagnostic_state: unknown; the artifact ends with this explicit refusal andlane lint: FAILED (1). No toolchain or guard workaround was attempted; hosted Fast Gate must complete Dylints.Test cost: 25 debug invocations of the five new tests, each under 0.01 seconds, peak RSS 17,040 KiB; no own threads and no new Rust test executable (existing Core state category).
The full
./unittest/Tier 2 suite, macOS/Windows native checks and a local-gate attestation were not run. Hosted PR CI remains the merge gate. Tier 4 does not apply to this non-protocol cleanup.