test: Add streaming logs tests#6880
Open
sentrivana wants to merge 1 commit into
Open
Conversation
sentrivana
marked this pull request as ready for review
July 24, 2026 11:44
Contributor
Codecov Results 📊✅ 96526 passed | ⏭️ 6344 skipped | Total: 102870 | Pass Rate: 93.83% | Execution Time: 344m 17s 📊 Comparison with Base Branch
All tests are passing successfully. ✅ Patch coverage is 100.00%. Project has 2510 uncovered lines. Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
+ Coverage 89.68% 89.68% —%
==========================================
Files 193 193 —
Lines 24330 24330 —
Branches 8578 8578 —
==========================================
+ Hits 21820 21820 —
- Misses 2510 2510 —
- Partials 1397 1397 —Generated by Codecov Action |
ericapisani
approved these changes
Jul 24, 2026
| sentry_init(enable_logs=True, traces_sample_rate=1.0, trace_lifecycle="stream") | ||
| items = capture_items("log") | ||
|
|
||
| with sentry_sdk.traces.start_span(name="test-transaction"): |
Member
There was a problem hiding this comment.
Should this maybe be called test-segment?
Suggested change
| with sentry_sdk.traces.start_span(name="test-transaction"): | |
| with sentry_sdk.traces.start_span(name="test-segment"): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adding streaming versions of relevant logs tests.
Issues
Part of #5395
Reminders
uv run ruff.feat:,fix:,ref:,meta:)