Repository navigation
Update release checklist with further details - #2155
Merged
Merged
Conversation
Add details for release checklist for where to put the update the changelist and which branch to cherry-pick from. Also add more details around creating the tag and verifying the tag is correct. Signed-off-by: Derek McGowan <[email protected]> (github: dmcgowan)
Current coverage is 51.20% (diff: 100%)@@ master #2155 diff @@
==========================================
Files 125 125
Lines 11436 11433 -3
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
- Hits 7004 5854 -1150
- Misses 3545 4833 +1288
+ Partials 887 746 -141
|
jgehrcke
added a commit
to jgehrcke/distribution
that referenced
this pull request
Nov 28, 2026
This test confirms that the proxy uses the response writer's Write method when a request misses the cache for a blob already being fetched. In distribution#5052 the registry's response writer forwards ReadFrom to enable sendfile. Without blobResponseWriter from distribution#5115, io.CopyN would use ReadFrom here. With Prometheus instrumentation enabled, promhttp's ReadFrom would commit status 200 before reading the upstream body, even if the first read failed (prometheus/client_golang#2155). Using Write here costs us no sendfile opportunity. ReadFrom would still read the upstream HTTP response body through an HTTPReadSeeker. Keep blobResponseWriter and this test after upgrading to a client_golang release that fixes distribution#2155. The wrapper sets blob headers on the first write of blob data, so early error responses keep their own headers. Signed-off-by: Dr. Jan-Philip Gehrcke <[email protected]>
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.
Add details for release checklist for where to put the update the changelist and which branch to cherry-pick from. Also add more details around creating the tag and verifying the tag is correct.