Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
test: enable -race detector in Go test pipeline (WOR-61) (#4274)
Hzzzzzxb4c9e4423cd6
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 5aba5baf2f..13a8e99698 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -98,7 +98,7 @@ jobs:run: cd server && go run ./cmd/migrate up- name: Test- run: cd server && go test ./...+ run: cd server && go test -race ./...installer:# Stub-driven shell tests for scripts/install.sh. Kept off the heavydiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex b08a89693e..f65267380f 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -52,7 +52,7 @@ jobs:cache-dependency-path: server/go.sum- name: Run tests- run: cd server && go test ./...+ run: cd server && go test -race ./...release:needs: verifydiff --git a/Makefile b/Makefileindex 3aab24e1c1..444c6bd62d 100644--- a/Makefile+++ b/Makefile@@ -296,7 +296,7 @@ test: ## Run Go tests after ensuring the target DB exists and migrations are app$(REQUIRE_ENV)@bash scripts/ensure-postgres.sh "$(ENV_FILE)"cd server && go run ./cmd/migrate up- cd server && go test ./...+ cd server && go test -race ./...# Database##@ Databasediff --git a/server/internal/daemon/execenv/execenv_test.go b/server/internal/daemon/execenv/execenv_test.goindex 68740f691c..ea3fb04761 100644--- a/server/internal/daemon/execenv/execenv_test.go+++ b/server/internal/daemon/execenv/execenv_test.go@@ -4130,8 +4130,7 @@ func TestInjectRuntimeConfigIssueMetadataSectionScope(t *testing.T) {// workflow, so any reordering or accidental absorption of the codex// section would surface here.func TestInjectRuntimeConfigIssueMetadataCodexFormattingUnchanged(t *testing.T) {- t.Parallel()-+ // Not parallel: mutates the package-level runtimeGOOS.oldGOOS := runtimeGOOSt.Cleanup(func() { runtimeGOOS = oldGOOS })