| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…options Expose `trace_lifecycle` and `ignore_spans` as top-level `sentry_sdk.init()` parameters instead of requiring them under `_experiments`. The `_experiments` keys remain supported for backwards compatibility, but the top-level value now takes precedence: when both sources are set, `has_span_streaming_enabled` and `is_ignored_span` respect the top-level `trace_lifecycle` and fall back to `_experiments` only when it is unset. Add a validation warning when `ignore_spans` is set but span streaming is not enabled, since the option only takes effect in stream mode. Update the span-streaming docstrings to reference the new top-level configuration. Fixes PY-2609 Fixes #6820
Sorry, something went wrong.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit b96d65a. Configure here.
Sorry, something went wrong.
Codecov Results 📊✅ 91785 passed | ⏭️ 6302 skipped | Total: 98087 | Pass Rate: 93.58% | Execution Time: 314m 23s 📊 Comparison with Base Branch
All tests are passing successfully. ✅ Patch coverage is 100.00%. Project has 2434 uncovered lines. @@ Coverage Diff @@
## main #PR +/-##
==========================================
+ Coverage 89.80% 89.82% +0.02%
==========================================
Files 193 193 —
Lines 23898 23905 +7
Branches 8258 8262 +4
==========================================
+ Hits 21461 21471 +10
- Misses 2437 2434 -3
- Partials 1353 1351 -2Generated by Codecov Action |
Sorry, something went wrong.
An explicit top-level ignore_spans=[] was treated as unset, letting _experiments rules leak through. Use an is-not-None check so top-level config wins whenever provided, including an empty list meant to disable ignoring.
…options (getsentry#6821) Expose `trace_lifecycle` and `ignore_spans` as top-level `sentry_sdk.init()` parameters instead of requiring them under `_experiments`. The `_experiments` keys remain supported for backwards compatibility, but the top-level value now takes precedence: when both sources are set, `has_span_streaming_enabled` and `is_ignored_span` respect the top-level `trace_lifecycle` and fall back to `_experiments` only when it is unset. Add a validation warning when `ignore_spans` is set but span streaming is not enabled, since the option only takes effect in stream mode. Update the span-streaming docstrings to reference the new top-level configuration. Fixes PY-2609 Fixes getsentry#6820
| Back | FazBrowse Home | New Git URL |
Expose trace_lifecycle and ignore_spans as top-level sentry_sdk.init()
parameters instead of requiring them under _experiments. The
_experiments keys remain supported for backwards compatibility, but the
top-level value now takes precedence: when both sources are set,
has_span_streaming_enabled and is_ignored_span respect the top-level
trace_lifecycle and fall back to _experiments only when it is unset.
Add a validation warning when ignore_spans is set but span streaming is
not enabled, since the option only takes effect in stream mode. Update the
span-streaming docstrings to reference the new top-level configuration.
Fixes PY-2609
Fixes #6820