Repository navigation
ci: Move Flatpak and the native builds into the release gate - #440
Merged
Merged
Conversation
zackees
force-pushed
the
ci/436-release-gate
branch
from
October 13, 2026 03:33
ab59f83 to
0c65118
Compare
This was referenced Oct 13, 2026
9 tasks done
PRs and master pushes (the dev cycle) keep format, validators, Rust tests on all three OSes, Tier 2 Linux and one Ubuntu OBS build. Flatpak, the macOS/Windows OBS builds, Ubuntu with Rust libobs and Tier 2 macOS/Windows run only when build-project is full: the release gate (release-rust.yaml, which now won't publish unless that run is green), tags, release branches, schedule, workflow_dispatch and the ci-full label. appimage.yaml no longer runs per master push; the daily release's call refreshes the continuous pre-release instead. Cache saves move from master pushes to any non-PR run on master, so the gate keeps them warm. Closes #436 Local-Gate: v1 tree=4ce038d8c863af4933c69b42abfa48ceaada433f secs=239 lanes=lint:run,rust-test:run,tier2-linux:run Ci-Attestation: {"at":1791861450,"gate":"rust/all/fmt","host":"linux-x86_64","key":"9ae23a8716335379aa493cf20e4e4a45f600adcd7dfb42e96f5d0679e04d5d85","lane":"lint","parents":["e688393a35ec04d57d895709b58acf93fde29bc9"],"secs":112,"stamp":"039a889ae1a012db89041716c25ab223","tree":"4ce038d8c863af4933c69b42abfa48ceaada433f","v":1,"via":"run"} Ci-Attestation: {"at":1791861450,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"9ae23a8716335379aa493cf20e4e4a45f600adcd7dfb42e96f5d0679e04d5d85","lane":"lint","parents":["e688393a35ec04d57d895709b58acf93fde29bc9"],"secs":112,"stamp":"e098dc3bf6524f3f856fbd1aadf346b1","tree":"4ce038d8c863af4933c69b42abfa48ceaada433f","v":1,"via":"run"} Ci-Attestation: {"at":1791861450,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"7eac41082dae167f9d43d849cd542d3f888b60c47b23d195fd29c81e15052db6","lane":"rust-test","parents":["e688393a35ec04d57d895709b58acf93fde29bc9"],"secs":61,"stamp":"e98741e87948afe4b4a195b2c053bc52","tree":"4ce038d8c863af4933c69b42abfa48ceaada433f","v":1,"via":"run"} Ci-Attestation: {"at":1791861450,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"b486fea3e07d99160d9d1103fa134b88b6418ec7dc596bed23cc92ca8967d2c1","lane":"tier2-linux","parents":["e688393a35ec04d57d895709b58acf93fde29bc9"],"secs":65,"stamp":"ea9153d5a0dc51038880e12cd4c3b721","tree":"4ce038d8c863af4933c69b42abfa48ceaada433f","v":1,"via":"run"}
Linux always; core code adds the Rust-libobs build; macOS or Windows code adds that platform's jobs. Refs #436
…anges (GREEN) ci/ci_scope.py classifies the change. The Ubuntu OBS build, Rust tests and Tier 2 on Linux always run; core code (libobs, rust/) adds the Rust-libobs build; macOS or Windows code, or shared build/CI config, adds that platform's OBS build (one architecture), Rust tests and Tier 2. The release gate and ci-full still run everything, Flatpak included. Refs #436 Local-Gate: v1 tree=a4733bf63f68a5c197789b1974493120adfda2e1 secs=387 lanes=lint:run,rust-test:run,tier2-linux:run Ci-Attestation: {"at":1791868394,"gate":"rust/all/fmt","host":"linux-x86_64","key":"a97dbe89823169320d30c28d5434d0c62b91d65bd1f21e5848e15d0106be5122","lane":"lint","parents":["3ad8c9d2cfd12e866130d10347aaa0bd6cb67daf"],"secs":133,"stamp":"d856b91785c07939f79ce25ffe60e43f","tree":"a4733bf63f68a5c197789b1974493120adfda2e1","v":1,"via":"run"} Ci-Attestation: {"at":1791868394,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"a97dbe89823169320d30c28d5434d0c62b91d65bd1f21e5848e15d0106be5122","lane":"lint","parents":["3ad8c9d2cfd12e866130d10347aaa0bd6cb67daf"],"secs":133,"stamp":"a5ef3a77b5c75e227fb57e899de4fb07","tree":"a4733bf63f68a5c197789b1974493120adfda2e1","v":1,"via":"run"} Ci-Attestation: {"at":1791868394,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"5d4210e335943a20dc8b49820efd39d11f383f5e1ef37b7c689ed81b4e266d51","lane":"rust-test","parents":["3ad8c9d2cfd12e866130d10347aaa0bd6cb67daf"],"secs":188,"stamp":"c7de5d04de30cac560ae0a773a50f132","tree":"a4733bf63f68a5c197789b1974493120adfda2e1","v":1,"via":"run"} Ci-Attestation: {"at":1791868394,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"e02006bd4ef15a6f4de800b1f05193369b5823bb420947291cbb9df6bd4829d2","lane":"tier2-linux","parents":["3ad8c9d2cfd12e866130d10347aaa0bd6cb67daf"],"secs":66,"stamp":"028437ce290f25003e906da95634c6cf","tree":"a4733bf63f68a5c197789b1974493120adfda2e1","v":1,"via":"run"}
zackees
force-pushed
the
ci/436-release-gate
branch
from
October 13, 2026 05:13
0c65118 to
8d15541
Compare
This was referenced Oct 13, 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.
Closes #436. Attestation follow-up: #443.
Every PR and master push (Linux, always): Format, validators, CI Mode/attestation, the Ubuntu OBS build, Rust Tests (Linux) and Rust Tier 2 Linux. The last two are skipped when locally attested (GATE-008/010).
Added by scope (
ci/ci_scope.py, unit-tested inci/test_ci_scope.py):libobs/,rust/, Cargo files) → the Ubuntu Rust-libobs OBS build;*.m/*.mm,mac-*,cocoa/apple/darwin/coreaudiopaths,cmake/macos, Rustsrc/platform/unix) → macOS OBS build (arm64 only), Rust Tests macOS, Tier 2 macOS;win-*,windows/win32/wasapi/d3d*paths,*.rc,cmake/windows,deps/w32-pthreads, Rustsrc/platform/windows) → Windows OBS build (x64 only), Rust Tests Windows, Tier 2 Windows;.github/,cmake/common, rootCMakeLists.txt,buildspec.json, Rustplatform/mod.rs) → both platforms.Attesting platform changes locally, so they can skip CI, needs native lanes and per-platform jobs; that's #443.
Release gate (
full):release-rust.yaml's newgatejob runs everything (Flatpak, both architectures per platform, Rust libobs, Tier 2 on all OSes) at the candidate SHA, andreleaseneeds it green. The same runs for tags,release/**,schedule,workflow_dispatchand theci-fulllabel.AppImage: no longer runs per master push; the daily release refreshes
continuous(publish_continuous). Caches: saved on any non-PR run on master, so the gate keeps them warm.Typical Linux/core PR: about 3 min critical path, no macOS slot, versus 10–12 min and 5 macOS slots before. This PR touches
.github/, so it correctly runs both platforms; it isn't the typical case. Commits: REDci/test_ci_scope.py, then GREEN. actionlint is clean, and the local gate passed and is stamped.