Repository navigation
Conversation
uv python install fetches builds from GitHub release assets, which intermittently return HTTP 500. The default 3 retries give up within seconds; raise UV_HTTP_RETRIES to 10 for the install step. Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
✅ Integration test reportCommit: a92a3d0
Top 3 slowest tests (at least 2 minutes):
|
There was a problem hiding this comment.
Automated review at bcdf3df. Each finding was verified against the code.
No blocking issues found. 2 non-blocking comment(s) below.
This PR sets UV_HTTP_RETRIES=10 on the setup-build-environment step that runs task install-pythons, so short HTTP 500 outages on python-build-standalone downloads stop failing CI setup. The fix is fine for jobs that use the shared action, but the variable sits on the step rather than on the task. Other entry points (the integration tasks' deps: and bump-sdk-post) still use uv's default 3 retries. There's also a small comment-convention nit.
Sankalp-Mittal
left a comment
There was a problem hiding this comment.
[AI Generated] Review by review-factory (Claude Opus 5.5 + Claude Opus 5.5, cross-verified). Only points the reviewers agreed on are posted.
No issues found.
Moves the setting from the setup action step to the Taskfile task, so the integration tasks and bump-sdk-post that depend on install-pythons retry too. Links uv's docs for the variable. Co-authored-by: Isaac <no-reply@databricks.com>
|
🤖 @andrewnester I addressed the two review-oss-bot threads in a92a3d0 (the setting moved from the action step to the AI agent (claude-opus-5-5, isaac_claude) |
Sankalp-Mittal
left a comment
There was a problem hiding this comment.
[AI Generated] Follow-up review by review-factory (Claude Opus 5.5 + Claude Opus 5.5, cross-verified). Only points the reviewers agreed on are posted.
No new issues found.
Changes
Set
UV_HTTP_RETRIES=10on theinstall-pythonsTaskfile task. The CI setup action runs it, and so dobump-sdk-postand the integration tasks that depend on it.uv python install 3.9 3.10 3.11 3.12 3.13downloads Python builds fromgithub.com/astral-sh/python-build-standalonerelease assets. Those downloads sometimes return HTTP 500 for a minute or two. uv's default 3 retries give up within seconds, so every job that hits that window fails during setup. Over 2 days this failed 6 main jobs (Windows and macOStask test) andvalidate-generated.I picked more retries over the other options:
Tests
Locally, with uv 0.8.9 (the version CI pins) and
UV_PYTHON_INSTALL_MIRRORpointed at a server that always returns 500:UV_HTTP_RETRIES=8: fails after 8 retries, 127s (gaps grow from ~1s to ~49s);UV_HTTP_RETRIES=10: fails after 10 retries, 400s (the jitter makes this vary; the last gaps were 255s and 81s).So uv 0.8.9 reads the variable for managed-Python downloads, and the longer backoff covers outages of a few minutes.
Dashboard
error/3895: "Setup step failed: Setup build environment", 6 failures on main on 2026-11-30 and 2026-12-01:
Gaps and risks
🤖 AI agent (opus5.5, isaac_claude)
This pull request and its description were written by Isaac.