Handle destroy events in up monitor - #13988
Conversation
Signed-off-by: Ben Younes <2910651+ousamabenyounes@users.noreply.github.com>
|
Thanks a lot for digging into #13985 and for the clean regression test! Closing this one in favor of #13990 though — here is why. Handling only Unfortunately covering Thanks again for the contribution! |
What I did
Handle container
destroyevents in the attachedupmonitor sodocker compose upcan finish when an externally stopped project removes a container that never emitted adieevent.The monitor still uses
diefor exit status and restart detection;destroyonly removes the container from the tracked set so the monitor can terminate when the project is gone.Related issue
Fixes #13985
Test verification (RED -> GREEN)
RED on
origin/mainwith the new regression test only:GREEN on this branch:
Full local validation: