-
Notifications
You must be signed in to change notification settings - Fork 60
Reviewing pull requests
Subhrodip Mohanta edited this page Apr 3, 2026
·
1 revision
Pull requests are the heart of our collaborative development. A thorough review process ensures the stability and quality of the Moo codebase.
Before submitting your PR, ensure:
-
DCO Compliance: Every commit has a
Signed-off-byline (usegit commit -s). -
Formatting: Code is formatted using
./mvnw spotless:apply. - Null Safety: JSpecify annotations are correctly applied.
- Tests: All tests pass locally and new logic is covered.
- Documentation: Any API changes are reflected in Swagger and the Wiki.
When reviewing a PR, look for:
- Architectural Integrity: Does it follow the Controller -> Service -> Repository pattern?
-
Security: Is the user identity correctly extracted from
Principal? -
Scalability: Are list endpoints properly paginated using
Pageable? - Clean Code: Is the logic simple, well-named, and free of qualified names inline?
- CI Status: Only merge PRs where all checks (lint, test, smoke-build) are green.
- We prefer Squash and Merge to keep the
masterbranch history clean and concise. - Merges to
masterautomatically trigger the distribution pipeline.