Ensure instance cleanup runs even when context is cancelled #254
Labels
backend/docker
applies to the docker backend provider
backend/gce
applies to the gce backend provider
backend/jupiterbrain
applies to the jupiterbrain backend provider
We use context cancellations for things like shutdown with SIGTERM and timeouts, but some log messages seem to indicate that this could mean that the instance shutdown we do to clean up the instance after a cancellation doesn't finish. We should ensure that a context cancellation would still allow this cleanup to run.
Backends to check:
The text was updated successfully, but these errors were encountered: