GitHub’s stacked pull requests, now in public preview, let you split a big change into a chain of smaller PRs. Only the bottom PR in a stack targets your main branch. Each PR above it targets the PR below it. The whole stack still lands on main in the end.
That meant Merge Freeze, which watches main, missed the upper PRs in a stack. Customers using stacks saw mergefreeze stuck at “Expected — Waiting for status to be reported” on every PR except the bottom one.
What’s Changed
Merge Freeze now treats every PR in a stack according to the branch the stack lands on:
- Status is reported on every PR in the stack. No more PRs stuck waiting for
mergefreeze. - Freezes block the whole stack. When
mainis frozen, no PR in a stack headed formaincan merge. - Unfreezes clear the whole stack. When
mainis unfrozen, the stack’s PRs show as OK to merge again. - Adding a PR to a stack keeps it frozen. Pulling an existing PR into a stack changes its target branch, but Merge Freeze still knows it lands on
main.
Pull requests that aren’t in a stack work exactly as before. This also works for stacks created with tools such as Graphite.
What You Need to Do
Nothing. Stack support is on for every project.
Questions?
Using stacks with Merge Freeze? We’d love to hear how it’s going at hello@mergefreeze.com.