Files
lancedb/ci
Bruno Ramirez ff7a1c2c25 fix(ci): retry incomplete PyPI metadata after CLI uploads (#5370)
The [0.42.1 CLI publish
run](https://github.com/lancedb/lancedb/actions/runs/46743361906/job/143030097235)
uploaded all four distributions, then failed verification because the
first PyPI metadata response listed only some of the files. The workflow
fetched that response once and stopped at the first missing filename.
This change gives PyPI time to list every expected file while still
rejecting a published checksum mismatch immediately.

This was accomplished with the following changes:

- Fetch release metadata up to eight times, with a 15-second request
timeout and 15 seconds between attempts. Report any filenames still
missing when retries run out.
- Compare every listed distribution against its local SHA-256 on each
attempt, even when a different wheel or the source archive is missing.

### Testing

Five regression tests passed, covering complete metadata, delayed files,
persistent omissions, a mismatched digest in a partial listing, and a
transient request error. The existing stable publishing checks also
passed.
2026-12-02 21:05:48 +00:00
..