Skip to content

Add retry logic for transient HTTP errors in bin/install.py#19353

Merged
harupy merged 1 commit intomlflow:masterfrom
harupy:fix-install-retry-503
Dec 13, 2025
Merged

Add retry logic for transient HTTP errors in bin/install.py#19353
harupy merged 1 commit intomlflow:masterfrom
harupy:fix-install-retry-503

Conversation

@harupy
Copy link
Member

@harupy harupy commented Dec 12, 2025

Related Issues/PRs

Example failure: https://github.com/mlflow/mlflow/actions/runs/20139801138/job/57803643651

What changes are proposed in this pull request?

Add retry logic with exponential backoff for transient HTTP errors (502, 503, 504) when downloading binaries in bin/install.py. GitHub releases sometimes return 503 errors, causing CI failures.

How is this PR tested?

  • Existing unit/integration tests

Does this PR require documentation update?

  • No. You can skip the rest of this section.

Release Notes

Is this a user-facing change?

  • No. You can skip the rest of this section.

What component(s), interfaces, languages, and integrations does this PR affect?

Components

  • area/build: Build and test infrastructure for MLflow

How should the PR be classified in the release notes? Choose one:

  • rn/none - No description will be included. The PR will be mentioned only by the PR number in the "Small Bugfixes and Documentation Updates" section

Should this PR be included in the next patch release?

  • Yes (this PR will be cherry-picked and included in the next patch release)
  • No (this PR will be included in the next minor release)

🤖 Generated with Claude Code

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
Copilot AI review requested due to automatic review settings December 12, 2025 10:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Contributor

@harupy Thank you for the contribution! Could you fix the following issue(s)?

⚠ Invalid PR template

This PR does not appear to have been filed using the MLflow PR template. Please copy the PR template from here and fill it out.

@github-actions github-actions bot added v3.7.1 area/build Build and test infrastructure for MLflow rn/none List under Small Changes in Changelogs. labels Dec 12, 2025
@harupy harupy removed the v3.7.1 label Dec 12, 2025
@harupy harupy requested a review from Copilot December 13, 2025 03:47
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@harupy harupy merged commit a033f1c into mlflow:master Dec 13, 2025
51 of 56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build Build and test infrastructure for MLflow rn/none List under Small Changes in Changelogs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants