Skip to content

ci: add race detector, build and vet to tests#255

Open
samcm wants to merge 2 commits into
masterfrom
ci/add-govulncheck-and-race
Open

ci: add race detector, build and vet to tests#255
samcm wants to merge 2 commits into
masterfrom
ci/add-govulncheck-and-race

Conversation

@samcm

@samcm samcm commented Jun 12, 2026

Copy link
Copy Markdown
Member

Strengthens the test workflow to catch regressions:

  • Runs go build ./... and go vet ./... before tests.
  • Runs tests with the -race flag.

Enabling -race surfaced a real data race in the cache TestCallbacks test: the delete/add callbacks fire in their own goroutines, but the test read shared bool flags after a time.Sleep. The test now synchronizes on channels.

The govulncheck gate ships in the dependency-bump PR alongside the fixes that make it pass.

@samcm samcm changed the title ci: add govulncheck, race detector, build and vet ci: add race detector, build and vet to tests Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant