Skip to content

test: characterize transition UUID lookup ownership (Refs #5659) - #5662

Draft
zackees wants to merge 2 commits into
masterfrom
test/5659-transition-uuid
Draft

zackees wants to merge 2 commits into
masterfrom
test/5659-transition-uuid

Conversation

@zackees

@zackees zackees commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Adds direct actual-library cmocka coverage for the deprecated exported obs_get_transition_by_uuid ABI. Five cases pin missing/empty UUID lookup, public and private transition identity, one retained reference per successful call, and rejection/release of public and private input results. Weak handles prove ownership without accessing private refcounts. The synthetic transition supplies the required composite audio callback and needs no renderer.

The canonical graph registers one target/test, with explicit SIMDe::SIMDe and Linux-only Xvfb prefix. No production code, existing C test, public header, Rust implementation, or WebSocket code changes.

Validation: the initial c3f0c9e compile failed on deprecated API calls under -Werror; final a73e37f adds the existing portable deprecation macro and fixes the synthetic transition registration identified in review. Linux C-reference and hybrid each passed the new fixture plus unchanged test_context_names three times, with loader selection checked and 1,769 identical exported symbols. Characterization baseline artifact: local-test-NoPPXc.log. One primary clud-review reviewer reports CLEAN after the fixture correction. Full final lint passed (115.6 s, local-test-Mi7zLG.log). The extraction tree also passed both fixtures x3 on each backend with loader checks and identical 1,769 exports (local-test-4FUGpa.log). Windows eight category binaries linked successfully (278.99 s); Windows MSVC x64 and Darwin arm64 each linked hybrid libobs, all 83 configured Rust-static fixtures and this new shared-library fixture (85 targets each; explicit alias and overall exit 0). New fixture link entries are present for both aliases (local-test-iEmrXQ.log; native phases 233.39 s / 184.42 s). Cross-linking executes no target programs; native Windows/macOS runtime remains required CI coverage. The full unrelated Linux suite was not run locally. Publication also passed CI-pinned six-target client lint (25.7 s for characterization; 19.0 s for extraction). Missing xmllint prevented complete client proof; ordinary required PR CI remains in force. Rust Tiers 1/3 and protocol Tier 4 are inapplicable to this C-only prerequisite; the later Rust swap must supply its applicable tiers.

HOLD: backpressure is CLOSED; leave this PR DRAFT with auto-merge disabled until the landing worker admits it. Land before the separate verbatim extraction prerequisite; a Rust swap is later work.

Refs #5659

@zackees zackees added the pool-active Pool worker owns this PR; automated rebases must skip it label Nov 25, 2026
@zackees zackees changed the title test: provide valid transition fixture and allow deprecated ABI calls (Refs #5659) test: characterize transition UUID lookup ownership (Refs #5659) Nov 25, 2026
@zackees zackees removed the pool-active Pool worker owns this PR; automated rebases must skip it label Nov 25, 2026
@obs-rust-project-manager obs-rust-project-manager Bot moved this to In progress in obs-rust Multiview Nov 25, 2026
@zackees
zackees force-pushed the test/5659-transition-uuid branch from a73e37f to 322f2e3 Compare November 26, 2026 04:33
@obs-rust-project-manager obs-rust-project-manager Bot moved this from In progress to Stalled in obs-rust Multiview Nov 29, 2026
@obs-rust-project-manager obs-rust-project-manager Bot moved this from Stalled to Needs fix in obs-rust Multiview Dec 4, 2026
… (Refs #5659)

Client-Checks: {"checks":{"base":"1a371e8bc576a915376715bf91ad39d30518b860","coverage":"all-tracked-applicable-files","diff":["test/cmocka/build/test-graph.json","test/cmocka/test_transition_uuid_lookup.c"],"head":"9358ebfef25fb1aaa8dfa61c30c749da8ecc579e","tools":{"orchestrator-python":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]","schema-dependencies":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]\n{'jsonschema': '4.26.0', 'json_source_map': '1.0.5'}","uv":"uv 0.13.5 (x86_64-unknown-linux-gnu)","xmllint":"xmllint: using libxml version 21503\n   compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ISO8859X Regexps Automata RelaxNG Schemas Modules Debug"},"tracked-digest":"b74d4c827ecbc6fcb28279993ca510f2286baa168fb90ffef69e6388569460cf","tree":"105d2059a8468735b552e1ff6c67ab1c3223a3c7"}}

Ci-Attestation: {"at":1795667230,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["0cdb1af094cc4730dc1080eb29f6976f0e6f13b7"],"secs":81,"stamp":"bf44689b70a1cee58d049d3826ccb20e","tree":"105d2059a8468735b552e1ff6c67ab1c3223a3c7","v":1,"via":"run"}
Ci-Attestation: {"at":1795667230,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["0cdb1af094cc4730dc1080eb29f6976f0e6f13b7"],"secs":81,"stamp":"7248fc77c943574a02a841c8491e08d2","tree":"105d2059a8468735b552e1ff6c67ab1c3223a3c7","v":1,"via":"run"}
Ci-Attestation: {"at":1795667230,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["0cdb1af094cc4730dc1080eb29f6976f0e6f13b7"],"secs":81,"stamp":"3ee898b1d8ea16d20499d1dd3fecef61","tree":"105d2059a8468735b552e1ff6c67ab1c3223a3c7","v":1,"via":"run"}
Ci-Attestation: {"at":1795667230,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["0cdb1af094cc4730dc1080eb29f6976f0e6f13b7"],"secs":81,"stamp":"95b987926b55418a80f4fad781ca79d2","tree":"105d2059a8468735b552e1ff6c67ab1c3223a3c7","v":1,"via":"run"}
Ci-Attestation: {"at":1796412591,"gate":"general/all/client-lint","host":"linux-x86_64","key":"c5ec2e5aa6155d916bc7690da9008a8438c0e9a5314effb2af3ba6f7f649a731","lane":"client-lint","parents":["0473564996895b7f738ec4f66a4e8b359c6931a9"],"secs":14,"stamp":"aa748e228ae35e8bab4076e8aa833036","tree":"f1db56fad0ec5026c21c902f824cc877095e8e7b","v":1,"via":"run"}
Ci-Attestation: {"at":1795667230,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["0cdb1af094cc4730dc1080eb29f6976f0e6f13b7"],"secs":81,"stamp":"23a96164d69fca63c113bdbbad8683c3","tree":"105d2059a8468735b552e1ff6c67ab1c3223a3c7","v":1,"via":"run"}
Ci-Attestation: {"at":1796412593,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"c5ec2e5aa6155d916bc7690da9008a8438c0e9a5314effb2af3ba6f7f649a731","lane":"client-lint","parents":["0473564996895b7f738ec4f66a4e8b359c6931a9"],"secs":14,"stamp":"cea364d52416f605f0b414c1099cb0c5","tree":"f1db56fad0ec5026c21c902f824cc877095e8e7b","v":1,"via":"run"}
Ci-Attestation: {"at":1796412593,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"c5ec2e5aa6155d916bc7690da9008a8438c0e9a5314effb2af3ba6f7f649a731","lane":"client-lint","parents":["0473564996895b7f738ec4f66a4e8b359c6931a9"],"secs":14,"stamp":"e82891e15a4131bb88e13af7eb079db3","tree":"f1db56fad0ec5026c21c902f824cc877095e8e7b","v":1,"via":"run"}
Ci-Attestation: {"at":1796412592,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"c5ec2e5aa6155d916bc7690da9008a8438c0e9a5314effb2af3ba6f7f649a731","lane":"client-lint","parents":["0473564996895b7f738ec4f66a4e8b359c6931a9"],"secs":14,"stamp":"fbc66d48ec385fb569228602a8163135","tree":"f1db56fad0ec5026c21c902f824cc877095e8e7b","v":1,"via":"run"}
Ci-Attestation: {"at":1796412592,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"c5ec2e5aa6155d916bc7690da9008a8438c0e9a5314effb2af3ba6f7f649a731","lane":"client-lint","parents":["0473564996895b7f738ec4f66a4e8b359c6931a9"],"secs":14,"stamp":"eb3b175e58b264ca1c6fa2d8700650ab","tree":"f1db56fad0ec5026c21c902f824cc877095e8e7b","v":1,"via":"run"}
Ci-Attestation: {"at":1796412592,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"c5ec2e5aa6155d916bc7690da9008a8438c0e9a5314effb2af3ba6f7f649a731","lane":"client-lint","parents":["0473564996895b7f738ec4f66a4e8b359c6931a9"],"secs":14,"stamp":"07bb46a00b2626e1e5df5e74ad728ce1","tree":"f1db56fad0ec5026c21c902f824cc877095e8e7b","v":1,"via":"run"}
Ci-Attestation: {"at":1796412592,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"c5ec2e5aa6155d916bc7690da9008a8438c0e9a5314effb2af3ba6f7f649a731","lane":"client-lint","parents":["0473564996895b7f738ec4f66a4e8b359c6931a9"],"secs":14,"stamp":"c0cf4ca7ee612101dac26ed774b61d66","tree":"f1db56fad0ec5026c21c902f824cc877095e8e7b","v":1,"via":"run"}
Ci-Attestation: {"at":1796412592,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"c5ec2e5aa6155d916bc7690da9008a8438c0e9a5314effb2af3ba6f7f649a731","lane":"client-lint","parents":["0473564996895b7f738ec4f66a4e8b359c6931a9"],"secs":14,"stamp":"43e40a80f022493f368ac973341b3340","tree":"f1db56fad0ec5026c21c902f824cc877095e8e7b","v":1,"via":"run"}
Ci-Attestation: {"at":1796412593,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"c5ec2e5aa6155d916bc7690da9008a8438c0e9a5314effb2af3ba6f7f649a731","lane":"client-lint","parents":["0473564996895b7f738ec4f66a4e8b359c6931a9"],"secs":14,"stamp":"8bf4db3280c6acf710d2cb88208e2542","tree":"f1db56fad0ec5026c21c902f824cc877095e8e7b","v":1,"via":"run"}
Ci-Attestation: {"at":1796412592,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"c5ec2e5aa6155d916bc7690da9008a8438c0e9a5314effb2af3ba6f7f649a731","lane":"client-lint","parents":["0473564996895b7f738ec4f66a4e8b359c6931a9"],"secs":14,"stamp":"e289b0aa13cbe02330b6551cc67bc7b7","tree":"f1db56fad0ec5026c21c902f824cc877095e8e7b","v":1,"via":"run"}
Ci-Attestation: {"at":1796412592,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"c5ec2e5aa6155d916bc7690da9008a8438c0e9a5314effb2af3ba6f7f649a731","lane":"client-lint","parents":["0473564996895b7f738ec4f66a4e8b359c6931a9"],"secs":14,"stamp":"da37075b076f581bae7f6f0c03233ffb","tree":"f1db56fad0ec5026c21c902f824cc877095e8e7b","v":1,"via":"run"}
Ci-Attestation: {"at":1796412591,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"c5ec2e5aa6155d916bc7690da9008a8438c0e9a5314effb2af3ba6f7f649a731","lane":"client-lint","parents":["0473564996895b7f738ec4f66a4e8b359c6931a9"],"secs":14,"stamp":"864caff15b22d52f56bb1af084393577","tree":"f1db56fad0ec5026c21c902f824cc877095e8e7b","v":1,"via":"run"}
Ci-Attestation: {"at":1796412592,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"c5ec2e5aa6155d916bc7690da9008a8438c0e9a5314effb2af3ba6f7f649a731","lane":"client-lint","parents":["0473564996895b7f738ec4f66a4e8b359c6931a9"],"secs":14,"stamp":"d3c1adb64862784a4a9262d8a428d058","tree":"f1db56fad0ec5026c21c902f824cc877095e8e7b","v":1,"via":"run"}
Ci-Attestation: {"at":1795667588,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"4af899281a33bef9f24025ee4d2c86433b02e04ce7c107953ef9111dbd199b01","lane":"client-test-x86_64-unknown-linux-gnu","parents":["0cdb1af094cc4730dc1080eb29f6976f0e6f13b7"],"secs":358,"stamp":"7a935f7ede74e276027876cb76055d04","tree":"105d2059a8468735b552e1ff6c67ab1c3223a3c7","v":1,"via":"run"}
@zackees
zackees force-pushed the test/5659-transition-uuid branch from 322f2e3 to 92ad7c4 Compare December 4, 2026 19:30

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs fix

Development

Successfully merging this pull request may close these issues.

1 participant