Skip to content

Commit 392281f

Browse files
committed
tests: speculate_run_bin spawns bl-speculate without BALLS_TOOLCHAIN; CI red on main since bl-e856 (local gate exported it, hiding the gap) [bl-7d4e]
CI fix tests: pin BALLS_TOOLCHAIN in the speculate run e2e, which inherited it from the gate and went red on CI [bl-7d4e] (ops bl-6124)
1 parent f8ea096 commit 392281f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎tests/speculate_run_bin.rs‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ fn speculate(e: &Env) -> Command {
6464
.env("XDG_STATE_HOME", e.tmp.path().join("state"))
6565
.env_remove("XDG_CONFIG_HOME")
6666
.env_remove("BALLS_SPECULATE_EAGERNESS")
67+
// The gate's declared toolchain (bl-e856): pinned here, not inherited —
68+
// the repo's own pre-commit exports one, which is how CI (bare `cargo
69+
// test`) went red while the local gate stayed green (bl-7d4e).
70+
.env("BALLS_TOOLCHAIN", "rustc 1.0 (e2e)")
6771
// PIN the power state, never scrub it: scrubbing lets the ladder read the
6872
// REAL /sys/class/power_supply, so the whole file passes on AC and fails
6973
// on battery (one build per pass ⇒ the second entry defers). An absent

0 commit comments

Comments
 (0)