Skip to content

Conversation

@Lms24
Copy link
Member

@Lms24 Lms24 commented Dec 9, 2025

This PR adds some rules to bugbot's rulest to flag some testing-related issues we'd like to avoid. Like with all AI rules, there are for sure exceptions to the new rules, so no problem with us ignoring any of these flags. But I think having an additional reminder that testing is necessary would be a good change. LMK what you think!

Happy to add/remove/change rules as reviewers see fit.

Closes #18435

@Lms24 Lms24 changed the title chore(bugbot): Add testing convetnions code review rules chore(bugbot): Add testing conventions code review rules Dec 9, 2025

## Testing Conventions

- When reviewing a `feat(*)` PR, check if the PR includes at least one integration or E2E test. If neither of the two are present, add a comment, recommending to add one.
Copy link
Member

@nicohrubec nicohrubec Dec 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

l: Should we add a similar rule for fix(*) PRs?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great point! I think for fixes we should at least require a unit test (or integration/e2e if present of course)

@Lms24 Lms24 self-assigned this Dec 9, 2025
Copy link
Member

@nicohrubec nicohrubec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding!

@Lms24 Lms24 merged commit 2ad7ca1 into develop Dec 10, 2025
100 checks passed
@Lms24 Lms24 deleted the lms/chore-bugbot-testing-conventions branch December 10, 2025 13:29
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.

chore(bugbot): Add testing conventions code review rules

4 participants