Skip to content

Commit b5f6a44

Browse files
committed
agents: require regression tests for Java bugfix PRs
1 parent 5805a07 commit b5f6a44

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.agents/skills/next-pr/SKILL.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ Run the same tests and benchmarks used for the baseline so the comparison is mea
6565
- benchmark regressions or improvements
6666
- new warnings, flaky behavior, or environment issues
6767

68+
If the PR fixes a Java bug and does not include a regression test:
69+
- add a regression test as part of the review branch before approval
70+
- verify that the regression test fails against the baseline branch without the fix
71+
- verify that the same regression test passes on the rebased PR branch with the fix
72+
6873
7. Summarize for approval before merging.
6974
Report:
7075
- PR number and title
@@ -92,6 +97,7 @@ When a PR was merged by rebasing or otherwise rewriting commits, verify whether
9297
- If the repo has both fast checks and full checks, run the full set unless the user explicitly narrows scope.
9398
- If benchmarks are noisy, report broad direction and uncertainty instead of overclaiming precision.
9499
- If a failure is clearly pre-existing, say that explicitly and separate it from PR-specific findings.
100+
- For Java bugfix PRs, require a regression test. If one is missing, add it on the review branch and prove it fails before the fix and passes after the fix.
95101

96102
## Communication
97103

0 commit comments

Comments
 (0)