Repository navigation
obs-output: Port service module lookup accessors (#3839) - #3844
Conversation
|
Handed off to the coordinator / checkout-free merge chaperone. Verified GREEN head c43eb15 is ready with head-pinned auto-merge enabled. Local service tests, restored mutation tests, focused unchanged Tier 2 and identical exports are documented in the final body; hosted CI remains the gate. Slot obs-studio5 is being returned to detached origin/master. |
e00f3b9 to
8740896
Compare
|
Rebased e00f3b9 onto master after #3842; both registration sets and all six original commits preserved, including the MSVC typedef fix. New head 8740896 is pushed and head-pinned auto-merge confirmed. Revalidated: focused service suite 47 passed (exit 0), six module-lookup tests 6 passed (exit 0), unchanged test_service_lifecycle 8/8 against each library, verified loader paths and 1,767 identical exports; source-group inventory 10 passed. Lint passed earlier lanes and stopped only at the documented soldr Dylint-driver refusal. Current master merges cleanly via merge-tree. Existing chaperone retains the handoff. |
8740896 to
0398c03
Compare
|
Handed off to the coordinator / existing pool chaperone. Replaced 8740896 with rebased head 0398c03 after #3850; exact force-with-lease used and pushed head verified. Both service slices retained; range-diff changes only conflict context. Focused service category 52 passed, graph/build inventory 16 passed. Lint passed earlier stages and stopped only at documented soldr Dylint-driver refusal under clud. Final PR body includes evidence and limits. Head-pinned auto-merge re-armed; retiring slot obs-studio4 without waiting for hosted CI. |
0398c03 to
542dbb5
Compare
|
Rebased assigned head Requested sibling check: This assignment ran Focused owning category |
Fixes #3839
Ports the five private service module lookup accessors into obs-output: enabled/disabled list selection, next link, service count/id and load state.
find_service, release/free and context/state/handlers remain unchanged and outside this slice.The C bodies/signatures were extracted verbatim in 3ffee49 (byte comparison against master passed), then placed in a reference-only ported unity group. Production uses Rust; the C reference and Tier 3 oracle compile the original bodies. The only new C seam exposes both global roots together without selecting a list. C retains module/list ownership, synchronization and the unchanged private layout. Rust's mirror is checked against the real
obs-internal.h; callback slots are layout placeholders and never invoked. Existing C tests, public headers and obs-websocket are unchanged. Five Rust shims are hidden through their unit manifest.RED → GREEN
output::service_module_lookupthrough soldr exited 101, 0 passed / 2 failed at the#3839stubs. Log:/home/niteris/.clud/tmp/tool-output/local-test-private/local-test-epTG6n.log.SOLDR_PORCELAIN=0 SOLDR_RUSTC_WRAPPER=none OBS_PARITY_CASES=reduced soldr cargo test -p obs-data --test obs-tests-core output::serviceexited 0, 41 passed, including existing lifecycle/module lookup coverage and six new tests. Log:/home/niteris/.clud/tmp/tool-output/local-test-private/local-test-vjBxbU.log.SIZE_MAXcount without touching storage, as C does./home/niteris/.clud/tmp/tool-output/local-test-private/local-test-dmRGQk.log. Restored the exact GREEN core and reran the six new tests: exit 0, 6 passed, log/home/niteris/.clud/tmp/tool-output/local-test-private/local-test-xMSeHm.log. The mutation-generated independent-root seed is retained as a regression fixture.Tier 2 and exports
Both the behavior-neutral extraction and GREEN passed unchanged
test_service_lifecycle: 8/8 C-reference and 8/8 hybrid, no skips. Loaded libraries verified withldd; 1,767 dynamic exports, identical. Extraction log:/home/niteris/.clud/tmp/tool-output/local-test-private/local-test-6AImLr.log. GREEN log:/home/niteris/.clud/tmp/tool-output/local-test-private/local-test-a6DSv1.log.Focused reproducer:
uv run --no-project /tmp/run-service-module-tier2.py. It uses the repository'sdocker_task_command, checkout-scoped warm volume/image/source mount andZCCACHE_DISABLE=1; buildslibobs libobs-c-reference test_service_lifecycle, comparesnm -D --defined-only, verifies both loader paths, and runs the selected CTest under xvfb in OFF and ON modes. The first extraction attempt failed at Git's dubious-ownership check on the container mount/ro; retry supplies container-localsafe.directory=/ro. Full Tier 2/full workspace suites were not run locally. Hosted required CI remains the merge gate.Gates and cost
/home/niteris/.clud/tmp/tool-output/local-test-private/local-test-i2Jy3c.log.clud-review: one reviewer, clean, no actionable findings.DARRAY(char *)insideoffsetof/alignment parentheses. Fix e00f3b9 names that exact real C type with a typedef and queries the alias, with no warning suppression or production change. Failing job. Focused local rerun: exit 0, 6 passed, log/home/niteris/.clud/tmp/tool-output/local-test-private/local-test-kyNNZB.log; the changed C file also passes pinned clang-format. Hosted Windows validation must confirm the MSVC fix.uv run --no-project /tmp/measure-service-module.py. Existingobs-tests-corecategory only, no new executable, no threads of their own.Rebase after #3850
Rebased assigned head
8740896f6cd1e4fb09813442c9d21f5d711e56f5onto master52945776c92cb900c40303621766177bc98238d3; new head0398c03ba1e6d16c361e7e00b34a37cf22a0f69a. Both service ports retain their modules, exports, test registrations and reference-only groups.git range-diffpreserves all six commits with only conflict-context changes; lookup implementation/test/oracle files are byte-identical to the previous head, and state implementation/tests remain identical to master. No port behavior changes. Graph merged without conflicts or inventory edits.SOLDR_PORCELAIN=0 SOLDR_RUSTC_WRAPPER=none OBS_PARITY_CASES=reduced soldr cargo test -p obs-data --test obs-tests-core output::service: exit 0, 52 passed, including six lookup and five state cases. Log:/home/niteris/.clud/tmp/tool-output/local-test-private/local-test-BUQ7Zb.log.uv run -m unittest ci.test_test_graph_sorted ci.test_native_test_graph_slices ci.test_native_b2_portability ci.test_build_groups: exit 0, 16 passed. Log:/home/niteris/.clud/tmp/tool-output/local-test-private/local-test-658rks.log.SOLDR_PORCELAIN=0 ./lint: exit 1, earlier stages passed; final log confirms only the documented soldr refusal to build the Dylint driver under clud (nightly-2026-05-28 unavailable pre-deployed). Hosted Fast Gate must validate Dylint. Log:/home/niteris/.clud/tmp/tool-output/local-test-private/local-test-mBpCiA.log.git diff --checkclean. No new Tier 2, full workspace, Windows or macOS runs during this mechanical rebase; prior evidence above is retained. No local-gate attestation.