Overview
Gitar compares a PR with related open PRs to spot changes that could break behavior another change depends on. Findings help teams decide which side needs adjusting before the changes land. Two PRs can affect the same logic without editing the same lines. One might remove an API field while another adds a caller that still expects it.What it catches
These checks concern how changes work together. A clean merge can still introduce a behavior mismatch.
How it works
1
Find related open changes
During a review, Gitar identifies open PRs whose changes may interact with the PR under review, in the same repository or another connected repository.
2
Check the shared behavior
Gitar compares the relevant code to identify a mismatch and the conditions under which it would matter.
3
Report what needs adjusting
Findings appear inline with a cross-pr label and a link to the related PR. The explanation describes the interaction and can suggest changes on either side.
Inspect Cross-PR findings
Enterprise organization members and admins can open Dashboard -> Cross-PR to browse recorded findings across the organization. On GitLab, the dashboard is labeled Cross-MR and links to related merge requests.
Filter by repository and time range to scope the summary. Status filters and text search narrow the findings list.
Select a finding to inspect the explanation and the related PR. Expand Code evidence and revisions for the recorded file references and compared revisions, when available.
The detail view includes suggested adjustments on each side when the review recorded them. Links lead back to the PRs so the teams can coordinate the next change.
Reading recorded comparisons
Findings describe the revisions compared at the recorded time. They are not a current merge verdict, and changes to the related PR do not automatically refresh an existing finding. Gitar does not publish a new finding if the related PR has closed, merged, or changed since the comparison. Previously recorded findings remain available in the dashboard.Related
Cross-Repo Analysis
Check changes against shared contracts in other repositories.
Knowledge
Bring team conventions and lessons from earlier reviews into the review.
Code Review
How findings are posted and resolved.