Stop the stopgap reporting success for a job that never ran
Soul lost a run to CRLF and it still exited 0. The cause: this file's own line endings travel with the heredoc, so the remote bash fails on `set -euo pipefail\r` before `set -e` is in force, limps past the failure and exits clean. A verification runner that can report success without running anything is worse than no runner. Two guards, because one was not enough to notice this for a day. The remote now strips carriage returns before bash sees them, and it prints a verdict sentinel the local side requires; a missing sentinel is treated as failure rather than as silence. A .gitattributes keeps the file LF on disk so the first guard is rarely needed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
75efac6d56
commit
b12016a3f2
2 changed files with 27 additions and 1 deletions
1
tools/stopgap/.gitattributes
vendored
Normal file
1
tools/stopgap/.gitattributes
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
* text=auto eol=lf
|
||||
Loading…
Reference in a new issue