Skip to content

chore(litellm): Remove transaction-based tracing - #7379

Open
alexander-alderman-webb wants to merge 4 commits into
major/3.0from
webb/litellm/remove-transactions
Open

chore(litellm): Remove transaction-based tracing#7379
alexander-alderman-webb wants to merge 4 commits into
major/3.0from
webb/litellm/remove-transactions

Conversation

@alexander-alderman-webb

Copy link
Copy Markdown
Contributor

Description

Remove branches for the static trace lifecycle.
Also remove manual tracing API calls in tests, as the outer transaction is no longer needed.

Issues

Reminders

@alexander-alderman-webb
alexander-alderman-webb marked this pull request as ready for review September 4, 2026 10:57
@alexander-alderman-webb
alexander-alderman-webb requested a review from a team as a code owner September 4, 2026 10:57

@sentrivana sentrivana left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

:tears-of-joy:

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 4c4dd89. Configure here.

Comment thread tests/integrations/litellm/test_litellm.py
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

88055 passed | ❌ 2 failed | ⏭️ 4112 skipped | Total: 92169 | Pass Rate: 95.54% | Execution Time: 276m 26s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -45537
Passed Tests 📉 -42541
Failed Tests 📈 +2
Skipped Tests 📉 -2998

➕ New Tests (2)

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

❌ Failed Tests

test_cache_spans_decorator

File: tests.integrations.django.test_cache_module
Suite: py3.12-django-v6.1
Error: tests/integrations/django/test_cache_module.py:282: 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:282: in test_cache_spans_decorator
    assert not spans[0]["attributes"]["cache.hit"]
E   assert not True

test_cache_spans_decorator

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

✅ Patch coverage is 100.00%. Project has 2268 uncovered lines.
✅ Project coverage is 90.32%. Comparing base (5516a30) to head (db62e48).

Coverage diff
@@            Coverage Diff             @@
##        master       #PR       +/-##
==========================================
+ Coverage    90.24%    90.32%    +0.08%
==========================================
  Files          193       185        -8
  Lines        25724     23434     -2290
  Branches      9504      8586      -918
==========================================
+ Hits         23214     21166     -2048
- Misses        2510      2268      -242
- Partials      1435      1361       -74

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