Skip to content

Conversation

@thaJeztah
Copy link
Member

relates to

It was created for internal use, and is not part of the context-store public API. It was introduced as part of the "zip import" functionality added in 291e862. Initially it was non-exported, but during review, some suggestions were made to improve the implementation, and the suggested implementation was based on Go stdlib, but review overlooked that the implementation was now exported.

Let's un-export it, as this was (as outlined) never meant to be a public type.

- Human readable description for the release notes

- A picture of a cute animal (not mandatory but encouraged)

It was created for internal use, and is not part of the context-store
public API. It was introduced as part of the "zip import" functionality
added in 291e862. Initially it was
[non-exported][1], but during review, some suggestions were made to improve
the implementation, and the [suggested implementation][2] was based on
Go stdlib, but review overlooked that the implementation was now exported.

Let's un-export it, as this was (as outlined) never meant to be a public
type.

[1]: docker#1895 (comment)
[2]: docker#1895 (comment)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah added status/2-code-review area/context kind/refactor PR's that refactor, or clean-up code labels Apr 1, 2025
@thaJeztah thaJeztah added this to the 28.0.5 milestone Apr 1, 2025
@codecov-commenter
Copy link

codecov-commenter commented Apr 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.10%. Comparing base (3349492) to head (ce61ea0).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5982      +/-   ##
==========================================
- Coverage   59.12%   59.10%   -0.02%     
==========================================
  Files         355      355              
  Lines       29740    29740              
==========================================
- Hits        17583    17578       -5     
- Misses      11182    11188       +6     
+ Partials      975      974       -1     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@thaJeztah thaJeztah requested a review from Benehiko April 4, 2025 15:35
@thaJeztah thaJeztah merged commit b65f52f into docker:master Apr 4, 2025
99 checks passed
@thaJeztah thaJeztah deleted the context_unexport_limitreader branch April 4, 2025 16:14
@thaJeztah thaJeztah modified the milestones: 28.0.5, 28.1.0 Apr 10, 2025
@thaJeztah thaJeztah self-assigned this May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/context kind/refactor PR's that refactor, or clean-up code status/2-code-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants