Skip to content

ci: Tier 2 Linux lane proof ignores Rust tests and unbuilt crates (#930 A5) - #1093

Merged
zackees merged 2 commits into
masterfrom
ci/930-a5-tier2-proof-inputs
Oct 16, 2026
Merged

zackees merged 2 commits into
masterfrom
ci/930-a5-tier2-proof-inputs

Conversation

@zackees

@zackees zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member

Refs #930 (A5).

The tier2-linux proof key hashes every file local-gate.toml doesn't exclude, so an edit to any crate's integration tests, or to a crate Tier 2 never compiles, reran all of Tier 2 Linux (build + 6 shards) in the queue.

  • Exclude rust/*/tests/**, rust/*/benches/**, rust/*/examples/** (cargo build never compiles them) and obs-c-oracle, obs-gpu-status, obs-gpu-status-frontend (outside the closure of the crates Tier 2's CMake imports: libobs-rust, obs-nvenc-plugin, obs-preflight-ffi, ...).
  • keep = ["rust/*/Cargo.toml"]: cargo reads every workspace manifest.
  • ci/test_tier2_proof_inputs.py derives the roots from the CMake inputs (libobs, plugins, test/cmocka, cmake, deps), follows [dependencies]/[build-dependencies] via ci_scope.linked_crates, and fails if any built crate's source is excluded or an unbuilt crate is left in.

Checked with ci.yml's own _Matcher: tests/benches and the three crates excluded; built crates' src/build.rs, all Cargo.toml and test/cmocka kept.

RED: 2 failures. GREEN: 5/5, ci/ suite and ./lint OK. The declaration is read from the base, so it takes effect for PRs after this merges.

@zackees
zackees enabled auto-merge October 16, 2026 15:40
@zackees
zackees added this pull request to the merge queue Oct 16, 2026
Merged via the queue into master with commit da514d5 Oct 16, 2026
20 checks passed
@zackees
zackees deleted the ci/930-a5-tier2-proof-inputs branch October 26, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant