logoalt Hacker News

GitHub Merge Queue Silently Reverted Code

36 pointsby matthewbaueryesterday at 8:45 PM9 commentsview on HN

Comments

MarkMarinetoday at 5:03 AM

4 people spent hours putting our repo back together at my company after this. GH has been unreliable and now they are breaking the core tenant of what I expect from this service.

show 1 reply
matthewbaueryesterday at 8:45 PM

Might want to check your git logs if you are using the Merge Queue feature. This afternoon, we found that Merge Queue was silently reverting changesets in the merge queue. Acknowledged by GitHub, but could be a very hard problem to debug if you aren't looking for it.

show 1 reply
cwkcwyesterday at 9:27 PM

The window to audit is 2026-04-23 16:05 to 20:43 UTC, about 4h 38m, and 'merged incorrectly' is unpacked in exactly no detail on the status page. Practical check is to compare the tree of each merge commit in that window against the tree of the rebased-and-tested commit that the queue ran CI on. GitHub Enterprise Cloud with Data Residency is still affected as of the latest status update, so DR customers shouldn't clear new queue merges yet. Would be kinda useful if GitHub published the specific failure mode, because content-drift and parent-linkage and dropped-changes all need different audit scripts.

acid__yesterday at 10:43 PM

Tip: identify PRs with this problem by looking for discrepancies between the metadata (files/lines affected) for PRs via GitHub API and associated commits in the time window.

This was a pain to clean up!

EdwardDiegoyesterday at 10:56 PM

This has caused a morning of fun for our team, how do you break one of the most fundamental bits of your system? Time to look at alternatives...

show 1 reply
orpheansodalityyesterday at 8:54 PM

for other folks currently in an incident trying to resolve the chaos this caused, the first commit we've found with issues in our repo is from ~10:30am pacific this morning