:round_pushpin::world_map: Situation A stack is s...
# report-bugs
b
📍🗺️ Situation A stack is submitted to the merge queue, and a downstack pr experiences a transient error (timeout). ✅ 🙂 Expected The impacted downstack PR and the upstack PRs remain in the merge queue. The impacted downstack PR is retried. ❌😮 Actual The impacted downstack PR is removed from the merge queue. Consequently, all upstack PRs are evicted from the queue.
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>
HI - I believe this is expected. If there is any kind of merge conflict or error in a downstack PR, all upstack PRs are evicted as they can't be merged without their downstack dependencies
b
Right - it totally makes sense for permanent errors, but not for transient ones. Timeouts are not permanent. We re-submitted the stack with no changes and it got merged with no issue
p
Makes sense, that's not supported today but definitely something I can share with the Product team.
b
Thank you Daniel!
Just circling back on this - what's the status? Is this resolved or planned to be? Thanks!
p
hey Bhav, there's not change to this behavior presently. The merge queue can't yet distinguish between "permanent" and "transient" errors to be able to automatically re-enqueue an evicted stack
b
Got it thanks for the update! It does seem like there is some notion of a transient error (the
timeout
specifically). Could that be used?
p
I believe that corresponds to the Timeout setting configured in the merge queue's settings. So would the intention be to have a setting to automatically re-enqueue a stack that timed out?
b
that is the ask - ideally it's configurable in the merge queue settings itself, so can opt-in (and maintain backwards compat)