GitLab Well Architected
Cookbook navigation
Prompts / Identify Breaking Changes in MR

Identify Breaking Changes in MR

Code ReviewAPIAnalysisApiCode-ReviewReviewerVerifyBeginner

Detect if changes break existing APIs, contracts, or functionality. Prevent downstream breakages.

For GitLab Duo

prompt

Does this MR introduce any breaking changes?

Changes:
[PASTE CODE DIFF]

Check for:
1. API signature changes
2. Removed or renamed public methods
3. Changed return types
4. Modified database schemas
5. Breaking configuration changes

Use the prompt

Share the diff alongside the interfaces callers depend on. Tests and representative callers help distinguish an internal refactor from a change consumers must accommodate.