You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: Characterize and extract deprecated module-loading no-ops before Rust swap #5343
C-only Phase 6 prerequisite for obs_load_all_modules and obs_load_all_modules2, currently embedded in libobs/obs-module.c.h:337-342, before a separate Rust swap to obs-core.
Both deprecated exports intentionally do nothing. Preserve their bodies verbatim in libobs/obs-module-load-all.c.h, registered alphabetically in the existing core unity group, following the module extraction pattern of #5182. Do not reactivate module discovery/loading or conflate these APIs with obs_load_plugins or obs_load_core_modules.
Add a portable cmocka characterization without startup: neither export initializes OBS, loads a module, allocates, or logs; _2(NULL) returns safely; _2 preserves every byte of a failure-info struct prefilled with sentinel pointers/count, the pointer array and pointed-to strings. Exercise both actual shared-library exports and the extracted C-source baseline. Use the existing deprecated-API warning suppression pattern, and avoid implicit narrowing under MSVC /W4.
Acceptance: separate local RED/GREEN commits, focused C-reference/hybrid Tier 2 and symbol parity, canonical test graph/tests.d registration, full lint once and one ready push. No Rust swap, existing C-test edits, public-header edits, WebSocket changes or workflow additions. Any Rust-static support belongs only in test/cmocka/build/rust-static-support.json; this extraction needs none. File a separate swap follow-up.
Collision check: all 19 open PR diffs searched for both symbols and obs-module.c.h; #5061 has only an unchanged core-group include context line. No symbol overlap, existing characterization, active claim or prior extraction found. Backpressure open (headroom 6). Assignment: scout-h rank 11, Lane C, recommendation A.
Claiming: C characterization and verbatim extraction of obs_load_all_modules + obs_load_all_modules2. Branch: test/5343-module-load-all; slot obs-studio7 (h11-load-all-modules). 1. Pin no-startup/no-state-change and failure-info sentinel behavior, with local RED evidence. 2. Extract both bodies unchanged and register the focused test. 3. Validate C-reference/hybrid, run full lint once, push once and open the prerequisite PR, then file the Rust swap follow-up. First PR expected this session.
Activity
zackees commentedon Nov 20, 2026
Claiming: C characterization and verbatim extraction of obs_load_all_modules + obs_load_all_modules2. Branch: test/5343-module-load-all; slot obs-studio7 (h11-load-all-modules). 1. Pin no-startup/no-state-change and failure-info sentinel behavior, with local RED evidence. 2. Extract both bodies unchanged and register the focused test. 3. Validate C-reference/hybrid, run full lint once, push once and open the prerequisite PR, then file the Rust swap follow-up. First PR expected this session.
zackees commentedon Nov 21, 2026
Done: the characterization and extraction merged in #5351 (8a737f0), and the Rust swap followed in #5361.
libobs: characterize and extract deprecated module-loading no-ops (Refs