Skip to content

fix: Wait for published wheels before building release images. - #6535

Open
franciscojavierarceo wants to merge 1 commit into
mainfrom
codex/joss-pypi-readiness
Open

franciscojavierarceo wants to merge 1 commit into
mainfrom
codex/joss-pypi-readiness

Conversation

@franciscojavierarceo

Copy link
Copy Markdown
Collaborator

the Docker jobs can start before the newly published wheels are visible on the package index. the v1.0.3 starter build failed to resolve ogx==1.0.3; the PostgreSQL build resolved it shortly afterward. the v1.3.1 release hit the same failure. production builds currently skip the wait entirely.

this checks the selected PyPI or TestPyPI Simple index for the exact, non-yanked server and API wheels before starting Docker. it retries up to 20 times with 30 seconds between attempts and bounded HTTP timeouts, then stops if the wheels remain unavailable. historical llama-stack releases only require the server wheel because their API may be bundled. the probe reduces the publication race; separate CDN views can still differ.

validation: all 45 release-workflow tests pass, including production/TestPyPI selection, delayed API publication, exhausted retries, wrong versions, source-only releases, yanked wheels, and bundled legacy APIs. the actual shell step also passed against public PyPI for v1.0.3. changed-file pre-commit checks, including actionlint and mypy, and an independent review passed.

Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
franciscojavierarceo added a commit that referenced this pull request Sep 10, 2026
…6536)

Backport #6535 to release-1.0.x. Wait for exact server and API wheels on the selected package index before building release images, using the release workflow's ogx fallback.

Validated with 45 release-workflow tests, the release metadata fallback probe, changed-file pre-commit, and passing CI.

Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>

This branch has not been deployed

No deployments
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.

1 participant