VirtusLab / bazel-steward

A bot to keep Bazel dependencies up to date
https://virtuslab.github.io/bazel-steward/
Apache License 2.0
62 stars 5 forks source link

bazel steward silently hangs after pushing branch #349

Closed dhalperi closed 9 months ago

dhalperi commented 9 months ago

E.g., https://github.com/batfish/batfish/actions/runs/7963060467/job/21737883505

Seems to create a branch proposing to update rules-python, then goes silent and eventually times out after 6 hours.

dhalperi commented 9 months ago

Branch here: https://github.com/batfish/batfish/tree/bazel-steward/rules_python/0.31.0

lukaszwawrzyk commented 9 months ago

Oh, my... I suspect this is due to the count of PRs in the repo and it gets stuck on querying them. We have tested on forks of various repos, but well, PRs are not forked so it didn't came out. I will optimize this part.

lukaszwawrzyk commented 9 months ago

@dhalperi Feel free to reopen, though I hope that the fix will work. Fetching 8000 PRs is a good candidate that can cause hang.

dhalperi commented 9 months ago

Cool, thanks. FWIW, I tried again and I got:

HTTP 403: API rate limit exceeded for installation ID 12265224. If you reach out to GitHub Support for help, please include the request ID FC40:6389:EF754C:1DDD25D:65D4D793. (https://api.github.com/repos/VirtusLab/bazel-steward/releases/tags/latest) but that may just be because it was in the middle of a prior 6 hour run.

lukaszwawrzyk commented 9 months ago

Yes, it could be that that event used up your quota.