Hey team :smile: Is there a way to know at all ti...
# how-do-i
k
Hey team 😄 Is there a way to know at all time what is in the merge queue ? I'm building docker cache in our CI and one edge case with the merge queue (with ci optimizations enabled) is to import the right docker cache. In the case of a stack with a single PR, I can just import the cache of the master commit base. However, if there are two stacks in parallel, for stack 2, I'd need to know the PR numbers of stack 1 😄 Thank you for the help 🙂
p
(If applicable) To help us more clearly understand what you're trying to do, please provide additional details about: - Screenshots / debug logs / list of commands you've tried to run so far - Your workflow - Current state
hey Kenny, when you say "know at all time what is in the merge queue" do you mean like having an API endpoint you can call to check that?
k
Hey Gary 😄 Yes exactly!
p
gotcha, we don't have an endpoint like that available at this time. We're working on making the CLI aware of the merge state of PRs so that may potentially become an avenue you could use but at this point I'm unsure whether and how that will be exposed to end-users