Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(watch): remove old docker cp implementation #11497

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

milas
Copy link
Contributor

@milas milas commented Feb 13, 2024

What I did
Remove the original docker cp implementation for Watch mode synchronization.

This has not been the default for quite a while and required setting an environment variable to revert back.

The tar implementation is more performant and addresses several edge cases with the original docker cp version, so it's time to fully retire it.

The scaffolding for multiple sync implementations remains to support future experimentation here.

Related issue
JIRA: COMP-385

(not mandatory) A picture of a cute animal, if possible in relation to what you did
arctic fox in the snow

This has not been the default for quite a while and required
setting an environment variable to revert back.

The tar implementation is more performant and addresses several
edge cases with the original `docker cp` version, so it's time
to fully retire it.

The scaffolding for multiple sync implementations remains to
support future experimentation here.

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
@milas milas requested a review from a team February 13, 2024 18:00
@milas milas self-assigned this Feb 13, 2024
@milas milas requested review from ndeloof, glours and jhrotko and removed request for a team February 13, 2024 18:00
Copy link

codecov bot commented Feb 14, 2024

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (894ab41) 58.34% compared to head (d203402) 58.47%.
Report is 4 commits behind head on main.

Files Patch % Lines
pkg/compose/watch.go 37.50% 3 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11497      +/-   ##
==========================================
+ Coverage   58.34%   58.47%   +0.13%     
==========================================
  Files         136      134       -2     
  Lines       11587    11508      -79     
==========================================
- Hits         6760     6729      -31     
+ Misses       4166     4118      -48     
  Partials      661      661              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@glours glours merged commit a220043 into docker:main Feb 14, 2024
28 checks passed
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.

None yet

3 participants