Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Refactor coder server shutdown procedure and allow TestServer tests to pass goleaks detection #3245

Closed
@mafredri

Description

@mafredri

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
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions