Skip to content

Remove double record exception - #712

Merged
alexmojaki merged 11 commits into
mainfrom
remove-double-record-exception
Jan 3, 2025
Merged

alexmojaki merged 11 commits into
mainfrom
remove-double-record-exception

Conversation

@dmontagu

@dmontagu dmontagu commented Dec 20, 2024 •

Copy link
Copy Markdown
Contributor

We are currently double-recording exceptions in LogfireSpan's due to some convoluted logic that this PR simplifies

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Dec 20, 2024 •

Copy link
Copy Markdown

Deploying logfire-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: a07384e
Status: ✅  Deploy successful!
Preview URL: https://6504c716.logfire-docs.pages.dev
Branch Preview URL: https://remove-double-record-excepti.logfire-docs.pages.dev

View logs

Comment thread logfire/_internal/main.py Resolved
Comment thread logfire/_internal/main.py Resolved
Comment thread logfire/_internal/main.py Resolved
Comment thread logfire/_internal/tracer.py Resolved
Comment thread tests/test_logfire.py Resolved
@codecov

codecov Bot commented Dec 20, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (80779f3) to head (a07384e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #712   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          137       137           
  Lines        10911     10925   +14     
  Branches       781       781           
=========================================
+ Hits         10911     10925   +14     

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

Comment thread logfire/_internal/main.py Resolved
Comment thread logfire/_internal/tracer.py Resolved
@dmontagu

dmontagu commented Jan 2, 2025

Copy link
Copy Markdown
Contributor Author

@alexmojaki I see you approved this, but just to confirm, am I good to merge this now? I can make additional changes if there's anything left you prefer

Comment thread logfire/_internal/tracer.py Resolved
Comment thread tests/test_logfire.py Resolved
@alexmojaki

Copy link
Copy Markdown
Contributor

Thanks!

@alexmojaki
alexmojaki enabled auto-merge (squash) January 3, 2025 14:29
@alexmojaki
alexmojaki merged commit 1382f17 into main Jan 3, 2025
@alexmojaki
alexmojaki deleted the remove-double-record-exception branch January 3, 2025 14:30
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