Skip to content

fix(litestar): Gate request body collection on data_collection experiment - #7259

Merged
ericapisani merged 1 commit into
py-2419-request-body-awsfrom
py-2419-request-body-litestar
Aug 26, 2026
Merged

fix(litestar): Gate request body collection on data_collection experiment#7259
ericapisani merged 1 commit into
py-2419-request-body-awsfrom
py-2419-request-body-litestar

Conversation

@ericapisani

Copy link
Copy Markdown
Member

Only attach request body data to events when "incoming_request" is present in the data_collection.http_bodies experiment option (or when the experiment is unset, preserving default behavior).

Refs PY-2419
Refs #6283

…ment

Only attach request body data to events when "incoming_request" is present
in the data_collection.http_bodies experiment option (or when the experiment
is unset, preserving default behavior).

Refs PY-2419
Refs #6283
@ericapisani
ericapisani requested a review from a team as a code owner August 26, 2026 13:28
@linear-code

linear-code Bot commented Aug 26, 2026

Copy link
Copy Markdown

PY-2419

@github-actions

Copy link
Copy Markdown
Contributor

Codecov Results 📊

118070 passed | ⏭️ 6732 skipped | Total: 124802 | Pass Rate: 94.61% | Execution Time: 412m 32s

📊 Comparison with Base Branch

Metric Change
Total Tests 📈 +401
Passed Tests 📈 +403
Failed Tests 📉 -2
Skipped Tests

➖ Removed Tests (2)

View removed tests
  • test_continuous_profiler_auto_start_and_stop_sampled[non-experiment-gevent]
    • File: tests.profiler.test_continuous_profiler
  • test_continuous_profiler_auto_start_and_stop_sampled_span_streaming[experiment-gevent]
    • File: tests.profiler.test_continuous_profiler

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 2490 uncovered lines.
✅ Project coverage is 90.22%. Comparing base (base) to head (head).

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    90.22%    90.22%        —%
==========================================
  Files          193       193         —
  Lines        25435     25466       +31
  Branches      9346      9372       +26
==========================================
+ Hits         22947     22976       +29
- Misses        2488      2490        +2
- Partials      1434      1434         —

Generated by Codecov Action

@ericapisani
ericapisani merged commit 6875bb6 into master Aug 26, 2026
137 checks passed
@ericapisani
ericapisani deleted the py-2419-request-body-litestar branch August 26, 2026 16:19
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