Skip to content
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

Use SeededRandomIdGenerator by default to prevent interference from random.seed #457

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

alexmojaki
Copy link
Contributor

Fixes #437. It was closed already, but the request was reasonable, and I recently saw very different spans having the same trace and span ID in user data which was concerning. My best guess is that this was caused by a call to random.seed, so this should prevent that.

Copy link

codecov bot commented Sep 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (06ec795) to head (8e5845d).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #457   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          131       131           
  Lines         9754      9759    +5     
  Branches      1285      1286    +1     
=========================================
+ Hits          9754      9759    +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

cloudflare-workers-and-pages bot commented Sep 27, 2024

Deploying logfire-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8e5845d
Status: ✅  Deploy successful!
Preview URL: https://8e41fc2d.logfire-docs.pages.dev
Branch Preview URL: https://alex-seededrandomidgenerator.logfire-docs.pages.dev

View logs

@alexmojaki alexmojaki requested a review from Kludex September 27, 2024 11:51
@alexmojaki alexmojaki merged commit e6b0f8c into main Sep 27, 2024
11 checks passed
@alexmojaki alexmojaki deleted the alex/SeededRandomIdGenerator-default branch September 27, 2024 11:59
petyosi pushed a commit that referenced this pull request Oct 1, 2024
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.

Spans overlap
2 participants