Skip to content

CI pipeline: insights: codeinsights-db container ideally would be shut down after tests finish

Created by: slimsag

TimescaleDB must be started in the background for code insights Go tests to run. This happens here:

https://sourcegraph.com/github.com/sourcegraph/sourcegraph@4db23a3c1cd6ce1e3b1aad01dea20e0a6f670418/-/blob/dev/ci/go-test.sh#L14

But we don't shut it down after, so it continus to run on our buildkite agents. As far as I know, this isn't a leak (it's not started multiple times or anything) but does mean other tests have less resources to work with.

Ideally, we shut it down once the go tests finish.