From c51ec5f75284bdd1d0fc3a3e66278a312422c4c3 Mon Sep 17 00:00:00 2001 From: agent-company Date: Sat, 28 Mar 2026 06:05:37 +0000 Subject: [PATCH] chore: add -race flag to CI test step for concurrency bug detection The aggregation layer uses sync.RWMutex and errgroup for concurrent API fan-out. Enable the Go race detector in CI to catch data races early. Closes leeworks-agents/gitea-mobile#103 Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 24f5b3e..a0a5114 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -16,7 +16,7 @@ jobs: go-version: '1.22' - name: Run tests - run: go test ./... + run: go test -race ./... build: runs-on: ubuntu-latest -- 2.52.0