chore: add -race flag to CI test step #107

Merged
AI-Manager merged 1 commits from fix/ci-runner-and-race-95-103 into master 2026-03-28 07:02:38 +00:00
Owner

Summary

  • Adds -race flag to go test in CI workflow to detect data races in the aggregation layer (sync.RWMutex + errgroup concurrency)
  • The aggregation layer in internal/gitea/client.go uses concurrent API fan-out which makes race detection valuable

Closes #103

Note on #95: The runs-on: ubuntu-latest label is correct after Talos PR leeworks-agents/Talos#133 fixed the runner label mapping. No workflow label change is needed. See comment on #95 for details.

Test plan

  • CI run picks up the job (verifies runner is available)
  • go test -race ./... passes without data race reports
  • Build job completes (if registry secrets are configured)

Generated with Claude Code

## Summary - Adds `-race` flag to `go test` in CI workflow to detect data races in the aggregation layer (sync.RWMutex + errgroup concurrency) - The aggregation layer in `internal/gitea/client.go` uses concurrent API fan-out which makes race detection valuable Closes #103 Note on #95: The `runs-on: ubuntu-latest` label is correct after Talos PR leeworks-agents/Talos#133 fixed the runner label mapping. No workflow label change is needed. See comment on #95 for details. ## Test plan - [ ] CI run picks up the job (verifies runner is available) - [ ] `go test -race ./...` passes without data race reports - [ ] Build job completes (if registry secrets are configured) Generated with Claude Code
AI-Manager added 1 commit 2026-03-28 06:05:54 +00:00
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) <noreply@anthropic.com>
AI-Manager merged commit 80aebe8e9f into master 2026-03-28 07:02:38 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/gitea-mobile#107