Repository navigation
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.
Change
Before porting effect-parser cleanup, pin the original C ownership behavior without requiring a graphics device. Move
ep_freeverbatim intographics/effect-parser-lifecycle.c.hin the existing unity group, then add eight cmocka cases for empty/repeated cleanup, nested annotations, structures, functions and borrowed dependency strings, samplers, techniques/passes, lexer/preprocessor state, and retained/borrowed fields.The source has no exported
ep_freesymbol, so this test compiles the extracted C and links libobs for its dependencies. OFF/ON runs characterize that C with both dependency implementations; they do not establish compatibility of a future Rust replacement. That later PR needs its own Rust seam, layout checks, RED/GREEN and differential tests. No Rust, public headers, existing C tests, or public behavior change here.Refs #1644; Phase 6 tracker #444.
Validation
f0cdc4bf8: extraction; function body checked byte-for-byte against base01561bf05.91ff26ff3: characterization; native macOS arm64 CMake target builds and all 8 cases pass with ASan/UBSan. The local Xcode executable required ad-hoc signing and explicit build-tree DYLD paths for Homebrew cmocka/libobs.ep_param_freefails 2 cases on allocation imbalance; the committed C is unchanged.ci/test_build_groups.py,ci/test_cmocka_sanitize.py, andgit diff --checkpass../lintis not green locally: ten unrelated CI Python suites fail on host/platform fixtures (including macOS C++ stub headers and/varversus/private/varpaths). No local-gate attestation claimed../unittestthen stopped at the Windows GNU cross-build: Soldr does not support that target from this macOS host, so its Linux Tier 2 lane did not run. Required PR CI is green on91ff26ff3: Fast Gate, formatting, Linux Tier 2 build, all four OFF/ON shards, andCI Gate. Logs explicitly showtest_effect_parser_lifecyclepassing in OFF shard 2 and ON shard 1. This is a characterization-only prerequisite, so Rust RED/GREEN and Tier 3 belong to the later port; Tier 4 does not apply to this internal cleanup routine.