tide
queries are confusing when using GH app authors
#366
Labels
kind/bug
Categorizes issue or PR as related to a bug.
We recently began using a GH app called
openshift-trt
to generate PRs. The intention was to formulate atide
query that would allow PRs created by this app to be merged without any labels added. The following is a snippet from that query:This resulted in tide claiming that the PR was 'In merge pool' once all the tests had passed, but it never actually merged.
After some digging, I discovered that the
[bot]
suffix needed to be appended to the app name in theauthor
field. The resulting query does work:This results in a confusing workflow where
tide's
status sync loop thinks a PR is ready to merge, but the actual merge loop never merges it, or logs anything that hints at the issue. My hunch is that this is due to using the GH graphql api for the merge loop.The merge loop should be updated so that the
[bot]
suffix is not necessary. It would be even better if the loops could reconcile with each other somehow so that a PR that had the 'In merge pool' status added would also result in some kind of error in the merge loop if it doesn't actually merge.The text was updated successfully, but these errors were encountered: