I just had a quick question: How are containers, which are bound as services, ultimately terminated?
Is it via a particular signal? i.e. SIGTERM or SIGKILL?
I ask as I have been experimenting with collecting the new cover directory data with Go 1.20.
My foreground container is my test suite and my service is bound to it.
I want to collect up the coverage data from this bound container.
I have found that the cover metadata is in my resulting cache volume, however, not the counters (the useful bit).
Reading the docs on the new cover features, it says that cover data will only be output when the program returns from main or os.Exit is called. My latest suspicion is to do with how Dagger may be terminating these containers.