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 Reviewed by Cursor Bugbot for commit bb504ef. Configure here. |
|
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 bb504ef. Configure here.
The required
check_versionjob read the latest release from PyPI with oneurlopencall and no timeout. A single dropped connection (URLError: [SSL: UNEXPECTED_EOF_WHILE_READING]) failed it on a recent PR, which blocks the merge until someone reruns the job. The rerun passed with no code change.Changes
version-check.yml: the PyPI request has a 15 s timeout and is retried up to four times, with 2, 4 and 8 s pauses, on connection and SSL errors, timeouts, responses cut off mid-read, and HTTP 5xx.$GITHUB_ENVon the two lines actionlint's shellcheck pass flagged.Notes
version-check.ymlchanges (Normalize Slack issue severity and bump SDK tov3.6.0#331, Log why a new repository couldn't be created #436) didn't add one. The PR rides main's unreleased 2.13.3.actionlint(clean), and by running the extracted script against PyPI and against mocked SSL EOF, 503, read timeout, remote disconnect, incomplete read, repeated failure and 404 responses.