You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: host-named files in Qt-area plugins don't select the Windows/macOS lanes; cmake/cross not run in CI #1294
Problem. Windows/macOS host code in plugins whose path ci/ci_scope.py files under a Qt area is not compiled by any PR CI job. Found on #1292 (#855, frontend-tools).
plugins/frontend-tools/ is a Qt area, which selects only Linux and the Linux Qt lane (windows=False; the macOS flag is set, but no macOS job builds this plugin).
frontend-tools-host-windows and frontend-tools-host-macos
the captions files
auto-scene-switcher-win and auto-scene-switcher-osx, with their precompiled headers
the Windows and macOS builds of scripts.cpp.hpp and auto-scene-switcher.cpp.hpp
They were checked only by a local cmake/cross run (mac-arm64 73/73; win-x64 compiled the host group, then stopped on unrelated missing win-dshow headers). The same gap applies to any host file a PR adds in a Qt-area plugin, and only master's push builds (or release builds) would catch a break.
Proposed.
In ci_scope.py, a path matching the host naming rule (*-host-windows*, hosts/windows/, …, *-windows.pch.*) selects that OS's lane, whatever area the rest of the path is in. It needs a test in ci/test_ci_scope*.py.
Optionally, run cmake/cross in CI for the touched plugins' host groups, as a cheap compile-only check (no app build), so Windows/macOS host files get compiled even when the full lanes aren't selected.
Fix the win-dshow cross build (missing dshowcapture headers) so the win-x64 cross check can run to the end.
Test:ci_scope on #1292's file list selects windows and macos.
Claiming part 1: in ci/platform_paths.py / ci/ci_scope.py, a path matching the host naming rule (*-host-<os>*, hosts/<os>/, *-<os>.pch.*, in windows/macos/linux/posix) selects that OS's lane whatever area the rest of the path is in, with a test (#1292's file list must select windows and macos). Parts 2 and 3 (cmake/cross in CI, the win-dshow cross build) stay open.
Claiming: #1294 part 3. cmake/cross/docker.sh win-x64 on master fails at configure: cmake/cross/CMakeLists.txt still names coreaudio-encoder.core+.hpp.cpp, which #1607 split into .windows+/.macos+. Plan: 1) point the cross target at the current group, 2) rerun win-x64 and fix what it shows next (the earlier win-dshow header gap), 3) a ci/ test that every source the cross CMakeLists names exists, so CI catches this kind of drift. PR today.
Part 3 done in #1967 (merged): cmake/cross/docker.sh win-x64 mac-arm64 builds every target again. The win-dshow header gap no longer reproduced. The real breakage was drift from the coreaudio-encoder and decklink host splits, and ci/test_cross_sources.py now catches renamed sources. Still open: part 2 (run cmake/cross in CI). Releasing part 3.
Triage: part 1 is done (#1387, host-named paths select their OS lane) and so is part 3 (#1967, cmake/cross builds every target, ci/test_cross_sources.py). What's left is part 2: run cmake/cross (compile-only, no app build) in PR CI for the host groups a PR touches.
That gap just broke master: #2176 added the frontend-windows-obs-main PCH with shellapi.h before windows.h. No PR job compiled it, and only the nightly Windows app build caught it (#1395, fixed in #2359). A compile-only cross check of the touched frontend/plugin Windows and macOS groups would have failed on the PR.
Acceptance: a PR that changes a Windows or macOS host group (including its *.pch.hpp) compiles it for win-x64/mac-arm64 in PR CI, as a job in the existing workflows (no new workflow file), and it fails on a reverted #2359. P2, size:M.
Claiming: #1294 part 2. I'll add a compile-only cmake/cross job to the existing PR workflow that builds the host groups a PR touches, plus a ci/ test that selects it.
Part 2 is done. #2407 added the compile-only Cross Compile 🧰 PR job, which builds the cmake/cross host groups a PR touches (ci/test_cross_scope.py), and #2410 extended it to the frontend's Windows and macOS Qt groups (ci/test_cross_qt.py). With parts 1 (#1387) and 3 (#1967) already merged, the issue is complete. #2410 said "Closes #2408 and #1294", and GitHub only closes the first issue in that form.
Activity
zackees commentedon Oct 18, 2026
Claiming part 1: in
ci/platform_paths.py/ci/ci_scope.py, a path matching the host naming rule (*-host-<os>*,hosts/<os>/,*-<os>.pch.*, in windows/macos/linux/posix) selects that OS's lane whatever area the rest of the path is in, with a test (#1292's file list must select windows and macos). Parts 2 and 3 (cmake/cross in CI, the win-dshow cross build) stay open.ci: host-named files select their OS lane (obs-rust#1294) (obs-rust#1387
zackees commentedon Oct 23, 2026
Claiming: #1294 part 3.
cmake/cross/docker.sh win-x64on master fails at configure:cmake/cross/CMakeLists.txtstill namescoreaudio-encoder.core+.hpp.cpp, which #1607 split into.windows+/.macos+. Plan: 1) point the cross target at the current group, 2) rerun win-x64 and fix what it shows next (the earlierwin-dshowheader gap), 3) aci/test that every source the cross CMakeLists names exists, so CI catches this kind of drift. PR today.cmake/cross: follow the coreaudio-encoder and decklink host splits (G…
zackees commentedon Oct 23, 2026
Part 3 done in #1967 (merged):
cmake/cross/docker.sh win-x64 mac-arm64builds every target again. Thewin-dshowheader gap no longer reproduced. The real breakage was drift from the coreaudio-encoder and decklink host splits, andci/test_cross_sources.pynow catches renamed sources. Still open: part 2 (runcmake/crossin CI). Releasing part 3.cmake/cross: fix the stale coreaudio-encoder group and check cross so…
zackees commentedon Oct 25, 2026
/ready
Triage: part 1 is done (#1387, host-named paths select their OS lane) and so is part 3 (#1967,
cmake/crossbuilds every target,ci/test_cross_sources.py). What's left is part 2: runcmake/cross(compile-only, no app build) in PR CI for the host groups a PR touches.That gap just broke master: #2176 added the
frontend-windows-obs-mainPCH withshellapi.hbeforewindows.h. No PR job compiled it, and only the nightly Windows app build caught it (#1395, fixed in #2359). A compile-only cross check of the touched frontend/plugin Windows and macOS groups would have failed on the PR.Acceptance: a PR that changes a Windows or macOS host group (including its
*.pch.hpp) compiles it for win-x64/mac-arm64 in PR CI, as a job in the existing workflows (no new workflow file), and it fails on a reverted #2359. P2, size:M.zackees commentedon Oct 25, 2026
Claiming: #1294 part 2. I'll add a compile-only
cmake/crossjob to the existing PR workflow that builds the host groups a PR touches, plus aci/test that selects it.cmake/cross: Note that PR CI runs the check (#1294)
ci: Cross Compile checks out libdshowcapture; audit its setup-soldr c…
ci: Cross Compile checks out libdshowcapture; audit its setup-soldr c…
ci: Cross-compile the Windows/macOS host groups a PR touches (obs-rus…
zackees commentedon Oct 25, 2026
Part 2 is done. #2407 added the compile-only
Cross Compile 🧰PR job, which builds the cmake/cross host groups a PR touches (ci/test_cross_scope.py), and #2410 extended it to the frontend's Windows and macOS Qt groups (ci/test_cross_qt.py). With parts 1 (#1387) and 3 (#1967) already merged, the issue is complete. #2410 said "Closes #2408 and #1294", and GitHub only closes the first issue in that form.