Repository navigation
ci: One fast gate job for core PRs: lint, Dylint and unit tests in ~4 minutes (#992) - #1013
Merged
Merged
Conversation
zackees
force-pushed
the
ci/992-fast-gate
branch
2 times, most recently
from
October 16, 2026 07:49
7ba1790 to
583217a
Compare
zackees
force-pushed
the
ci/992-fast-gate
branch
from
October 16, 2026 08:07
4b44794 to
486c024
Compare
This was referenced Oct 16, 2026
zackees
added a commit
to chriscoveries/obsrust-fork
that referenced
this pull request
Oct 16, 2026
…ix) (obs-rust#1045) * test: Qt plugins opt out before requiring Qt (RED) The Fast Gate (obs-rust#1013) configures the touched Linux targets with no Qt. frontend-tools calls find_package(Qt6 REQUIRED) unconditionally, so that configure fails on every PR that builds C (obs-rust#1016, obs-rust#1031, obs-rust#1037). * frontend-tools: Skip the plugin when the frontend is off (GREEN) frontend-tools is frontend UI and requires Qt. Return before find_package(Qt6) when ENABLE_FRONTEND is OFF, as the AJA, DeckLink, VST and websocket plugins do with their own options, so the Fast Gate's Qt-free configure succeeds.
This was referenced Nov 17, 2026
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 part of #992. Target: a core change gets through in ~4 minutes.
Measured before (3 PR runs after #993)
About 12 runners per PR (Event Data, CI Mode, Lane Proofs, 5 format jobs, Validate Compatibility, Validate Services, Rust Tests, CI Gate). Job work was ~2.5 min; queue waits were 30 s to 11 min per job, wall clock 21-41 min.
Changes
rust-tests-linux, renamed): format, rustfmt, clippy, Dylint, thensoldr cargo testfor the crates the diff touches plus dependents (ci/rust_scope.py; libobs/dylints/Cargo files test the workspace; docs/frontend skip tests). No Qt.Checksjob; compat + services validators intoValidate Data; Lane Proofs into CI Mode. Core PR: Event Data, CI Mode, Checks, Validate Data, Fast Gate, CI Gate (6, from ~12), +3 when Tier 2 is selected.ci-fullremoved from check-event, docs, template).build-aux/,.gitmodulesand plugin submodule moves select the full builds by path.tier2(libobs, crates linked into libobs derived fromrust/libobs-rust/Cargo.toml, test/cmocka, deps, validate tooling, Cargo files). Cross lint runs on PRs only when a platform lane is selected.find_package(Qt6 REQUIRED Widgets)at configure, so dropping them broke configure (found by CI). The Fast Gate target build installs no Qt and passes ENABLE_DECKLINK=OFF.Tables (ci/ci_scope.py, tested per row)
/platform[/-](windows|macos|linux|posix)[/.](posix = linux+macos); other core files = linux only; shared build files = all; legacy name tokens (platform_paths.py) remain as fallback with a TODO for the rename issue. Areas able to start an OS lane: libobs, rust/, frontend/, plugins/, shared/, deps/, cmake/, test/, build-aux/.Not done here
Windows/macOS Qt lanes (prebuilt Qt assets) are a follow-up; the Qt lane is Linux-only.
Update
Fast Gate order: 1) fmt/clippy/Dylint, 2) unit tests of touched crates, 3) Linux build of touched plugins/ and shared/ targets (empty list skips). macOS/Windows/Qt/Tier 2/cross jobs
needs:the Fast Gate. No PR path triggers the full app builds;.github/no longer starts macOS/Windows; platform-only libobs files skip Linux Tier 2; frontend platform files start no OS Rust/Tier 2 job.