Repository navigation
Commit bceb0bc
fix(mise): make the wasi-check dependency gate see through colour
wasm:wasi-check greps cargo tree output for crates that must never link
into a WASI guest (wasm-bindgen, web-sys, js-sys, reqwest, hyper,
aws-lc-sys). CI sets CARGO_TERM_COLOR=always, so cargo wraps each line's
tree prefix in ANSI colour codes, and the grep, which anchors on that
prefix, can never match. A deliberate-break run on 2 October 2026 added
wasm-bindgen to stack-kms, and the CI step still printed "all WASI
crates compile with no JS-host or native-HTTP deps". Only the cargo
check half of the step was working.
Ask cargo tree for --color never. With CARGO_TERM_COLOR=always, the gate
now fails on that break and passes on the clean tree. A script test
checks every cargo tree call in the task asks for uncoloured output, and
records why with a coloured sample the patterns cannot match.
cipherstash-suite has the same task and the same CI setting, so its gate
is dead too.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PaY5xYydZUWhv8Nex9Sw8a1 parent 7e3d126 commit bceb0bc
2 files changed
Lines changed: 49 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
99 | 101 | | |
100 | 102 | | |
101 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
0 commit comments