Repository navigation
Conversation
check_version read the latest release from PyPI with one request and no timeout, so a single dropped connection failed a required check and blocked the merge until someone reran the job. The request now has a 15 s timeout and is retried up to four times, with 2, 4 and 8 s pauses, on connection errors, timeouts and 5xx responses. If PyPI still can't be read, the job fails with a message that names PyPI and says the PR's version isn't the problem. The version comparison is unchanged. Also quotes $GITHUB_ENV, which actionlint's shellcheck pass flagged.
PR SummaryLow Risk Overview The workflow now calls shared helper Package version is bumped to 2.16.1 with changelog and Reviewed by Cursor Bugbot for commit e82f40a. Configure here. |
|
bugbot run |
main released 2.15.1, which this branch was riding unreleased.
Orlando Barrera II (obarrera)
left a comment
There was a problem hiding this comment.
Logic looks right, HTTPError is caught ahead of OSError, so 4xx fails fast and 5xx retries, and the backoff matches the description. Also consider retrying 429, since a PyPI rate limit is as transient as a 503.
A rate limit is as transient as a 5xx, so it gets the same backoff instead of failing the required check on the first attempt. Bump to 2.15.11, since main has released 2.15.10.
Orlando Barrera II (@obarrera) good catch on that, fixed in latest commits - LMK if you're good to approve! |
Retry unreadable responses, honor bounded Retry-After delays, and report PyPI lookup failures in PR comments. Add regression coverage for retry and failure paths.
|
bugbot run |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit e82f40a. Configure here.
The required version check queries PyPI for the latest published release. A dropped connection or rate limit can block a PR even when its version is valid.
Changes
Retry-Afterdelays up to 60 seconds. If PyPI asks for a longer delay, fail with a rerun message.Verification
Retry-After.