Skip to content

CI autofix workflow fails with 504 when downloading python-build-standalone #29612

@lyzno1

Description

@lyzno1

Problem

The autofix.yml workflow fails intermittently with 504 errors when uv sync tries to download python-build-standalone from GitHub releases.
Ref: error

error: Failed to download cpython-3.11.14+20251209-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
Caused by: Request failed after 3 retries

Root Cause

setup-uv with python-version parameter downloads Python from python-build-standalone releases, which can be unreliable.

Solution

Use actions/setup-python before setup-uv to provide Python from GitHub's official cache, avoiding the need for uv to download Python.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions