We recently turned on Merge Queue Optimizations an...
# report-bugs
t
We recently turned on Merge Queue Optimizations and somehow one of our stack has ended up with a very strange visualization:
p
To help us repro, please send the following if you haven't already: - PR links, screenshots, and/or debug output if applicable - Repro steps If you're having an issue with the CLI, please send us debug logs using ​`gt feedback --with-debug-context <any message>`​
(If applicable) To help us repro, please send the following if you haven't already: - PR links, screenshots, and/or debug output if applicable - Repro steps - Does this happen consistently? Just to you or others on your team also? - Is this a regression? Is the problem new? - If you're having an issue with the CLI, please send us debug logs using
gt feedback --with-debug-context <any message>
t
The branches shown as merged have in fact been merged. I'm not sure if they were getting moved in the stack as they were merged or what happened.
I believe they were at the bottom of the stack when they merged
p
Sorry, I don't think I'm totally understanding. What is the expected stack visualization supposed to be?
t
It shouldn't be possible to have merged PRs on top of unmerged PRs
👍 1
p
Those top PRs did end up merging somehow right?
Just making sure I have all the info for your bug ticket :)
t
yeah, when they merged they were shown (and were) at the bottom of the unmerged portion of the stack.
The PR they're now shown on top of was at the time on a parallel branch of the stack
p
So just to summarize: 1. Before merging, you tried merging the bottom 9 PRs with merge queue optimizations on 2. After merging, the bottom 2 PRs have moved to the top of the stack visualization Do you mind: 1. Sending me the link to this PR 2. What are the base branch of the two PRs at the top?
t
The stack looked quite different when the merge occurred. #83 and #88 were stacked on #80, which had been merged. #85 was stacked on #80 as well. The branch beginning had #85, #87, #87, #90, #91, and #96, all unmerged.
#85, #87, #90, and #91 all merged after #83 and #88.
#83 incorrectly has #96 as its base branch when it should have kept #80.
#86 correctly has #83 as its base branch.
All of those PR URLs start with https://app.graphite.dev/github/pr/StaflSystems/coit-tower-bms2000/ and then just have the PR number after
(trying to keep branch and PR names out of the public chat but I assume you can get to those on your end from the PR link?)
Thanks for your help and sorry for the complicated repro case
p
So just to summarize: 1. You tried merging the bottom 9 PRs with merge queue optimizations on 2. Now, the visualization is the screenshot you sent me