Closed
Description
See https://github.com/coder/coder/actions/runs/9466692800/job/26078961476?pr=13537
=== FAIL: enterprise/wsproxy TestWorkspaceProxyDERPMeshProbe/ProbeOK
WARNING: DATA RACE
Write at 0x00c03865c0d0 by goroutine 8583:
github.com/coder/coder/v2/enterprise/wsproxy.(*Server).pingSiblingReplicas()
/home/runner/actions-runner/_work/coder/coder/enterprise/wsproxy/wsproxy.go:465 +0x1d8
github.com/coder/coder/v2/enterprise/wsproxy.(*Server).handleRegister.gowrap1()
/home/runner/actions-runner/_work/coder/coder/enterprise/wsproxy/wsproxy.go:455 +0x5d
Previous read at 0x00c03865c0d0 by goroutine 7054:
github.com/coder/coder/v2/enterprise/wsproxy.(*Server).pingSiblingReplicas()
/home/runner/actions-runner/_work/coder/coder/enterprise/wsproxy/wsproxy.go:468 +0x287
github.com/coder/coder/v2/enterprise/wsproxy.(*Server).handleRegister.gowrap1()
/home/runner/actions-runner/_work/coder/coder/enterprise/wsproxy/wsproxy.go:455 +0x5d
WARNING: DATA RACE
Write at 0x00c018fbd46f by goroutine 8583:
github.com/coder/coder/v2/enterprise/wsproxy_test.TestWorkspaceProxyDERPMeshProbe.func3.2()
/home/runner/actions-runner/_work/coder/coder/enterprise/wsproxy/wsproxy_test.go:658 +0x9a
github.com/coder/coder/v2/enterprise/wsproxy.(*Server).pingSiblingReplicas()
/home/runner/actions-runner/_work/coder/coder/enterprise/wsproxy/wsproxy.go:468 +0x316
github.com/coder/coder/v2/enterprise/wsproxy.(*Server).handleRegister.gowrap1()
/home/runner/actions-runner/_work/coder/coder/enterprise/wsproxy/wsproxy.go:455 +0x5d
Previous write at 0x00c018fbd46f by goroutine 7054:
github.com/coder/coder/v2/enterprise/wsproxy_test.TestWorkspaceProxyDERPMeshProbe.func3.2()
/home/runner/actions-runner/_work/coder/coder/enterprise/wsproxy/wsproxy_test.go:658 +0x9a
github.com/coder/coder/v2/enterprise/wsproxy.(*Server).pingSiblingReplicas()
/home/runner/actions-runner/_work/coder/coder/enterprise/wsproxy/wsproxy.go:468 +0x316
github.com/coder/coder/v2/enterprise/wsproxy.(*Server).handleRegister.gowrap1()
/home/runner/actions-runner/_work/coder/coder/enterprise/wsproxy/wsproxy.go:455 +0x5d