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
encountering secondary rate limit restrictions #9
Comments
|
Sorry for the delay! As you discovered, it can take many API calls to generate a SBOM for a large repository, or fail altogether for very large repositories. The Dependency Graph team was kind enough to implement a server-side SBOM generator for SPDX, which is a single API call and much, much faster. The gh-sbom v0.0.9 release makes use of this feature - give it a try and let us know if that works for you? You'll need to update |
|
Thanks for the update. Great to hear that the API generation is available. Will test it out soon! |
|
this is great and so fast :) one thing to note, the README still mentions that GHES 3.8 is needed. when using against GHES, the new rest endpoint for the sbom doesnt yet exist in v3.8. since github/roadmap#626 highlights that these features are to be expected in v3.9, what would be the appropriate update to make that clear in the README until that is released? |
|
Great call-out! I have done so with 5e0c924. |
when executing against projects where the dependency graph is tracking several pages of dependencies, we are encountering secondary rate limits before the full query result can be processed. is there a way to configure the client to honor the
retry-after/x-ratelimit-resetheaders?for completeness, this is the error we are seeing in this case:
in addition, we are sometimes seeing a timeout error, before encountering the secondary rate limit. Is this a known issue?
The text was updated successfully, but these errors were encountered: