Skip to content

chore: Make all tests use span streaming - #7466

Merged
sentrivana merged 5 commits into
major/3.0from
ivana/major/last-tests
Sep 11, 2026
Merged

chore: Make all tests use span streaming#7466
sentrivana merged 5 commits into
major/3.0from
ivana/major/last-tests

Conversation

@sentrivana

@sentrivana sentrivana commented Sep 11, 2026

Copy link
Copy Markdown
Contributor
  • add trace_lifecycle="stream" to all tests that set a traces_sample_rate or traces_sampler
  • remove more duplicated tests
  • switch all tracing API in tests to span streaming

@github-actions

github-actions Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

67083 passed | ❌ 1 failed | ⏭️ 3304 skipped | Total: 70388 | Pass Rate: 95.3% | Execution Time: 214m 2s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -68578
Passed Tests 📉 -64752
Failed Tests 📈 +1
Skipped Tests 📉 -3827

➕ New Tests (1)

View new tests
  • test_cache_spans_item_size
    • File: tests.integrations.django.test_cache_module
    • Status: ❌ Failing

❌ Failed Tests

test_cache_spans_item_size

File: tests.integrations.django.test_cache_module
Suite: py3.14-django-v6.1
Error: tests/integrations/django/test_cache_module.py:525: in test_cache_spans_item_size assert not spans[0]["attributes"]["cache.hit"] E assert not True

Stack Trace
tests/integrations/django/test_cache_module.py:525: in test_cache_spans_item_size
    assert not spans[0]["attributes"]["cache.hit"]
E   assert not True

✅ Patch coverage is 100.00%. Project has 2720 uncovered lines.
❌ Project coverage is 87.83%. Comparing base (c24a218) to head (69718a5).

Coverage diff
@@            Coverage Diff             @@
##        master       #PR       +/-##
==========================================
- Coverage    90.21%    87.83%    -2.38%
==========================================
  Files          193       181       -12
  Lines        25790     22342     -3448
  Branches      9532      8120     -1412
==========================================
+ Hits         23265     19622     -3643
- Misses        2525      2720      +195
- Partials      1432      1239      -193

Generated by Codecov Action

@sentrivana
sentrivana marked this pull request as ready for review September 11, 2026 09:33
@sentrivana
sentrivana requested a review from a team as a code owner September 11, 2026 09:33
@sentrivana
sentrivana merged commit aedc9f5 into major/3.0 Sep 11, 2026
147 of 149 checks passed
@sentrivana
sentrivana deleted the ivana/major/last-tests branch September 11, 2026 09:45
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