Skip to content

ci: Tier 2 shows cargo errors and build-script panics - #935

Merged
zackees merged 2 commits into
masterfrom
ci/tier2-cargo-errors
Oct 16, 2026
Merged

zackees merged 2 commits into
masterfrom
ci/tier2-cargo-errors

Conversation

@zackees

@zackees zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member

Fixes #932.

A failed Tier 2 build printed only lines matching : (fatal )?error|FAILED:. cargo's messages match neither, so #814's ON build showed just FAILED: [code=101] obs-preflight-cargo/release/libobs_preflight_ffi.a and no reason.

RED e7fd816: ci/test_tier2_build_errors.py, 3 of 4 tests fail (no build-errors.sh).
GREEN 4fd41cd: rust/tools/linux-validate/build-errors.sh keeps the C and ninja lines and adds rustc diagnostics with their --> location plus build-script panics; validate.sh calls it on build failure. 4/4 pass, and the ci/ suite is green (343 tests).

Only the failure path changes; a passing build never calls it.

Fails: rust/tools/linux-validate/build-errors.sh does not exist; the
inline filter in validate.sh drops rustc errors.
A failed Tier 2 build printed only lines matching ': error' and
'FAILED:', so a failed Rust build in the ON configuration showed just
'FAILED: [code=101] ...' (#814). build-errors.sh keeps those lines and
adds rustc diagnostics with their location and build-script panics.
@zackees
zackees enabled auto-merge October 16, 2026 00:53
@zackees
zackees added this pull request to the merge queue Oct 16, 2026
@zackees
zackees removed this pull request from the merge queue due to a manual request Oct 16, 2026
@zackees
zackees merged commit 0672a1d into master Oct 16, 2026
21 checks passed
@zackees
zackees deleted the ci/tier2-cargo-errors 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.

ci: Tier 2 hides cargo errors when the ON build fails

1 participant