Race in Register...WithOptions due to un-protected map read
Groxx opened this issue · comments
cadence-client/internal/internal_worker.go
Line 557 in 451db6c
It's pretty clear when the addWorkflowFn call right below it uses a mutex:
cadence-client/internal/internal_worker.go
Lines 664 to 668 in 451db6c
This is also happening in the equivalent Activity methods:
cadence-client/internal/internal_worker.go
Line 598 in 451db6c
vs
cadence-client/internal/internal_worker.go
Lines 712 to 716 in 451db6c
Can I request adding more t.Parallel()
tests to catch this kind of thing up-front?