github / github/gh-stack

Stack fails to merge partway through when a branch gets automatically deleted and then the PR is automatically closed

Open
#443 2 comments 8 reactions 0 assignees View on GitHub
bug topic: merge
Dominant language
Go
Stars
1.5k
Forks
70
Avg merge
1d 8h
Merged PRs (30d)
7

Description

When trying to merge the stack containing the following [PR](https://github.com/gradientlabs-ai/wearegradient/pull/32235). It was removed from the merged queue after the branch from the earlier PR was automatically deleted and the PR was then automatically closed.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the stack merge involving PR 32235, then trace how the merged queue handles an earlier branch being automatically deleted and its PR being closed. Done means the stack no longer fails partway in this scenario and the behavior is covered by an appropriate regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, go
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.