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

watch: enable tar-based syncer by default #10877

Merged
merged 1 commit into from
Aug 4, 2023
Merged

Conversation

milas
Copy link
Contributor

@milas milas commented Aug 3, 2023

What I did
Swap the default implementation now that batching is merged. Keeping the docker cp based implementation around for the moment, but it needs to be explicitly disabled now by setting COMPOSE_EXPERIMENTAL_WATCH_TAR=0.

After the next release, we should remove the docker cp implementation entirely.

(not mandatory) A picture of a cute animal, if possible in relation to what you did
capybara in a hot tub

@milas milas requested a review from a team August 3, 2023 19:06
@milas milas self-assigned this Aug 3, 2023
@milas milas requested review from nicksieger, ndeloof, StefanScherer, ulyssessouza, glours and laurazard and removed request for a team August 3, 2023 19:06
Copy link
Contributor

@glours glours left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Swap the default implementation now that batching is merged.
Keeping the `docker cp` based implementation around for the
moment, but it needs to be _explicitly_ disabled now by setting
`COMPOSE_EXPERIMENTAL_WATCH_TAR=0`.

After the next release, we should remove the `docker cp`
implementation entirely.

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
@milas milas force-pushed the watch-enable-tar branch 2 times, most recently from c943de3 to d65c4b9 Compare August 3, 2023 19:47
@codecov
Copy link

codecov bot commented Aug 3, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.01% ⚠️

Comparison is base (80856ea) 58.85% compared to head (d65c4b9) 58.84%.

Additional details and impacted files
@@            Coverage Diff             @@
##               v2   #10877      +/-   ##
==========================================
- Coverage   58.85%   58.84%   -0.01%     
==========================================
  Files         120      120              
  Lines       10438    10444       +6     
==========================================
+ Hits         6143     6146       +3     
- Misses       3694     3698       +4     
+ Partials      601      600       -1     
Files Changed Coverage Δ
pkg/compose/watch.go 35.90% <0.00%> (-0.66%) ⬇️

... and 5 files with indirect coverage changes

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

@milas milas merged commit fd8ab2f into docker:v2 Aug 4, 2023
25 checks passed
@milas milas deleted the watch-enable-tar branch August 4, 2023 20:58
milas added a commit to milas/compose that referenced this pull request Aug 4, 2023
Swap the default implementation now that batching is merged.
Keeping the `docker cp` based implementation around for the
moment, but it needs to be _explicitly_ disabled now by setting
`COMPOSE_EXPERIMENTAL_WATCH_TAR=0`.

After the next release, we should remove the `docker cp`
implementation entirely.

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
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