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.
Detect if changes break existing APIs, contracts, or functionality. Prevent downstream breakages.
For GitLab Duo
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 changesShare the diff alongside the interfaces callers depend on. Tests and representative callers help distinguish an internal refactor from a change consumers must accommodate.
An MR renames a shipment response field from status to state. Its updated unit test passes. Before merging, you want to know whether that says anything about the clients still using the old response.
Explore the example