Skip to content

chore: Adapt even more tests - #7462

Merged
sentrivana merged 6 commits into
major/3.0from
ivana/major/more-cleanup-2
Sep 11, 2026
Merged

sentrivana merged 6 commits into
major/3.0from
ivana/major/more-cleanup-2

Conversation

@sentrivana

@sentrivana sentrivana commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Remove tests testing implementation details of the old tracing system. Adapt tests that still make sense in span streaming. Remove tests that already have a streaming version.

@github-actions

github-actions Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

68079 passed | ⏭️ 3315 skipped | Total: 71394 | Pass Rate: 95.36% | Execution Time: 211m 23s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -67572
Passed Tests 📉 -63756
Failed Tests
Skipped Tests 📉 -3816

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 2329 uncovered lines.
❌ Project coverage is 89.58%. Comparing base (4c1fb64) to head (d976c51).

Coverage diff
@@            Coverage Diff             @@
##        master       #PR       +/-##
==========================================
- Coverage    90.21%    89.58%    -0.63%
==========================================
  Files          193       181       -12
  Lines        25790     22342     -3448
  Branches      9532      8120     -1412
==========================================
+ Hits         23265     20013     -3252
- Misses        2525      2329      -196
- Partials      1432      1331      -101

Generated by Codecov Action

@sentrivana sentrivana changed the title Ivana/major/more cleanup 2 chore: Adapt even more tests Sep 11, 2026
Comment thread sentry_sdk/traces.py

def __repr__(self) -> str:
return f"<{self.__class__.__name__}(sampled={self.sampled})>"
return f"<{self.__class__.__name__}(name={self.name}, sampled={self.sampled})>"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that no-op spans optionally accept a name, adding it to __repr__ makes debugging easier.

@sentrivana
sentrivana marked this pull request as ready for review September 11, 2026 08:23
@sentrivana
sentrivana requested a review from a team as a code owner September 11, 2026 08:23
@sentrivana
sentrivana merged commit 1f105b8 into major/3.0 Sep 11, 2026
149 checks passed
@sentrivana
sentrivana deleted the ivana/major/more-cleanup-2 branch September 11, 2026 08:24
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