Skip to content

Bug fixes in telemetry #659

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 1, 2025
Merged

Bug fixes in telemetry #659

merged 2 commits into from
Aug 1, 2025

Conversation

saishreeeee
Copy link
Contributor

What type of PR is this?

  • Refactor
  • Feature
  • Bug Fix
  • Other

Description

The background flush thread crashed because it tried to call the _flush() method on NoopTelemetryClient objects, which didn't have one.

In the test in test_concurrent_telemetry.py:
The main thread ran assertions immediately after the network tasks completed, creating a race condition where their callbacks had not yet finished writing the results.

How is this tested?

  • Unit tests
  • E2E Tests
  • Manually
  • N/A

Related Tickets & Documents

Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com>
Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com>
@saishreeeee saishreeeee merged commit 2f8b1ab into main Aug 1, 2025
23 checks passed
@saishreeeee saishreeeee deleted the tele-fix branch August 1, 2025 08:12
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.

2 participants