incubator-devlake icon indicating copy to clipboard operation
incubator-devlake copied to clipboard

Pipeline getting failed with the Github API secondary rate limit

Open pramodh-b opened this issue 1 year ago • 3 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

I have added the Github private repo, with one repo the pipeline fails with the following error. image

What do you expect to happen

the pipeline should complete successfully be completed

How to reproduce

This error occurs every time the pipeline runs.

Anything else

When this issue occurred last time, I enabled the Graphql APIs, and then the issue was resolved. this time even after enabling Graphql and setting the custom Rate limit also facing the issue.

I tried with another token as well

The private repo has a size of around 1.5 GB

FYI. We are on the GitHub enterprise subscription.

Version

v0.20.0-beta4

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

pramodh-b avatar Jan 12 '24 07:01 pramodh-b

@pramodh-b https://github.com/apache/incubator-devlake/issues/5864 This problem should have been solved long ago. And regardless of whether graphql is enabled or not, this task is actually executed using non-graphql. You may need to wait for a while before running again.

abeizn avatar Jan 15 '24 03:01 abeizn

@pramodh-b #5864 This problem should have been solved long ago. And regardless of whether graphql is enabled or not, this task is actually executed using non-graphql. You may need to wait for a while before running again.

Hi @abeizn FYI I'm running this pipeline weekly once. still same error.

pramodh-b avatar Jan 15 '24 05:01 pramodh-b

@pramodh-b
I don't mean the frequency of running once a week, I mean that before executing the collectApiPrReviewComments task, a lot of other data such as issues, pull_requests, cicd, etc. are collected. You need to run it again after a while after failure.

And you can reduce the rate limit value to solve this problem: image

abeizn avatar Jan 15 '24 08:01 abeizn

This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] avatar Mar 16 '24 00:03 github-actions[bot]

This issue has been closed because it has been inactive for a long time. You can reopen it if you encounter the similar problem in the future.

github-actions[bot] avatar Mar 23 '24 00:03 github-actions[bot]