Skip to content

Retry rapids-conda-retry on HTTPError - #281

Merged
rapids-bot[bot] merged 1 commit into
rapidsai:mainfrom
bdice:retry-conda-http-errors
Oct 20, 2026
Merged

rapids-bot[bot] merged 1 commit into
rapidsai:mainfrom
bdice:retry-conda-http-errors

Conversation

@bdice

@bdice bdice commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

conda can surface HTTP failures as a raw requests.exceptions.HTTPError (e.g. a 502 from conda.anaconda.org while fetching repodata) instead of CondaHTTPError. The existing CondaHTTPError: pattern does not match it, so the command fails without retrying. Example: https://github.com/rapidsai/ci-imgs/actions/runs/39439319198/job/118690614525

This matches HTTPError: generically, consistent with CondaHTTPError:, which already retries every status code.

Adds tests using a fake conda executable.

@bdice
bdice requested a review from a team as a code owner October 20, 2026 15:15
@bdice
bdice requested review from KyleFromNVIDIA and removed request for a team October 20, 2026 15:15
@jameslamb

Copy link
Copy Markdown
Member

/merge

@rapids-bot
rapids-bot Bot merged commit 2113e2a into rapidsai:main Oct 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants