GitLab check

Merge requests can merge with unresolved threads

GL-MR-002LowMerge safeguards

Trigger condition

The project's 'All threads must be resolved' setting (only_allow_merge_if_all_discussions_are_resolved) is confirmed disabled (a literal false). A missing, null, or malformed value is unknown and never flagged.

Evidence

States that the 'All threads must be resolved' setting is disabled.

Impact

An otherwise eligible merge request can be merged while one or more review discussion threads remain unresolved, so a reviewer's open concern about that change can go unaddressed at merge time.

Recommendation

Enable 'All threads must be resolved' under Settings > Merge requests > Merge checks. See GitLab's discussions documentation (https://docs.gitlab.com/user/discussions/).

Important limitations

A missing, null, or malformed only_allow_merge_if_all_discussions_are_resolved value is treated as unknown and never flagged, rather than assumed safe or unsafe.

← Back to the check catalogue