BACK_TO_FEEDAICRIER_2
GitHub Merge Queue bug reverts prior commits
OPEN_SOURCE ↗
YT · YOUTUBE// 2h agoINFRASTRUCTURE

GitHub Merge Queue bug reverts prior commits

On April 23, 2026, GitHub’s Pull Requests service regressed in merge queue squash merges when a group contained more than one PR. The bug could produce incorrect squash merge commits that reverted changes from earlier PRs and prior commits on affected default branches.

// ANALYSIS

This was a correctness incident, not a simple outage, which makes it more dangerous because the system could appear healthy while writing bad history.

  • The regression hit merge queue squash merges only when the group contained multiple PRs.
  • GitHub says the faulty code path came from merge base computation and was meant to be feature-flagged, but the gating was incomplete.
  • Automated monitoring missed it because the problem affected merge correctness rather than availability.
  • GitHub mitigated by reverting the change, force-deploying the fix, and sending targeted recovery guidance to affected repositories.
  • The practical lesson is that merge-queue systems need explicit multi-PR content-integrity checks, not just green checks and uptime signals.
// TAGS
githubmerge queuepull requestssquash mergeregressionincidentdevtoolsci-cd

DISCOVERED

2h ago

2026-04-28

PUBLISHED

2h ago

2026-04-28

RELEVANCE

9/ 10

AUTHOR

The PrimeTime