mirror of
https://github.com/docker/compose.git
synced 2026-11-18 14:13:49 +00:00
Copilot review finding on #14296: planServiceStart returned before any dependency planning for every service whose scale is zero. The imperative startService only treats deploy.replicas: 0 as an unconditional no-op: a service with scale: 0 still has its depends_on conditions evaluated first, so an unhealthy or missing required dependency fails `up`/`start`, and whatever is ordered after the service stays ordered after those prerequisites. It is simply never an error for it to have no container to start, and under scope Start the replicas it already owns are started (CreateStart removes them all in the create phase). Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com> |
||
|---|---|---|
| .. | ||
| api | ||
| bridge | ||
| compose | ||
| dryrun | ||
| e2e | ||
| mocks | ||
| remote | ||
| utils | ||
| watch | ||