Repository navigation
ci: build test_source_profiler_vendor only where the obs-websocket submodule is (Fixes #5955) - #5959
Merged
Merged
Conversation
…5955) test_source_profiler_vendor includes obs-websocket-api.h but has no HAVE_WS_ requirement, so lanes without the submodule fail to build it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…bmodule is, GREEN (Fixes #5955) A HAVE_WS_VENDOR_API_TEST_OWNER fact, true when plugins/obs-websocket/lib/obs-websocket-api.h exists, set by the CMake graph reader and the Cargo graphics builder, gates the test like the other obs-websocket helpers. Windows Tier 2 under Wine checks out without submodules and no longer fails on the missing header. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Ci-Attestation: {"at":1795978788,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["cd72c5052d43f9de9842f725454e8fe27db86aa3"],"secs":76,"stamp":"8587db6f1380e7dba011167ec7b64518","tree":"09ab5db87eb74757dd6cd72515a96bd5e092deeb","v":1,"via":"run"} Ci-Attestation: {"at":1795978788,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["cd72c5052d43f9de9842f725454e8fe27db86aa3"],"secs":76,"stamp":"e15b2b0d83b5ee702068c51f07d341fb","tree":"09ab5db87eb74757dd6cd72515a96bd5e092deeb","v":1,"via":"run"} Ci-Attestation: {"at":1795978788,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["cd72c5052d43f9de9842f725454e8fe27db86aa3"],"secs":76,"stamp":"49da7981823819ba80cb5761784e26dc","tree":"09ab5db87eb74757dd6cd72515a96bd5e092deeb","v":1,"via":"run"} Ci-Attestation: {"at":1795978788,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["cd72c5052d43f9de9842f725454e8fe27db86aa3"],"secs":76,"stamp":"1434ef9c3ae10ea5d035846540aea32d","tree":"09ab5db87eb74757dd6cd72515a96bd5e092deeb","v":1,"via":"run"} Ci-Attestation: {"at":1795978711,"gate":"general/all/client-lint","host":"linux-x86_64","key":"fd0a9a3fc43fa9d3fce5487610344efc175d5a6e64b7639b171af8a695755b0a","lane":"client-lint","parents":["cd72c5052d43f9de9842f725454e8fe27db86aa3"],"secs":65,"stamp":"c4286024a60fecacccfd99045128f0e5","tree":"09ab5db87eb74757dd6cd72515a96bd5e092deeb","v":1,"via":"run"} Ci-Attestation: {"at":1795978788,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["cd72c5052d43f9de9842f725454e8fe27db86aa3"],"secs":76,"stamp":"c46a728d5732c0132b5f82aeb2c15dd4","tree":"09ab5db87eb74757dd6cd72515a96bd5e092deeb","v":1,"via":"run"} Ci-Attestation: {"at":1795978711,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"fd0a9a3fc43fa9d3fce5487610344efc175d5a6e64b7639b171af8a695755b0a","lane":"client-lint","parents":["cd72c5052d43f9de9842f725454e8fe27db86aa3"],"secs":65,"stamp":"245d80e25cab23c4b26b1128173eaec4","tree":"09ab5db87eb74757dd6cd72515a96bd5e092deeb","v":1,"via":"run"} Ci-Attestation: {"at":1795978711,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"fd0a9a3fc43fa9d3fce5487610344efc175d5a6e64b7639b171af8a695755b0a","lane":"client-lint","parents":["cd72c5052d43f9de9842f725454e8fe27db86aa3"],"secs":65,"stamp":"332c1978686348a10fd76a25122f3c91","tree":"09ab5db87eb74757dd6cd72515a96bd5e092deeb","v":1,"via":"run"} Ci-Attestation: {"at":1795978711,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"fd0a9a3fc43fa9d3fce5487610344efc175d5a6e64b7639b171af8a695755b0a","lane":"client-lint","parents":["cd72c5052d43f9de9842f725454e8fe27db86aa3"],"secs":65,"stamp":"04e2c6a4ec94f31b4b162aacb6f9790b","tree":"09ab5db87eb74757dd6cd72515a96bd5e092deeb","v":1,"via":"run"} Ci-Attestation: {"at":1795978711,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"fd0a9a3fc43fa9d3fce5487610344efc175d5a6e64b7639b171af8a695755b0a","lane":"client-lint","parents":["cd72c5052d43f9de9842f725454e8fe27db86aa3"],"secs":65,"stamp":"9231447d354d56c0304325926428d045","tree":"09ab5db87eb74757dd6cd72515a96bd5e092deeb","v":1,"via":"run"} Ci-Attestation: {"at":1795978711,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"fd0a9a3fc43fa9d3fce5487610344efc175d5a6e64b7639b171af8a695755b0a","lane":"client-lint","parents":["cd72c5052d43f9de9842f725454e8fe27db86aa3"],"secs":65,"stamp":"6294d3df8d4af717d39a12278f714160","tree":"09ab5db87eb74757dd6cd72515a96bd5e092deeb","v":1,"via":"run"} Ci-Attestation: {"at":1795978711,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"fd0a9a3fc43fa9d3fce5487610344efc175d5a6e64b7639b171af8a695755b0a","lane":"client-lint","parents":["cd72c5052d43f9de9842f725454e8fe27db86aa3"],"secs":65,"stamp":"eb6630aa7c0e6f90f6379eadad6971ae","tree":"09ab5db87eb74757dd6cd72515a96bd5e092deeb","v":1,"via":"run"} Ci-Attestation: {"at":1795978711,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"fd0a9a3fc43fa9d3fce5487610344efc175d5a6e64b7639b171af8a695755b0a","lane":"client-lint","parents":["cd72c5052d43f9de9842f725454e8fe27db86aa3"],"secs":65,"stamp":"27e00f8b91ea06a75dc5cf6dde06d3f4","tree":"09ab5db87eb74757dd6cd72515a96bd5e092deeb","v":1,"via":"run"} Ci-Attestation: {"at":1795978711,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"fd0a9a3fc43fa9d3fce5487610344efc175d5a6e64b7639b171af8a695755b0a","lane":"client-lint","parents":["cd72c5052d43f9de9842f725454e8fe27db86aa3"],"secs":65,"stamp":"83871933fe58f50d15064df83730272f","tree":"09ab5db87eb74757dd6cd72515a96bd5e092deeb","v":1,"via":"run"} Ci-Attestation: {"at":1795978711,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"fd0a9a3fc43fa9d3fce5487610344efc175d5a6e64b7639b171af8a695755b0a","lane":"client-lint","parents":["cd72c5052d43f9de9842f725454e8fe27db86aa3"],"secs":65,"stamp":"5a829340c552744222b33536862e62c9","tree":"09ab5db87eb74757dd6cd72515a96bd5e092deeb","v":1,"via":"run"} Ci-Attestation: {"at":1795978711,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"fd0a9a3fc43fa9d3fce5487610344efc175d5a6e64b7639b171af8a695755b0a","lane":"client-lint","parents":["cd72c5052d43f9de9842f725454e8fe27db86aa3"],"secs":65,"stamp":"7b9ad9d54ad659ca43f317cc458b9e49","tree":"09ab5db87eb74757dd6cd72515a96bd5e092deeb","v":1,"via":"run"} Ci-Attestation: {"at":1795978711,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"fd0a9a3fc43fa9d3fce5487610344efc175d5a6e64b7639b171af8a695755b0a","lane":"client-lint","parents":["cd72c5052d43f9de9842f725454e8fe27db86aa3"],"secs":65,"stamp":"020535b892e66b8f50dcab89492e7135","tree":"09ab5db87eb74757dd6cd72515a96bd5e092deeb","v":1,"via":"run"} Ci-Attestation: {"at":1795978711,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"fd0a9a3fc43fa9d3fce5487610344efc175d5a6e64b7639b171af8a695755b0a","lane":"client-lint","parents":["cd72c5052d43f9de9842f725454e8fe27db86aa3"],"secs":65,"stamp":"4aa463d517c3c535500bdb71eb7fc372","tree":"09ab5db87eb74757dd6cd72515a96bd5e092deeb","v":1,"via":"run"} Ci-Attestation: {"at":1795979080,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"6411e6d9e9f1aa2f4d64783cd84cca47030442788cf9e03e73da4b1287f727b0","lane":"client-test-x86_64-unknown-linux-gnu","parents":["cd72c5052d43f9de9842f725454e8fe27db86aa3"],"secs":291,"stamp":"a8c291565ae748df72059ab0f4355b18","tree":"09ab5db87eb74757dd6cd72515a96bd5e092deeb","v":1,"via":"run"} Client-Checks: {"checks":{"base":"a173a79dba3875e332612d951e8a9b7a6f14bb48","coverage":"all-tracked-applicable-files","diff":["ci/test_cmocka_websocket_gate.py","rust/obs-build/src/validation.rs","rust/obs-build/src/validation/graph.rs","test/cmocka/build/test-graph.json","test/cmocka/native-test-graph.cmake"],"head":"eed47d117e497acf51098e2c3c6c4acdc3d27449","tools":{"orchestrator-python":"3.13.16 (main, Oct 14 2026, 01:04:01) [Clang 23.1.3 ]","schema-dependencies":"3.13.16 (main, Oct 14 2026, 01:04:01) [Clang 23.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 21504-GITv2.15.4\n compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ICU ISO8859X Regexps Automata RelaxNG Schemas Schematron Modules Debug Zlib"},"tracked-digest":"bfdc2226daa9cf2da3ca87f7f8623caa91faf84ed6a371863f6f47b20dcf377b","tree":"09ab5db87eb74757dd6cd72515a96bd5e092deeb"}}
zackees
reviewed
Nov 29, 2026
zackees
left a comment
Member
There was a problem hiding this comment.
Coordinator review: LGTM.
- The cause is right: #5949's
test_source_profiler_vendorincludesplugins/obs-websocket/lib/obs-websocket-api.hthrough its PCH without a submodule gate. Windows Tier 2 under Wine checks out without submodules, so the build fails. That ejected #5950 twice (merge-group runs 46294484704 and 46296715438). - The fix:
HAVE_WS_VENDOR_API_TEST_OWNERis set in both the CMake reader andobs-build's validation graph, so the two agree. - The guard:
ci/test_cmocka_websocket_gate.pyfails any graph target that names an obs-websocket path without aHAVE_WS_requirement, so the next one can't slip in. - Status: auto-merge on. It has to land before #5950, #5953 and #5954 can get through the queue.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #5955.
The source profiler vendor test (#5949) includes
plugins/obs-websocket/lib/obs-websocket-api.hthrough its PCH, but unlike every other test that uses obs-websocket files it had no submodule gate. Windows Tier 2 under Wine checks out without submodules, so it fails:This ejected #5950 from the merge queue (run 46294484704) and fails #5954 the same way.
Change
HAVE_WS_VENDOR_API_TEST_OWNER: true whenplugins/obs-websocket/lib/obs-websocket-api.hexists. Set intest/cmocka/native-test-graph.cmake(and listed as a known host option) and in the Cargo graphics builder (rust/obs-build/src/validation.rs), with the optional-owner fallback invalidation/graph.rs.test_source_profiler_vendorgets"requires": "HAVE_WS_VENDOR_API_TEST_OWNER". Lanes with the submodule (Linux Tier 2) still build and run it.ci/test_cmocka_websocket_gate.py: any graph target naming aplugins/obs-websocketpath must require aHAVE_WS_fact, so the next one is caught by./lintinstead of the queue.Evidence
RED (commit cd72c50, on origin/master a173a79):
GREEN (b3c2b45):
The PR touches
test/cmocka/, so its ownRust Tier 2 (windows, wine)job is the end-to-end check of the CMake gate.Test cost: the new check is a Python unittest reading one JSON file, under 0.02 s, a few MB RSS, one thread. No Rust tests added.
🤖 Generated with Claude Code