Skip to content

fix(race): add lock protection to _has_otel_data#522

Open
dumko2001 wants to merge 1 commit intovivekchand:mainfrom
dumko2001:fix-016
Open

fix(race): add lock protection to _has_otel_data#522
dumko2001 wants to merge 1 commit intovivekchand:mainfrom
dumko2001:fix-016

Conversation

@dumko2001
Copy link
Copy Markdown
Contributor

Summary

Add lock protection to _has_otel_data global variable access.

Changes

  • Add lock around read/write operations on _has_otel_data
  • Prevents race conditions in telemetry detection

Testing

tests/test_race_has_otel_data.py - verifies thread-safe access

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.

1 participant