Skip to content

Commit c2e6543

Browse files
sbryngelsonclaude
andcommitted
Propagate exit code from test retry command
Without || exit $?, a failed retry would silently exit 0. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 273cced commit c2e6543

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jobs:
150150
echo ""
151151
echo "=== Retrying $NUM_FAILED failed test(s): $FAILED ==="
152152
echo ""
153-
/bin/bash mfc.sh test -v --max-attempts 3 -j $(nproc) --only $FAILED $TEST_ALL
153+
/bin/bash mfc.sh test -v --max-attempts 3 -j $(nproc) --only $FAILED $TEST_ALL || exit $?
154154
else
155155
echo "Too many failures ($NUM_FAILED) to retry — likely a real issue."
156156
exit 1

0 commit comments

Comments
 (0)