mergeable icon indicating copy to clipboard operation
mergeable copied to clipboard

Long running checks

Open eagraf opened this issue 2 years ago • 6 comments

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

eagraf avatar Mar 20 '23 19:03 eagraf

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?

rcollier-goodrx avatar Mar 22 '23 18:03 rcollier-goodrx

Any update here?

andrewbihl avatar Apr 04 '23 18:04 andrewbihl

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

shine2lay avatar Apr 25 '23 16:04 shine2lay

Today it takes more then 12 minutes for the checks to run

Dylan-Prins avatar May 09 '23 16:05 Dylan-Prins

2 hours today

andrewbihl avatar Jun 01 '23 17:06 andrewbihl

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.

ruanwenjun avatar Aug 24 '23 14:08 ruanwenjun