Skip to content

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

Open
SAY-5 wants to merge 1 commit into
sds:mainfrom
SAY-5:fix-flay-crash-silent-pass
Open

Fail Flay hook when flay crashes instead of silently passing#885
SAY-5 wants to merge 1 commit 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

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.

Signed-off-by: Sai Asish Y <say.apm35@gmail.com>
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

1 participant