Skip to content

Commit 197813a

Browse files
sbryngelsonclaude
andcommitted
Add set -e to Frontier build scripts for fail-fast behavior
Without set -e, the benchmark build loop could silently ignore failures of earlier benchmarks if a later one succeeded, since only the last command's exit code would propagate. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ddd95ac commit 197813a

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/frontier/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -e
4+
35
# Ignore SIGHUP to survive login node session drops
46
trap '' HUP
57

.github/workflows/frontier_amd/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -e
4+
35
# Ignore SIGHUP to survive login node session drops
46
trap '' HUP
57

0 commit comments

Comments
 (0)