Skip to content

Fix #1312: cargo check fast-fail gate before CI test matrix - #886

Merged
AlexMikhalev merged 3 commits into
mainfrom
task/1312-cargo-check-fast-fail
Jun 1, 2026
Merged

AlexMikhalev merged 3 commits into
mainfrom
task/1312-cargo-check-fast-fail

Conversation

@AlexMikhalev

Copy link
Copy Markdown
Contributor

Summary

  • Adds a dedicated compile-check job that runs cargo check --workspace --all-targets --features zlob as a fast-fail gate before the rust-tests job starts
  • rust-tests now depends on compile-check (previously depended on rust-format), so compilation errors surface within ~2 minutes without launching downstream test jobs
  • rust-format and compile-check run in parallel on clean PRs, reducing total Middleware time
  • Fixes broken pr-summary job references to non-existent rust-clippy and rust-compile jobs
  • Fixes duplicate rust-tests.result failure check in pr-summary condition

Test plan

  • Open a PR with a compile error and confirm compile-check fails before rust-tests launches
  • Open a clean PR and confirm rust-format and compile-check run in parallel
  • Confirm pr-summary job lists Compile Check row and exits non-zero on compile-check failure
  • Repository admin: mark Compile Check as required status check in branch protection settings

Refs terraphim/terraphim-ai#1312 (Gitea)

Generated with Terraphim AI

AlexMikhalev and others added 3 commits May 23, 2026 21:09
…ix Refs #1312

- Extract compilation check from rust-format into standalone compile-check job
- compile-check runs cargo check --workspace --all-targets --features zlob
- Gate rust-tests on compile-check so test jobs skip when compilation is broken
- Fix broken pr-summary references to non-existent rust-clippy/rust-compile jobs
- Reuse existing sccache + cargo cache for sub-2-minute fast-fail on compile errors

Co-Authored-By: Claude <noreply@anthropic.com>
Kept main's job structure (rustdoc, rust-clippy, rust-compile).
The compile-check fast-fail intent from PR #886 is already
covered by the existing compile-check job on main.
@AlexMikhalev
AlexMikhalev merged commit de14112 into main Jun 1, 2026
2 checks passed
@AlexMikhalev
AlexMikhalev deleted the task/1312-cargo-check-fast-fail branch June 1, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant