Skip to content

Store source distribution revision IDs inline - #22059

Merged
charliermarsh merged 2 commits into
charlie/refresh-cache-policy-in-placefrom
charlie/sdist-revision-fastid
Sep 30, 2026
Merged

charliermarsh merged 2 commits into
charlie/refresh-cache-policy-in-placefrom
charlie/sdist-revision-fastid

Conversation

@charliermarsh

@charliermarsh charliermarsh commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

We store source-distribution revision IDs as uv_fastid::Id, avoiding the String allocation when creating or cloning them. IDs still serialize as strings.

The sdists-v10 bump allows us to reject legacy 21-character IDs.

@charliermarsh charliermarsh added the internal A refactor or improvement that is not user-facing label Sep 28, 2026
@charliermarsh
charliermarsh force-pushed the charlie/sdist-revision-fastid branch from 5cdaa12 to b6e3c7a Compare September 30, 2026 01:43
@charliermarsh charliermarsh added performance and removed internal A refactor or improvement that is not user-facing labels Sep 30, 2026
@charliermarsh
charliermarsh merged commit 991e724 into main Sep 30, 2026
110 of 114 checks passed
@charliermarsh
charliermarsh deleted the charlie/sdist-revision-fastid branch September 30, 2026 02:07
charliermarsh added a commit that referenced this pull request Oct 1, 2026
We revert the cache-format stack so `main` retains the 0.12 cache
formats and bucket versions. These changes are deferred to 0.13.

This reverts the following PRs together, including the six cache bucket
bumps and the serialization and Windows lock-name changes that depend on
them:

- #22052: Refresh HTTP cache policies in place
- #22059: Store source distribution revision IDs inline
- #22060: Remove the legacy hash digest cache representation
- #22061: Derive serialization for cached artifact records
- #22062: Use bounded wheel cache lock names on Windows
- #22078: Pack HTTP cache policy flags and optional integers
- #22079: Align cached HTTP policies within the payload buffer
charliermarsh added a commit that referenced this pull request Oct 1, 2026
Reapplies #22059 for 0.13.

We store source-distribution revision IDs as `uv_fastid::Id`, avoiding
the `String` allocation when creating or cloning them. IDs still
serialize as strings.

The `sdists-v10` bump allows us to reject legacy 21-character IDs.
zanieb pushed a commit that referenced this pull request Oct 7, 2026
Reapplies #22059 for 0.13.

We store source-distribution revision IDs as `uv_fastid::Id`, avoiding
the `String` allocation when creating or cloning them. IDs still
serialize as strings.

The `sdists-v10` bump allows us to reject legacy 21-character IDs.
zanieb pushed a commit that referenced this pull request Oct 9, 2026
Reapplies #22059 for 0.13.

We store source-distribution revision IDs as `uv_fastid::Id`, avoiding
the `String` allocation when creating or cloning them. IDs still
serialize as strings.

The `sdists-v10` bump allows us to reject legacy 21-character IDs.
astral-automations-bot Bot pushed a commit to astral-sh/uv-dev that referenced this pull request Oct 10, 2026
Reapplies astral-sh#22059 for 0.13.

We store source-distribution revision IDs as `uv_fastid::Id`, avoiding
the `String` allocation when creating or cloning them. IDs still
serialize as strings.

The `sdists-v10` bump allows us to reject legacy 21-character IDs.

This branch was previously deployed

1 inactive deployment
automations — b6e3c7a8 Deployed Sep 30, 2026 by charliermarsh via review / security review #48397
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants