mirror of
https://github.com/docker/compose.git
synced 2026-10-12 02:13:08 +00:00
Address review findings on the network reconcile migration: - createNetwork now treats a NetworkCreate conflict as success. A concurrent `docker compose up|run` can create the same network in the TOCTOU window between the observed-state snapshot and the create call; the previous ensureNetwork retried on conflict, the plain create must not fail hard. - discoverUnmanagedNetworks/Volumes preserve the config-hash when the live resource is owned by this project (project label present, key label absent — e.g. written by an older Compose) so genuine divergence is still detected. For resources we don't own the hash stays empty and they are reused untouched. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Signed-off-by: Nicolas De Loof <[email protected]>