Skip to content

fix(ci): wrap uv install in retry block#918

Open
ko3n1g wants to merge 1 commit intomainfrom
ko3n1g/fix/uv-install-retry
Open

fix(ci): wrap uv install in retry block#918
ko3n1g wants to merge 1 commit intomainfrom
ko3n1g/fix/uv-install-retry

Conversation

@ko3n1g
Copy link
Copy Markdown
Collaborator

@ko3n1g ko3n1g commented Apr 20, 2026

Summary

  • Wraps the uv installer curl command in a retry loop (3 attempts, 10 s sleep between attempts) in all three jobs in install-test.yml.

Motivation

The install occasionally fails due to transient network issues. Without a retry, the entire CI job fails hard on a flaky download.

Example

- name: Install uv
  run: |
    for i in 1 2 3; do
      curl -LsSf https://astral.sh/uv/install.sh | sh && break
      echo "uv install attempt $i failed, retrying..."
      sleep 10
    done
    echo "$HOME/.local/bin" >> $GITHUB_PATH

Signed-off-by: oliver könig <okoenig@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant