Commit 1b69253
Fix CI pipeline exit code masking with set -o pipefail
The benchmark command piped to tee was masking the exit code:
cargo bench ... | tee out.txt
When cargo bench failed with exit code 101, tee succeeded with exit
code 0, making the whole pipeline appear successful. This caused:
- False success status on CI runs where benchmarks actually failed
- Subsequent steps running despite benchmark failures
- Broken benchmark results being committed to main
Solution: Add 'set -o pipefail' to ensure the pipeline returns the
exit code of the first failing command, making CI properly fail when
benchmarks fail.
Fixes part of #5
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent a5bfd7d commit 1b69253
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| |||
0 commit comments