Skip to content

Test major merge - #7730

Merged
sentrivana merged 7 commits into
major/3.0from
ivana/major/test-merge-5
Sep 28, 2026
Merged

sentrivana merged 7 commits into
major/3.0from
ivana/major/test-merge-5

Conversation

@sentrivana

Copy link
Copy Markdown
Contributor

No description provided.

As per https://github.com/getsentry/sentry-docs/pull/19189/changes, we
should unsample the trace/profile if there's an exception in the
user-provided `traces_sampler` or `profiles_sampler`.
Add a `typesafe_sdk` integration, the `typesafe` tox environment, and `typesafe_sdk` to the uv typing group.

Set the `gen_ai.provider.name`, `gen_ai.operation.name` and `gen_ai.request.model` attributes.
`sentry_sdk.get_client().flush()` -> `sentry_sdk.flush()`
@sentrivana
sentrivana force-pushed the ivana/major/test-merge-5 branch 3 times, most recently from 9e6e802 to b1f4c58 Compare September 28, 2026 12:36
Handle `Noul`, `Choice` and `Score` questions, including their dictionary forms.
@sentrivana
sentrivana force-pushed the ivana/major/test-merge-5 branch from b1f4c58 to dfef1b3 Compare September 28, 2026 12:57
@sentrivana
sentrivana merged commit dfef1b3 into major/3.0 Sep 28, 2026
141 of 144 checks passed
@sentrivana
sentrivana deleted the ivana/major/test-merge-5 branch September 28, 2026 13:02
@github-actions

Copy link
Copy Markdown
Contributor

Codecov Results 📊

✅ 62165 passed | ❌ 2 failed | ⏭️ 2906 skipped | Total: 65073 | Pass Rate: 95.53% | Execution Time: 172m 21s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -67244
Passed Tests 📉 -63036
Failed Tests 📈 +2
Skipped Tests 📉 -4210

➕ 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_decorator
    • 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: 140389042917376

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:217: 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: 140389042917376

test_cache_spans_decorator

File: tests.integrations.django.test_cache_module
Suite: py3.11-django-v4.2.30
Error: tests/integrations/django/test_cache_module.py:307: in test_cache_spans_decorator assert not spans[0]["attributes"]["cache.hit"] E assert not True

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

✅ Patch coverage is 96.03%. Project has 2059 uncovered lines.
❌ Project coverage is 90.21%. Comparing base (90addee) to head (dfef1b3).

Files with missing lines (1)
File Patch % Lines
sentry_sdk/integrations/typesafe.py 95.97% ⚠️ 5 Missing and 24 partials
Coverage diff
@@            Coverage Diff             @@
##        master       #PR       +/-##
==========================================
- Coverage    90.24%    90.21%    -0.03%
==========================================
  Files          195       179       -16
  Lines        26170     21041     -5129
  Branches      9738      7556     -2182
==========================================
+ Hits         23616     18982     -4634
- Misses        2554      2059      -495
- Partials      1477      1212      -265

Generated by Codecov Action

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