Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long running checks #706

Open
eagraf opened this issue Mar 20, 2023 · 6 comments
Open

Long running checks #706

eagraf opened this issue Mar 20, 2023 · 6 comments

Comments

@eagraf
Copy link
Contributor

eagraf commented Mar 20, 2023

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

@rcollier-goodrx
Copy link

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?

@andrewbihl
Copy link

Any update here?

@shine2lay
Copy link
Member

shine2lay commented Apr 25, 2023

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 (#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

@Dylan-Prins
Copy link

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

@andrewbihl
Copy link

andrewbihl commented Jun 1, 2023

2 hours today

@ruanwenjun
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants