compose/pkg
David Gageot caa454e04a
fix(watch): don't rebuild dependencies when a service changes
When a watched service is rebuilt, compose also rebuilt the services it
depends on (which were then left not restarted).

up builds its BuildOptions with Deps=true. The same options are reused
by watch's rebuild(), which narrows Build.Services to the changed
service but never cleared Build.Deps, so build() still included
dependencies via IncludeDependencies.

Clear Build.Deps in rebuild() so only the changed services are built.

Fixes #13853

Signed-off-by: David Gageot <david.gageot@docker.com>
2026-06-19 09:22:33 +02:00
..
api fix: provider output handling and watch rebuild re-invocation 2026-04-14 11:43:48 +02:00
bridge pkg/bridge: remove uses of go-connections 2026-02-11 12:32:37 +01:00
compose fix(watch): don't rebuild dependencies when a service changes 2026-06-19 09:22:33 +02:00
dryrun go.mod: bump github.com/moby/moby/api v1.53.0, moby/client v0.2.2 2026-02-11 12:32:37 +01:00
e2e fix(watch): don't rebuild dependencies when a service changes 2026-06-19 09:22:33 +02:00
mocks go.mod: bump github.com/moby/moby/api v1.53.0, moby/client v0.2.2 2026-02-11 12:32:37 +01:00
remote chore: fix some comments to improve readability 2026-06-09 11:45:13 +02:00
utils fix: make e2e tests pass reliably locally with Docker Desktop 2026-05-18 10:55:41 +02:00
watch fix mixed assertion libraries in tests 2026-03-31 17:32:51 +02:00