Skip to content

ci: harden uv dependency installs#367

Merged
ASuresh0524 merged 1 commit into
StarTrail-org:mainfrom
raoabinav:ci/harden-uv-installs
Jun 9, 2026
Merged

ci: harden uv dependency installs#367
ASuresh0524 merged 1 commit into
StarTrail-org:mainfrom
raoabinav:ci/harden-uv-installs

Conversation

@raoabinav

Copy link
Copy Markdown
Contributor

Summary

  • Adds uv HTTP retry/timeout settings for the large build matrix so transient PyPI/CDN stalls do not fail PR runs immediately.
  • Enables setup-uv cache for lint, type-check, and wheel-build jobs using uv.lock as the cache dependency key.
  • Wraps uv build/install calls that touch remote dependencies with bounded retries.
  • Disables matrix fail-fast so one infrastructure timeout does not cancel the remaining platform signal.

Context

Recent PR runs failed on macOS Intel before tests executed because uv timed out while downloading PyPI wheels such as pandocfilters and jupyter-core. This PR hardens the workflow against that failure mode without changing package code.

Validation

  • Parsed .github/workflows/build-reusable.yml locally with Ruby YAML loader.
  • Ran git diff --check.

@raoabinav

Copy link
Copy Markdown
Contributor Author

Parking this PR for now to keep the review queue focused on #347. I’ll revisit/reopen this work later as a smaller clean PR once the content-hash PR lands.

@raoabinav raoabinav closed this Jun 6, 2026
@raoabinav

Copy link
Copy Markdown
Contributor Author

Reopening this now that #347 has landed. This is intentionally scoped to CI reliability only: uv retries/timeouts, setup-uv cache, bounded retries around uv build/install steps, and fail-fast disabled so one transient download failure does not cancel the rest of the matrix.

@raoabinav raoabinav reopened this Jun 7, 2026
@ASuresh0524 ASuresh0524 merged commit d2e09d1 into StarTrail-org:main Jun 9, 2026
62 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