Commit 3f07e53
fix: Clarify PR comment when only pre-existing test failures exist
Fixes #535
The PR comment template only checked extra_failed_tests (new failures
introduced by the PR) when deciding what summary message to display.
When there were common_failed_tests (tests failing on both master and
the PR) but no extra_failed_tests, it would confusingly show a list
of failing tests followed by "All tests passing".
Now uses three-way logic:
- extra_failed_tests present: "not all tests passed" (PR has regressions)
- common_failed_tests only: "no new failures, but pre-existing failures"
- neither: "all tests passed"
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 09dc049 commit 3f07e53
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
57 | 59 | | |
58 | | - | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
0 commit comments