Skip to content

ref(asyncio): Use data_collection in tests - #7690

Merged
sentrivana merged 1 commit into
major/3.0from
ivana/major/asyncio
Sep 24, 2026
Merged

sentrivana merged 1 commit into
major/3.0from
ivana/major/asyncio

Conversation

@sentrivana

Copy link
Copy Markdown
Contributor

@linear-code

linear-code Bot commented Sep 23, 2026

Copy link
Copy Markdown

PY-2850

@sentrivana
sentrivana marked this pull request as ready for review September 23, 2026 14:08
@sentrivana
sentrivana requested a review from a team as a code owner September 23, 2026 14:08
@github-actions

Copy link
Copy Markdown
Contributor

Codecov Results 📊

63967 passed | ❌ 2 failed | ⏭️ 2899 skipped | Total: 66868 | Pass Rate: 95.66% | Execution Time: 184m 7s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -38533
Passed Tests 📉 -34955
Failed Tests 📈 +2
Skipped Tests 📉 -3580

➕ New Tests (2)

View new tests
  • test_input_attributes_nonstreaming_chat[True-messages0-expected_system_instructions0-expected_input_messages0]
    • File: tests.integrations.mistral.test_mistral
    • Status: ❌ Failing
  • test_cache_spans_item_size
    • File: tests.integrations.django.test_cache_module
    • Status: ❌ Failing

❌ Failed Tests

test_input_attributes_nonstreaming_chat[True-messages0-expected_system_instructions0-expected_input_messages0]

File: tests.integrations.mistral.test_mistral
Suite: py3.10-mistral-v2.0.5
Error: KeyError: 140420636872704

Stack Trace
tests/integrations/mistral/test_mistral.py:380: in test_input_attributes_nonstreaming_chat
    sentry_init(
tests/conftest.py:349: in inner
    client = sentry_sdk.Client(*a, **kw)
sentry_sdk/client.py:278: in __init__
    self._init_impl()
sentry_sdk/client.py:428: in _init_impl
    self.integrations = setup_integrations(
sentry_sdk/integrations/__init__.py:216: in setup_integrations
    for integration_cls in iter_default_integrations(
sentry_sdk/integrations/__init__.py:44: in iter_default_integrations
    yield getattr(import_module(module), cls)
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1024: in _find_and_load
    ???
<frozen importlib._bootstrap>:171: in __enter__
    ???
<frozen importlib._bootstrap>:123: in acquire
    ???
E   KeyError: 140420636872704

test_cache_spans_item_size

File: tests.integrations.django.test_cache_module
Suite: py3.14-django-v5.2.17
Error: tests/integrations/django/test_cache_module.py:546: 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:546: in test_cache_spans_item_size
    assert not spans[0]["attributes"]["cache.hit"]
E   assert not True

✅ Patch coverage is 100.00%. Project has 2056 uncovered lines.
❌ Project coverage is 90.21%. Comparing base (e9ab737) to head (4fde4f9).

Coverage diff
@@            Coverage Diff             @@
##        master       #PR       +/-##
==========================================
- Coverage    90.28%    90.21%    -0.07%
==========================================
  Files          193       179       -14
  Lines        25729     20998     -4731
  Branches      9496      7578     -1918
==========================================
+ Hits         23228     18942     -4286
- Misses        2501      2056      -445
- Partials      1432      1196      -236

Generated by Codecov Action

@sentrivana
sentrivana merged commit 09c4701 into major/3.0 Sep 24, 2026
144 of 147 checks passed
@sentrivana
sentrivana deleted the ivana/major/asyncio branch September 24, 2026 07:47
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.

3 participants