Repository navigation
Derive serialization for cached artifact records - #22061
Merged
charliermarsh merged 1 commit intoSep 30, 2026
Merged
charliermarsh merged 1 commit into
charliermarsh merged 1 commit into
Conversation
charliermarsh
temporarily deployed
to
automations
September 28, 2026 21:02 — with
GitHub Actions
Inactive
woodruffw
approved these changes
Sep 28, 2026
charliermarsh
force-pushed
the
charlie/derive-cache-record-serialize
branch
from
September 28, 2026 23:15
142cbae to
682c64c
Compare
charliermarsh
changed the base branch from
charlie/sdist-revision-fastid
to
charlie/remove-hash-digest-wire
September 28, 2026 23:15
charliermarsh
temporarily deployed
to
automations
September 28, 2026 23:16 — with
GitHub Actions
Inactive
charliermarsh
force-pushed
the
charlie/derive-cache-record-serialize
branch
from
September 29, 2026 17:16
682c64c to
5919952
Compare
charliermarsh
temporarily deployed
to
automations
September 29, 2026 17:24 — with
GitHub Actions
Inactive
charliermarsh
force-pushed
the
charlie/derive-cache-record-serialize
branch
from
September 30, 2026 01:43
5919952 to
0b2bb0b
Compare
charliermarsh
had a problem deploying
to
automations
September 30, 2026 01:44 — with
GitHub Actions
Error
charliermarsh
temporarily deployed
to
automations
September 30, 2026 01:50 — with
GitHub Actions
Inactive
Merging this PR will improve performance by ×4
Performance Changes
Tip Curious why performance improved? Comment Comparing Footnotes
|
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 #22061 for 0.13. We derive `Serialize` for `Revision` and `Archive`, writing MessagePack arrays instead of maps. This removes the custom serializers and saves 15 bytes per source revision and 32 bytes per wheel archive record. The `sdists-v10` and `wheels-v7` bumps remove the need to support older readers that cannot accept the added `size` field.
zanieb
pushed a commit
that referenced
this pull request
Oct 7, 2026
Reapplies #22061 for 0.13. We derive `Serialize` for `Revision` and `Archive`, writing MessagePack arrays instead of maps. This removes the custom serializers and saves 15 bytes per source revision and 32 bytes per wheel archive record. The `sdists-v10` and `wheels-v7` bumps remove the need to support older readers that cannot accept the added `size` field.
zanieb
pushed a commit
that referenced
this pull request
Oct 9, 2026
Reapplies #22061 for 0.13. We derive `Serialize` for `Revision` and `Archive`, writing MessagePack arrays instead of maps. This removes the custom serializers and saves 15 bytes per source revision and 32 bytes per wheel archive record. The `sdists-v10` and `wheels-v7` bumps remove the need to support older readers that cannot accept the added `size` field.
astral-automations-bot Bot
pushed a commit
to astral-sh/uv-dev
that referenced
this pull request
Oct 10, 2026
Reapplies astral-sh#22061 for 0.13. We derive `Serialize` for `Revision` and `Archive`, writing MessagePack arrays instead of maps. This removes the custom serializers and saves 15 bytes per source revision and 32 bytes per wheel archive record. The `sdists-v10` and `wheels-v7` bumps remove the need to support older readers that cannot accept the added `size` field.
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We derive
SerializeforRevisionandArchive, writing MessagePack arrays instead of maps. This removes the custom serializers and saves 15 bytes per source revision and 32 bytes per wheel archive record.The
sdists-v10andwheels-v7bumps remove the need to support older readers that cannot accept the addedsizefield.