Repository navigation
Description
Goal (maintainer): take Flatpak and the other expensive packaging and native builds out of the dev cycle (PRs and master pushes) and run them as release-gating builds instead, as zackees/ci.yml prescribes: the PR and push runs stay cheap, and the release candidate's exact-SHA full run is the catch-all (docs/designs/pr-critical-path.md, "Catch-alls"). Target: the dev-cycle CI is ≥4× faster, with no Flatpak.
Measured (last full PR runs with native changes: 38335024008, 38334843126, 38333993443)
Wall time is 10–12 min, plus queueing; each run holds 5 macOS slots, the whole free-tier cap, so overlapping PRs queue (quick-gate runs saw 9–21 min wall).
| Job | Minutes |
|---|---|
| Flatpak 📦 | 8–11 (critical path) |
| Rust Tier 2 macos-26 | 5–7 |
| Rust Tier 2 windows | 4–7 |
| macOS x86_64 / arm64 | 4–5 / 3–4 |
| Windows x64 / arm64 | 3–4 / 3–4 |
| Ubuntu / Ubuntu (Rust libobs) | 2–3 / 2–3 |
| Rust Tier 2 Linux | 3–4 |
| Rust Tests linux / macOS / Windows | 2–3 each |
| Format, validators | ≤1 |
Master pushes run all of that, plus appimage.yaml (10–18 min) to republish the rolling continuous pre-release.
Dropping Flatpak alone only takes the critical path from ~11 to ~7 min (Tier 2 macOS). Reaching 4× means every 4+ minute job moves to the release gate.
Plan
Dev cycle (pull_request, push to master):
- Keep: Format, validators, CI Mode / attestation, Rust Tests on Linux, macOS and Windows (catch per-OS Rust breakage), Rust Tier 2 Linux (C ABI, OFF/ON), and one Ubuntu OBS build (Rust OFF) when a PR changes native code, so the C/C++ app still compiles before merge.
- Move to the release gate: Flatpak, macOS x86_64 and arm64, Windows x64 and arm64, Ubuntu (Rust libobs), Rust Tier 2 macOS and Windows.
ci-fullon a PR still runs everything, as today.
Release gate (release-rust.yaml, daily 09:00 UTC and workflow_dispatch):
- New job
gatecallsbuild-project.yamlwithfull: true, which runs every job above at the release candidate's exact SHA.releaseaddsneeds: gate, so a red full run blocks the publish. Today the release is "relaxed": broken platforms are just left out. Its own artifact builds stay relaxed per platform, but the full checks become mandatory. - Tag pushes (
push.yamlupstream tag pipeline) andschedule/workflow_dispatchruns of build-project keep running everything. appimage.yamlstops running on every master push. The daily release's AppImage call also refreshescontinuous(publish_continuous: true), socontinuousupdates daily instead of per push. Tag pushes and packaging PRs still run it.
Mechanics: build-project.yaml gets a workflow_call input full (default false). check-event outputs full = input, or ci-full, or tag push, or schedule/workflow_dispatch, and native for the single Ubuntu compile. No new workflow files.
Expected
The dev-cycle critical path becomes Rust Tier 2 Linux / Rust tests (~3 min) instead of Flatpak (~11 min), ~4×. On an attested PR (GATE-008 skips the Linux lanes) it's ~2–3 min. The run uses one macOS slot (Rust Tests) instead of five, which removes most of the queueing. Runner minutes per PR go from ~55 to ~15.
Trade-off: macOS/Windows-only C/C++ compile breaks and Flatpak/AppImage packaging breaks are caught by the daily release gate (or ci-full), not on the PR. The release refuses to publish until they're fixed.
Acceptance
- A PR run with native changes has no Flatpak, macOS/Windows OBS build or macOS/Windows Tier 2 job, and its wall time is ≤ ¼ of the baseline above (measured on the PR itself and the next two PRs).
release-rust.yaml'sreleaseneeds a green fullbuild-projectrun.ci-fullstill runs everything.
Coordination: #427 (rdoupe) speeds up these same jobs, and those caches still help the release gate. #426 touches appimage.yaml.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
zackees commentedon Oct 13, 2026
Claiming: #436. One PR (workflow edits only).
ci: Cache the Linux Tier 2 Docker image
ci: Move Flatpak and the native builds into the release gate
ci: Test which CI jobs a change needs (RED)
ci: Run the Linux jobs always, and platform jobs only for platform ch…
zackees commentedon Oct 13, 2026
Revised per maintainer direction: Linux always; core code adds the Rust-libobs build; platform code runs that platform's jobs, or (#443) is attested locally to skip them. Everything else, Flatpak included, moves to the release gate. Details in #440.
ci: Move Flatpak and the native builds into the release gate
ci: Test which CI jobs a change needs (RED)
ci: Run the Linux jobs always, and platform jobs only for platform ch…
ci: Build the OBS app only in the release gate
docs: A master push does not build macOS, Windows and Flatpak unless …