Content addressable prototype compact index#775
Draft
jenshenny wants to merge 5 commits into
Draft
Conversation
Skinny binaries (single ~> X.Y.Z platform gems) are addressed by content (name-version-<sha>) with platform/ruby in the requirements section, and are excluded from the v1/v2 indexes so older clients are unaffected.
OughtPuts
reviewed
Jun 16, 2026
| }.freeze, | ||
| # The public "/v2" endpoint serves the content-addressable index, which is | ||
| # internally the v3 format (v3/* storage prefixes, versions_file_location_v3). | ||
| 3 => { |
There was a problem hiding this comment.
Just noting here that we probably want to look at the V3 + /v2/ naming for CA vs the v2 naming for cooldown - can we do anything to make this less of a minefield for any future contributor?
OughtPuts
reviewed
Jun 16, 2026
| platformed? && ruby_minor.present? | ||
| end | ||
|
|
||
| def number_and_platform |
There was a problem hiding this comment.
Suggested change
| def number_and_platform | |
| def version_token |
I think number_and_platform would benefit from a rename to better reflect the fact it could return any of the below:
0.1.9
0.1.9-arm64-darwin-25
0.1.9-dd3dd678
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.
No description provided.