Skip to content

Race conditions in the telemetry package #8156

Open
@matiasinsaurralde

Description

@matiasinsaurralde

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

  1. Build and run a fresh install of signoz
  2. Signup and start browsing the dashboard (e.g. go from Home to Metrics, then Metrics to Services, etc. a few times).
  3. 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.

race1.txt

Thank you for your bug report – we love squashing them!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions