Hey Graphite gang! Us over at Tennr just started u...
# report-bugs
l
Hey Graphite gang! Us over at Tennr just started using the merge queue today. We're finding though that now our Linear tickets aren't automatically moving to Done when PRs are merged. The PRs are showing up as Closed in GitHub, and the tickets just stay In Review. Is there something we can enable to keep the behavior where they move to Done?
p
(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>
Hey! Yay for starting up the merge queue. It's a known limitation that the Linear tickets aren't moving to done. If you have parallel CI enabled, this will happen because we create a draft PR with all the changes in a batch that CI will run on, and the PR that actually merges isn't the one you created -- it's the draft PR with the combined changes. I know this isn't ideal, and it's a current known limitation of being built on top of Github. We've received a number of reports about this, and I'll share your feedback with the team.
🫤 1
l
If we disable parallel CI will the tickets close again? And with parallel CI disabled, would the merge queue still merge in PRs from a single stack in a batch, or will every PR be merged in separately?
p
If this section "Merge and CI optimizations" is enabled, then merged PRs will be closed rather than purple (marked as merge on Github side)
With this disabled, stack merges are still atomic, and PRs are still merged separately. The merge queue will just be slower.
👍 1
e
@Meilinda Sun, following up here. A question: Will the PRs be merged 1 by 1? If I have a stack of 10 PRs, we will merge 1, rebase the stack, merge the 2nd, rebase, and so on. If so, then it's really slow! Can you help me figure it out? I am almost doing a Github Actions workflow to interact with Linear's API to close those issues. Thanks!
p
Yes that's correct but I believe a rebase should only occur if there are merge conflicts. As Melinda flagged disabling Merge & CI optimizations is known to make the merge queue slower.
m
PRs are merged as part of a batch if you have those optimizations enabled
So the merge won’t play out one by one but the PRs that did merge will get marked one by one corresponding to whether each PR got merged with the batch