Commit 5adfcb8
ci: add lean cargo-check tripwire on develop pushes
The Rust Check / TypeScript / Treefmt jobs in evaluate.yml run only on
pull_request and merge_group, so nothing re-validates develop after a commit
lands on it. Add a push trigger on develop that re-runs cargo check against
the post-merge tip — a detector, not a gate: it can't block (the commit is
already on develop) but flips develop's commit status red within ~1 min when
something slips past the pre-merge gate, e.g. the main->develop merge
producing a broken tree from two individually green parents.
Keep the tripwire genuinely lightweight:
- Only the Rust Check job runs on push; TypeScript and Treefmt are guarded
to PR/merge_group (the develop tripwire is cargo check alone, since
compile breakage is the failure mode we keep hitting).
- Rust Check now sets install-devenv: false and install-bun-deps: false.
cargo check needs only the Rust toolchain plus the system C compiler
(libgit2-sys / libsqlite3-sys build their vendored C with `cc`); it does
not need the devenv profile (node/bun/sops/python). On the prior run the
check itself was 52s but devenv provisioning was ~8 min — this drops that
to a ~1 min toolchain setup, speeding up the PR check too. The full build
(build.yaml) is unaffected and still provides heavyweight coverage.
Context: ENG-550. The pre-merge cargo-check gate on develop already exists
(evaluate.yml since 2026-06-04; required via ruleset since 2026-06-08); this
adds the post-merge safety net without adding meaningful CI cost.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 8a3e7e7 commit 5adfcb8
1 file changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
7 | 16 | | |
8 | 17 | | |
9 | 18 | | |
| |||
21 | 30 | | |
22 | 31 | | |
23 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
24 | 39 | | |
25 | 40 | | |
26 | 41 | | |
27 | 42 | | |
28 | 43 | | |
| 44 | + | |
| 45 | + | |
29 | 46 | | |
30 | 47 | | |
31 | 48 | | |
32 | 49 | | |
33 | 50 | | |
34 | 51 | | |
| 52 | + | |
| 53 | + | |
35 | 54 | | |
36 | 55 | | |
37 | 56 | | |
| |||
53 | 72 | | |
54 | 73 | | |
55 | 74 | | |
| 75 | + | |
| 76 | + | |
56 | 77 | | |
57 | 78 | | |
58 | 79 | | |
| |||
0 commit comments