Skip to content

fix: eliminate data race in test helper and enforce race gate in CI#53

Open
pkkummermo wants to merge 2 commits into
mainfrom
fix/race-gate-and-ci-stabilization
Open

fix: eliminate data race in test helper and enforce race gate in CI#53
pkkummermo wants to merge 2 commits into
mainfrom
fix/race-gate-and-ci-stabilization

Conversation

@pkkummermo
Copy link
Copy Markdown
Owner

Summary

  • Remove shared err variable written across goroutines in HTTPTestUtil (start goroutine and shutdown caller both wrote to the same err)
  • Increase generalStartupTimeoutInMS from 1ms to 50ms to prevent flaky startup-timeout failures under race instrumentation
  • Add pull_request trigger and Go 1.24.x/1.25.x matrix to unit-test job
  • Add dedicated race-test job running go test -race on Go 1.25.x only
  • Align CI Go version and action versions to current baseline (1.25.x, actions/checkout@v4, actions/setup-go@v5)
  • Add CONTEXT.md capturing agreed domain language and quality policies

Verification

  • go test ./... passes
  • go test -race ./... passes

- Remove shared err variable written across goroutines in HTTPTestUtil
  (start goroutine and shutdown caller both wrote to the same err)
- Increase generalStartupTimeoutInMS from 1ms to 50ms to prevent flaky
  startup-timeout failures under race instrumentation
- Add pull_request trigger and Go 1.24.x/1.25.x matrix to unit-test job
- Add dedicated race-test job running go test -race on Go 1.25.x only
- Align CI Go version and action versions to current baseline (1.25.x,
  actions/checkout@v4, actions/setup-go@v5)
- Add CONTEXT.md capturing agreed domain language and quality policies
Comment thread .github/workflows/main.yml Fixed
…ntain permissions'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
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.

2 participants