fix(ci): types drift gate fails closed on a git error and sees untracked files whatever the git config

The ci.yml step assigns git status to a variable before testing it (a git
failure now fails the step, as scripts/check-all.sh already did); both gates
pass --untracked-files=all; the rust-check.sh comment names the real gate.
This commit is contained in:
bchanot committed 2026-10-13 10:09:15 +02:00
1 parent 073b25e52b
commit 496f54990a
4 files changed
+10 -7

No files matched your search

+3 -2
View File
@@ -211,8 +211,9 @@ pnpm check:all # scripts/check-all.sh, stops at the first failure
```
Stages, in order: `scripts/rust-check.sh` (native), the ts-rs types drift
(`git status --porcelain -- packages/core-wasm/types` must be empty: a
modified or a new type file both fail), `cargo deny check advisories`
(`git status --porcelain --untracked-files=all -- packages/core-wasm/types`
must be empty: a modified or a new type file both fail, whatever the git
configuration), `cargo deny check advisories`
(warn-only: out of the blocking path by design, review VIII.3, but printed
here because no nightly job runs yet; needs the network), `scripts/wasm-build.sh`
(native), `pnpm check` (typecheck, tests including the `core-wasm` proofs on