Skip to content

watch: enable tar-based syncer by default#10877

Merged
milas merged 1 commit into
docker:v2from
milas:watch-enable-tar
Aug 4, 2023
Merged

watch: enable tar-based syncer by default#10877
milas merged 1 commit into
docker:v2from
milas:watch-enable-tar

Conversation

@milas

@milas milas commented Aug 3, 2023

Copy link
Copy Markdown
Contributor

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 StefanScherer, glours, laurazard, ndeloof, nicksieger and ulyssessouza and removed request for a team August 3, 2023 19:06

@glours glours left a comment

Copy link
Copy Markdown
Contributor

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 <[email protected]>
@milas
milas force-pushed the watch-enable-tar branch 2 times, most recently from c943de3 to d65c4b9 Compare August 3, 2023 19:47
@codecov

codecov Bot commented Aug 3, 2023

Copy link
Copy Markdown

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
@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 <[email protected]>
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.

3 participants