Closed
Description
Currently there are multiple ways in which the Coder server can exit and not all of them go through the same shutdown procedure. There are also cases where an error in one of the steps results skipping some of the shutdown steps.
There are also certain services started where context propagation is not guaranteed to trigger, depending on which error shut down the server.
We should standardize the server shutdown procedure and ensure that all TestServer
cases pass goleaks
.
Metadata
Metadata
Assignees
Labels
No labels