Open
Description
Bug description
When testing a fresh build of latest main
and browsing the different sections of the frontend, etc., a few race conditions are reported by the race detector from time to time.
This seems to be related to the telemetry
package and a few methods that reference the activeUser
object and others.
Expected behavior
Should be good to keep it consistent to avoid future errors or bugs.
How to reproduce
- Build and run a fresh install of signoz
- Signup and start browsing the dashboard (e.g. go from Home to Metrics, then Metrics to Services, etc. a few times).
- The races will show up from time to time.
Version information
- Signoz version: latest
main
- Browser version: Chrome
- Your OS and version: Macbook
- Your CPU Architecture(ARM/Intel): ARM
Additional context
Race detector output attached.