| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…ent span (django) When span streaming is enabled and there is no current span, Django integrations should not create new root segments for child-span operations. This adds a guard check using `sentry_sdk.traces.get_current_span()` before creating spans in the streaming path. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Codecov Results 📊✅ 91200 passed | ⏭️ 6302 skipped | Total: 97502 | Pass Rate: 93.54% | Execution Time: 314m 16s 📊 Comparison with Base Branch
✨ No test changes detected All tests are passing successfully. ❌ Patch coverage is 58.33%. Project has 2454 uncovered lines.
@@ Coverage Diff @@
## main #PR +/-##
==========================================
- Coverage 89.77% 89.74% -0.03%
==========================================
Files 193 193 —
Lines 23898 23922 +24
Branches 8258 8282 +24
==========================================
+ Hits 21454 21468 +14
- Misses 2444 2454 +10
- Partials 1353 1363 +10Generated by Codecov Action |
Sorry, something went wrong.
The no-current-span guards in signal handlers now correctly prevent orphan root segments for GET requests (not in http_methods_to_capture), reducing the total span count and shifting the http.server span indices. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ent span (django) (getsentry#6809) ## Summary - When span streaming is enabled and there is no current span, Django integrations should not create new root segments for child-span operations - Adds a `sentry_sdk.traces.get_current_span() is None` guard before creating spans in the streaming path - Affected: django init, asgi, caching, middleware, signals_handlers, tasks, templates, views Part of getsentry#6819 --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
| Back | FazBrowse Home | New Git URL |
Summary
Part of #6819