Skip to content

Fail Flay hook when flay crashes instead of silently passing#885

Merged
sds merged 2 commits into
sds:mainfrom
SAY-5:fix-flay-crash-silent-pass
Jul 7, 2026
Merged

Fail Flay hook when flay crashes instead of silently passing#885
sds merged 2 commits into
sds:mainfrom
SAY-5:fix-flay-crash-silent-pass

Conversation

@SAY-5

@SAY-5 SAY-5 commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

The Flay hook only inspects result.stdout, so when flay crashes (non-zero exit, backtrace on stderr, empty stdout) the hook treats it as "no duplication found" and passes silently. This guards that case: if flay exits non-zero with no stdout, the hook now fails and surfaces stderr, matching how BerksfileCheck handles a failed run.

Closes #884.

@sds sds merged commit ac17d93 into sds:main Jul 7, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flay hook ignores flay crashes by only reading stdout

2 participants