mirror of
https://github.com/docker/compose.git
synced 2026-11-17 05:36:08 +00:00
The imperative start engine (startService, startServiceContainer, restart, waitDependencies) is only locked by e2e tests today. Before converging it into the plan engine (#14081), pin its observable behavior with unit characterization tests: start idempotence and the silent no-op on running replicas, the "no container to start" error, pre_start gating (mixed replicas skip the hook, all-stopped runs it once on the lowest-numbered replica), the inject -> start -> post_start sequence with Started only emitted after hooks, restart's depends_on restart:true selection and its pre_stop -> ContainerRestart -> post_start order, --wait's completed_successfully condition mapping, and waitDependencies' missing/failing dependency semantics for required and optional dependencies. No production change. Part of #14074 (section C) / #14081 (lot 0). Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com> |
||
|---|---|---|
| .. | ||
| api | ||
| bridge | ||
| compose | ||
| dryrun | ||
| e2e | ||
| mocks | ||
| remote | ||
| utils | ||
| watch | ||