Repository navigation
ci: stop the cleanup on the primary rate limit - #12
Merged
Merged
Conversation
A run started with 4800 requests by /rate_limit, but the installation's limit was nearly used by the run before; it then retried 2261 deletes that failed with `API rate limit exceeded for installation`. The error was cut to 300 characters before it was checked, which dropped the `(HTTP 403)` at the end of that long message, so it counted as transient. - the whole error decides, only the log gets the short one - any rate limit, primary or secondary, stops the run - a rate limit while reading a page stops the run too, instead of failing it after three attempts Co-Authored-By: Claude Opus 5.5 <michael.kriese+claude-code@mend.io> Claude-Session: https://claude.ai/code/session_01QDtJ4KzQDumLuVTjbJNkWv
PR Summary by QodoStop cleanup when GitHub hits a primary or secondary rate limit
AI Description
Merge Risk
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can tweak Display settings with a live preview to see your comment before it ships |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Run 45745323713 started with 4800 requests by
/rate_limit, but the installation limit was nearly used by the run before. It then retried 2261 deletes failing withAPI rate limit exceeded for installation: the error was cut to 300 characters before it was checked, dropping the(HTTP 403)at the end of that long message.Context
AI assistance disclosure
Did you use AI tools to create any part of this pull request?
Use of AI in replying to PR comments
Who answers review comments:
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via:
Run against a fake
ghwith GitHub's full primary rate limit message: rate limited deletes stop the run after the first one (4 requests, was 2261 retries), a rate limited page read stops it too, a403without rate limit still fails it, a broken response is still left for the next run.Drafted by Claude Code (Claude Opus 5.5, medium effort) on behalf of @viceice.
Generated by Claude Code