mirror of
https://github.com/docker/compose.git
synced 2026-11-17 13:45:39 +00:00
A node that leaves its dependency wait because its phase was canceled closes its done channel (deferred) without recording any failure. In X -> A -> B with X failing, B could select done[A] before it saw the cancellation, find no failure recorded for A, emit its "Starting" event and enter executeNode on a canceled context, leaving the row never finalized. Record the cancellation as the node's failure at that exit, so a dependent that wins the race is skipped like any other dependent of a failed node. The regression test pins GOMAXPROCS to 1, which makes the bad interleaving the usual one. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com> |
||
|---|---|---|
| .. | ||
| api | ||
| bridge | ||
| compose | ||
| dryrun | ||
| e2e | ||
| mocks | ||
| remote | ||
| utils | ||
| watch | ||