mergeable
mergeable copied to clipboard
Long running checks
Hi all, We've noticed that some Mergeable checks can take over 5 minutes to run. In the worst case, the Mergeable check can hang indefinitely without ever completing. Is this a known issue, and is there any way to debug this?
Thank you!
cc: @shine2lay
I'm seeing a check that has been running for 11 minutes. I'll echo the question by @eagraf , is this a known issue and is there any way to debug this?
Any update here?
We are getting a lot of "level":50,"time":1682439552515,"pid":27,"hostname":"811d693a-c0e4-4ef6-a471-90acc6c80204","name":"probot","name":"probot","name":"GithubAPI/repos.getContent","logType":"unknown_github_api_error","repo":"****","event":"schedule.repository","callFn":"repos.getContent","errors":"HttpError: Resource not accessible by integration", not exactly sure what caused it
~~The weird part is that when occasionally when the bot retry (after X minutes) because of a fail attempt, it'll could pass.~~
Edit: after some more thought, I believe the error above is caused by the fact that we added new feature without requesting the required permission. I think these errors are causing backlog within our server and making some request a lot slower (https://github.com/mergeability/mergeable/pull/710 mergeable for this PR took 7 mins to complete). I think reducing the error by figuring out the required permission and added it to the bot would help tremendously but idk if the issue will still persist when traffic is high
Today it takes more then 12 minutes for the checks to run
2 hours today
I also get this issue, in my action only checking the label should include a word, it takes 10+ minutes. And there are no log.