Open gregplaysguitar opened 3 years ago
Update: I removed the automerge label from all open PRs, including some which were failing tests so not showing as enqueued, then I added it back to a passing PR, and it was updated as expected. So it does look like Kodiak considered one of my failing PRs to be first in line, and that was blocking the queue
Is this problem a recent issue or something that's been happening for a while?
Also, is this possibly related to #585?
As a quick check, if Kodiak seems stuck, editing the PR (description, title, labels, commits, etc.) should trigger Kodiak to evaluate the PR again.
For some context on Kodiak's behavior, here's the basic flow,
The queue position information in GitHub is updated when a PR is evaluated. When Kodiak merges a PR, we recheck all the PRs against that branch and the position information updates in GitHub.
I found some recent (6:23PM EST) timeout errors in Sentry for your installation, but Kodiak should retry after the timeout.
Thanks for the info - it is something that's happened on and off for a while, but I've just manually merged things until it kicks in again; today I played around for a bit trying to work out what was going on. Also, I think it started prior to that outage, but can't be certain - Kodiak was definitely working though when I observed this behaviour, because if I updated the PR manually, then it'd get merged (due to prioritize_ready_to_merge
)
Anyway - we are back up and running now, and I'll try editing the description if I notice this again. It doesn't happen enough to really impact us, but does seem a regular thing. I'll let you know if I notice any more patterns
Not sure this helps, but Kodiak does a daily restart at 11:00PM EST. Is that correlated with any behavior you've seen?
Kodiak should restart gracefully and continue working the merge queue.
Not sure, but I'll bear that in mind if I see it happen again - thanks!
We have a recurring situation where kodiak seems to get stuck, and we get a backlog of PRs queued for merge, but no PR first in the queue. My guess is that it goes like this
enqueued for merge (position=2nd)
, but it doesn't do anythingNaively it seems like it's only looking for the PR marked as first, rather than the one with with lowest number.
Sorry I can't give more concrete detail on this, it's an intermittent issue so hard to pin down exactly.
We have branch protection on, with one review required - here's our config