Repository navigation
fix: isolate encoder metadata oracle link dependencies - #3919
Conversation
|
Validation on 61ae950: oracle build exit 0; strengthened symbol regression exit 0 (0.04 s); full native_build:: module exit 0, 127 passed in 48.57 s. Earlier GREEN also passed Windows MSVC-target obs-util link, Linux obs-util 914 tests plus doctests, and six metadata core/parity tests. Review found no blocking issues; its LOW missing-object guard is fixed. Auto-merge is enabled. The original four and #3905 have identical metadata oracle code; checking integration with their feature heads next. Per pool instructions I will not wait on hosted CI. |
|
Final head bfe591e is pushed and auto-merge re-armed. All five feature heads (#3862, #3873, #3884, rebased #3907 d97add7, and #3905) passed local integrations with the shared fix: Windows MSVC-target obs-util link, all 914 Linux utility tests plus doctests, oracle build, and all 127 native_build:: tests. Their feature code needed no link fix. The final commit only makes nm member matching portable across GNU/LLVM/BSD punctuation; its focused regression passed (0.04 s). Pool manager: land this shared fix first, then refresh the pre-fix PR checks/merge results. No hosted-CI wait performed. Final workspace fmt rerun remains unverified because clud’s ratio guard refused it; the earlier GREEN fmt check passed. |
…bs-rust#4023) The deferred PR/queue tier skips every Windows-target job, so COFF-only link defects passed the queue and reddened master: lld-link 'undefined symbol: obs_encoder_get_caps' (merge_group 42390201886 green, push 42393067345 red, fixed by obs-rust#3919). Add a Linux-hosted job that runs only the cross lane's link step for x86_64-pc-windows-msvc (no clippy, Dylint or macOS, nothing executed) on every non-docs PR and queue run. The expensive matrix stays on push/dispatch; CI Gate already reads every job of the run, so the new job's conclusion is gated with no ruleset change. Co-authored-by: Claude Opus 5.5 <[email protected]>
The metadata oracle object from #3879 directly references five production
obs_encoder_get_*functions. When COFF selects that archive member for an unrelated harness,obs-utilcannot resolve them because it does not linkobs-output. This blocks #3862, #3873, #3884, #3907 and #3905. The compared passing sibling heads (#3912, #3896, #3901, #3885) do not containencoder_metadata.c.Pass getter callbacks from the owning parity test instead. All five null defaults and exact debug-log assertions still run against both C and Rust; production code, public headers and existing C tests are unchanged. No adapter discovery changes (#3916).
RED: da338d5 adds standalone archive extraction and a symbol audit.
soldr cargo test -p obs-util encoder_metadata_has_no_production_getter_dependenciesexits 101 with all five unresolved production dependencies.soldr cargo test -p obs-util --no-run --target x86_64-pc-windows-msvcexits 101 with the exact five missing getters fromencoder_metadata.oafter the standalone regression forces extraction.GREEN: 3b9fe3f passes the Windows-target link, all 914 Linux obs-util tests plus doctests, and all six encoder_metadata core/parity tests.
llvm-nm -uconfirms the COFF metadata object no longer references any production getter. The final symbol-audit tightening is 61ae950. The earlier workspace format check passed; a final rerun was blocked by clud's verification-ratio guard. Oracle build and full native_build module results will be recorded in a comment.Test cost: two new cases in the existing obs-util harness, no new executable and no own threads; symbol audit RED took 0.03 s. Tier 2 production behavior is unchanged; Tier 3 metadata assertions are preserved; Tier 4 does not apply to this test-link fix. No native coverage labels exist in this repository.
Fixes #3918.