Repository navigation
obs-source: Port filter relationship getters (#3882) - #3884
Conversation
75a26c3 to
0005054
Compare
|
Handed off to the coordinator. Ready with auto-merge confirmed for 0005054; replaced 75a26c3 using a pinned force-with-lease after an identical four-commit range-diff and a current-master rebase. All 28 focused Tier 2 targets pass three repeats against each actual library, exports match (1,767), seven focused Rust tests pass, and strict Clang/GCC oracle format checks pass. Full lint stops only at the documented soldr Dylint-driver refusal under clud; evidence and hosted-validation limits are in the finalized body. Claim re-read without refusal. Per pool instructions, retiring without waiting on hosted CI. |
|
Handed off to the pool chaperone. Verified head dae5926 is pushed; re-armed auto-merge with that exact match-head-commit. Cause: six native registration contracts still demanded one source and old dependencies after link-support additions; the private obs-internal.h include also requires conditional OBS::w32-pthreads for Windows. RED reproduced six registration failures and missing dependencies on 23 targets plus legacy support. GREEN preserves exact source order/header/library counts and suffix, and adds the conditional dependency only for this PR's support targets. Seven registration tests, seven focused getters, four portability checks, graph sorting and metadata pass. Final lint passes formatters, CI self-tests and Clippy, stopping only at the documented Dylint-driver refusal under clud (local-test-9ydMhP.log; final three lines inspected). Review clean. Original five commits unchanged in range-diff; replaced 0005054 using its explicit force-with-lease. No sibling PR changed. Original failing logs could not be read: gh run view --log-failed says workflow 42369969019 is still in progress; job-log API refused terminal escapes and no guard was bypassed. Therefore no claim that there are no further native failures. Chaperone must inspect hosted completion/new results. Final body records evidence and limits; retiring without waiting on hosted CI per pool instructions. |
dae5926 to
25532ea
Compare
|
Rebased onto master 58d2c11; replaced dae5926 with 25532ea using the explicit lease. Kept master’s inventory-based portability checks in place of superseded fixed counts; retained all getter modules, registration assertions, graph entries and README table record. Range-diff reviewed; port implementation patches unchanged. Seven native registrations and seven focused filter relationship getter tests pass; graph sorting, README and portability checks pass. Remote head verified and auto-merge remains enabled. Full Tier 2/native platform suites and hosted CI were not repeated or awaited. |
25532ea to
80c2041
Compare
|
Rebased after the 14:43 UTC merges onto origin/master 5de5b53, replacing 25532ea with 80c2041. Retained both oracle extraction blocks and both portability groups. Shared exact-list helper now combines source relationship support with master’s ordered scene logging-stub entries and recognizes scene test sources after their stub for library counts. No semantic overlap. Passed whole native_build:: (113), portability (7), sorted graph (2), README (1), full CI self-tests, obs-c-oracle build and seven reduced relationship getter Rust/layout/parity tests. Formatting and diff checks pass; range-diff reviewed. Explicit-lease push verified; auto-merge re-armed and confirmed after manager dequeue. Handed off to the pool manager for hosted checks and queue observation. |
80c2041 to
1a41746
Compare
|
Rebased after #3879: kept both independent encoder metadata and source filter relationship oracle extraction blocks; all master and PR declarations, README rows, graph and exact registrations are retained. Replaced 80c2041 with 1a41746 using an exact lease. Range-diff preserves all seven patches except extraction context. Passed fmt, whole native_build module, native portability, graph sorting, README policy, oracle build, and focused filter getter Rust/parity tests (seven including isolated child). Head-pinned auto-merge re-armed. |
|
Cause: #3879’s unchanged encoder_metadata.o references five obs-output getters from its log probe; COFF can pull that member into obs-util, which does not link obs-output. Focused master fix: #3919 passes getter callbacks while preserving every C/Rust log assertion. Its standalone regression reproduces the exact five-symbol Windows link RED and passes GREEN. No feature-code change needed here; merge/rebase with the shared fix when it lands. |
Preserve pointer identity, NULL diagnostics and the original no-lock, no-type-check, no-reference behavior through a private field-pointer view. Original C implementation by Lain Bailey (OBS Project).
1a41746 to
a6e725b
Compare
|
Rebased onto master after #3916/#3920/#3919. Dropped the manual build.rs adapter block (discovery preserves source_filter_relationship_fields.inc); moved all 23 exact support expectations into the per-port registration JSON; passed getter callbacks into the oracle log probe to remove production getter references. Passed discovery/registration guards, workspace fmt, complete native_build:: (129 tests), oracle build, obs-util, all seven focused getter/parity tests, portability, graph sorting, README and local-gate self-test. Lease-pinned push verified at a6e725b; auto-merge remains enabled. Hosted/native platform results remain with the pool coordinator. |
Ports
obs_filter_get_parentandobs_filter_get_targetfromlibobs/obs-source.c.hinto the existing obs-source crate. Both return the original borrowed pointer, preserve NULL defaults and exact debug diagnostics, and perform no type check, lock or reference acquisition. A private field-pointer seam avoids mirroringobs_source.Fixes #3882 (native child of #444).
Commit sequence: actual-library characterization
ba45ae9f0, verbatim extractione11be6b63, Tier 1 RED09ba1d5f2, Rust GREENe728a0b63, portable validation repair0005054a1. The original RED command exited 101 with three tests panicking attodo!("#3882"); the original characterization and extraction stages each passed three repeats against both actual libraries. The rebase preserves all four original commits' patches (git range-diff: identical).Validation on the repaired head:
SOLDR_PORCELAIN=0 SOLDR_RUSTC_WRAPPER=none OBS_PARITY_CASES=reduced soldr cargo test -p obs-data --test obs-tests-core source::filter_relationship_getters. Artifact:/home/niteris/.clud/tmp/tool-output/local-test-private/local-test-KdpsfF.log.docker_task_commandand this slot's warm volume: all 28 targets pass three repeats against each actual library, including the unchanged new characterization and 27 affected standalone source-step targets.lddconfirms the reference/hybrid library paths; all 1,767 dynamic exports match. Artifact:/home/niteris/.clud/tmp/tool-output/local-test-private/local-test-ysY39D.log.-Wformat-nonliteral -Werror; the repaired oracle compiles under Clang and GCC with strict format warnings. A guarded printf(2,0) callback annotation preserves format checking. Removed the stack-only characterization's runtime-directory requirement. Aborting private-seam/log support is restricted to unrelated Rust-staticlib tests; the real getter characterization receives no stand-ins. Shared log support and source deduplication compose with obs-source: Port deinterlace mode and field-order getters (#3861) #3862/obs-source: Port async flag getters (#3872) #3873.gh run view --log-failedrefuses an in-progress overall run), plus the downloaded ASan build artifact. ASan and Windows undefined symbols are exactlyblogandobs_source_filter_relationship_fields; macOS Rust/Apple Cross fail the callback format check; macOS Tier 2 fails the runtime-directory requirement; Linux Tier 2 fails linking the same standalone targets. No additional change-specific failure was found.SOLDR_PORCELAIN=0 ./lintpasses formatters, CI self-tests and workspace/feature Clippy, then exits 1 solely at the documented soldr refusal to build the Dylint driver under clud. Final three artifact lines inspected; no toolchain workaround. Hosted Fast Gate must supply Dylint. Artifact:/home/niteris/.clud/tmp/tool-output/local-test-private/local-test-GdquWq.log.uv run ci/test_test_graph_sorted.py --fix), native inventory, port metadata and sorted shared-list checks pass. README record remains inside the port table; inventory reflects current master plus this characterization.Prior worker evidence retained: mutation detected by the differential test, restored source regression 1,105 passed / five ignored, and characterization before extraction, after extraction and after swap. Full sanitizer runtime and native macOS/Windows runtime suites were not run locally; hosted PR CI remains the required merge gate. No local-gate attestation.
Test cost: 25 reduced debug runs of the new module, longest 0.051 s, peak child RSS 16,960 KiB; no own threads (NULL logging re-executes the same category binary).
No intentional behavior differences. Tier 4 does not apply to these field readers, and this behavior-preserving port needs no feature-ledger line. Existing C tests, public C headers, workflows and
plugins/obs-websocketare unchanged.Follow-up CI repair
The six native registration tests still expected one C source and the old dependencies after the link-support sources were added. RED reproduced locally: six failed, one passed (exit 101; artifact
local-test-RnE4Tp.log). Updated exact source order, header lists, library suffix and counts without weakening the original selection/linkage assertions or changing scene-only contracts.RED commit
2e0acb8e7adds the Windows dependency regression: all 23 graph targets plus the legacy helper lack conditionalOBS::w32-pthreads. GREENdae5926baadds that dependency for the filter-relationship link support, whose privateobs-internal.hinclude needspthread.h. Sibling #3862 remains open; no sibling branch was changed. Original five commits are identical in range-diff; current master was already an ancestor. README remains in its port table row and current inventory passes.Validation for this repair:
SOLDR_PORCELAIN=0 SOLDR_RUSTC_WRAPPER=none soldr cargo test -p obs-studio-rust --test obs-tests-app native_build::canonical_rust_static_(artifactlocal-test-ZCJOUn.log).SOLDR_PORCELAIN=0 SOLDR_RUSTC_WRAPPER=none OBS_PARITY_CASES=reduced soldr cargo test -p obs-data --test obs-tests-core filter_relationship_getters(artifactlocal-test-cVRkmb.log).git diff --checkclean. Single clud-review primary reviewer: no findings.Original failing-job log limitation: attempted the requested
gh run view --job ... --log-failedfor jobs 128398125033, 128398125123 and 128398125112; GitHub reports workflow 42369969019 still in progress and withholds logs. The job-log API also refused terminal escape sequences; no guard bypass attempted. Consequently this repair does not independently establish that those jobs contain no additional failures; pool chaperone must inspect the completed/new hosted results. The supplied sibling evidence and local reproductions establish the two repaired contracts.Final lint:
SOLDR_PORCELAIN=0 SOLDR_RUSTC_WRAPPER=none ./lintexits 1 solely at the documented soldr refusal to build the Dylint driver under clud; final three artifact lines inspected (local-test-9ydMhP.log). Formatting, CI self-tests and workspace/feature Clippy completed first. Earlier CMake formatting was fixed. An earlier lint attempt failed the unrelated source probe with an active scratch build lock (local-test-gb8HaV.log); its isolated rerun passed in 30.359 s (local-test-La1md3.log), and the final lint rerun passed it. No driver/toolchain workaround; hosted Fast Gate must provide Dylint. No local-gate attestation claimed.