Skip to content

feat(integrations): apply data_collection cookie filtering to wsgi, starlette, litestar, starlite#6797

Open
ericapisani wants to merge 8 commits into
py-2584-update-wsgi-filter-headersfrom
py-2581-cookies
Open

feat(integrations): apply data_collection cookie filtering to wsgi, starlette, litestar, starlite#6797
ericapisani wants to merge 8 commits into
py-2584-update-wsgi-filter-headersfrom
py-2581-cookies

Conversation

@ericapisani

@ericapisani ericapisani commented Jul 10, 2026

Copy link
Copy Markdown
Member

Extends the granular cookie collection controls (data_collection.cookies)
to _wsgi_common, starlette, litestar, and starlite, matching the behavior
already used elsewhere. Falls back to should_send_default_pii() when
data_collection is not configured for cookies.

HTTP "Cookie" and "set-cookie" headers will continue to be completely filtered
with the "[Filtered]" value.

Fixes PY-2581
Fixes #6741

…tarlette, litestar, starlite

Extends the granular cookie collection controls (data_collection.cookies)
to _wsgi_common, starlette, litestar, and starlite, matching the behavior
already used elsewhere. Falls back to should_send_default_pii() when
data_collection is not configured for cookies.

HTTP "Cookie" and "set-cookie" headers will continue to be completely filtered
with the "[Filtered]" value.

Fixes PY-2581
Fixes #6741
@linear-code

linear-code Bot commented Jul 10, 2026

Copy link
Copy Markdown

PY-2581

request_info = event.get("request", {})
if info:
if "cookies" in info and should_send_default_pii():
if "cookies" in info:

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

the should_send_default_pii check here is no longer needed since this check happens within StarletteRequestExtractor

@ericapisani ericapisani marked this pull request as ready for review July 10, 2026 15:20
@ericapisani ericapisani requested a review from a team as a code owner July 10, 2026 15:20
Comment thread sentry_sdk/integrations/starlette.py
@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

89765 passed | ❌ 88 failed | ⏭️ 6213 skipped | Total: 96066 | Pass Rate: 93.44% | Execution Time: 312m 59s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -2021
Passed Tests 📉 -2020
Failed Tests 📈 +88
Skipped Tests 📉 -89

➕ New Tests (88)

View new tests
  • test_sensitive_header_passthrough_with_pii_span_streaming[enabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[disabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_off_does_not_add_headers]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_terms_that_do_not_appear]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_sensitive_terms_even_when_provided_by_user]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_does_not_redact_provided_term]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_deny_list_redacts_sensitive_terms_when_provided_by_user]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_cookie_is_always_redacted_even_when_allow_listed]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[enabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[disabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_off_does_not_add_headers]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_terms_that_do_not_appear]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_sensitive_terms_even_when_provided_by_user]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_does_not_redact_provided_term]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_deny_list_redacts_sensitive_terms_when_provided_by_user]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_cookie_is_always_redacted_even_when_allow_listed]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[enabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[disabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_off_does_not_add_headers]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_terms_that_do_not_appear]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_sensitive_terms_even_when_provided_by_user]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_does_not_redact_provided_term]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_deny_list_redacts_sensitive_terms_when_provided_by_user]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_cookie_is_always_redacted_even_when_allow_listed]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[enabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[disabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_off_does_not_add_headers]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_terms_that_do_not_appear]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_sensitive_terms_even_when_provided_by_user]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_does_not_redact_provided_term]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_deny_list_redacts_sensitive_terms_when_provided_by_user]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_cookie_is_always_redacted_even_when_allow_listed]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[enabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[disabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_off_does_not_add_headers]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_terms_that_do_not_appear]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_sensitive_terms_even_when_provided_by_user]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_does_not_redact_provided_term]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_deny_list_redacts_sensitive_terms_when_provided_by_user]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_cookie_is_always_redacted_even_when_allow_listed]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[enabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[disabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_off_does_not_add_headers]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_terms_that_do_not_appear]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_sensitive_terms_even_when_provided_by_user]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_does_not_redact_provided_term]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_deny_list_redacts_sensitive_terms_when_provided_by_user]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_cookie_is_always_redacted_even_when_allow_listed]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-enabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-disabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_off_does_not_add_headers]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_redacts_terms_that_do_not_appear]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_redacts_sensitive_terms_even_when_provided_by_user]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_does_not_redact_provided_term]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_deny_list_redacts_sensitive_terms_when_provided_by_user]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_cookie_is_always_redacted_even_when_allow_listed]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-enabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-disabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_off_does_not_add_headers]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_redacts_terms_that_do_not_appear]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_redacts_sensitive_terms_even_when_provided_by_user]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_does_not_redact_provided_term]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_deny_list_redacts_sensitive_terms_when_provided_by_user]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_cookie_is_always_redacted_even_when_allow_listed]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[enabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[disabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_off_does_not_add_headers]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_terms_that_do_not_appear]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_sensitive_terms_even_when_provided_by_user]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_does_not_redact_provided_term]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_deny_list_redacts_sensitive_terms_when_provided_by_user]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_cookie_is_always_redacted_even_when_allow_listed]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-enabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-disabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_off_does_not_add_headers]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_redacts_terms_that_do_not_appear]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_redacts_sensitive_terms_even_when_provided_by_user]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_does_not_redact_provided_term]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_deny_list_redacts_sensitive_terms_when_provided_by_user]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_cookie_is_always_redacted_even_when_allow_listed]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-enabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-disabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_off_does_not_add_headers]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_redacts_terms_that_do_not_appear]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_redacts_sensitive_terms_even_when_provided_by_user]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_does_not_redact_provided_term]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_deny_list_redacts_sensitive_terms_when_provided_by_user]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing
  • test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_cookie_is_always_redacted_even_when_allow_listed]
    • File: tests.integrations.aiohttp.test_aiohttp
    • Status: ❌ Failing

❌ Failed Tests

test_sensitive_header_passthrough_with_pii_span_streaming[enabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.10-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[disabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.10-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_off_does_not_add_headers]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.10-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_terms_that_do_not_appear]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.10-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_sensitive_terms_even_when_provided_by_user]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.10-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_does_not_redact_provided_term]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.10-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_deny_list_redacts_sensitive_terms_when_provided_by_user]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.10-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_cookie_is_always_redacted_even_when_allow_listed]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.10-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[enabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.12-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[disabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.12-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_off_does_not_add_headers]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.12-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_terms_that_do_not_appear]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.12-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_sensitive_terms_even_when_provided_by_user]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.12-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_does_not_redact_provided_term]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.12-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_deny_list_redacts_sensitive_terms_when_provided_by_user]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.12-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_cookie_is_always_redacted_even_when_allow_listed]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.12-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[enabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.13-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[disabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.13-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_off_does_not_add_headers]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.13-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_terms_that_do_not_appear]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.13-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_sensitive_terms_even_when_provided_by_user]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.13-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_does_not_redact_provided_term]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.13-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_deny_list_redacts_sensitive_terms_when_provided_by_user]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.13-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_cookie_is_always_redacted_even_when_allow_listed]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.13-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[enabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.13-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[disabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.13-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_off_does_not_add_headers]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.13-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_terms_that_do_not_appear]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.13-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_sensitive_terms_even_when_provided_by_user]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.13-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_does_not_redact_provided_term]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.13-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_deny_list_redacts_sensitive_terms_when_provided_by_user]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.13-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_cookie_is_always_redacted_even_when_allow_listed]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.13-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[enabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.14-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[disabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.14-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_off_does_not_add_headers]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.14-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_terms_that_do_not_appear]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.14-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_sensitive_terms_even_when_provided_by_user]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.14-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_does_not_redact_provided_term]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.14-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_deny_list_redacts_sensitive_terms_when_provided_by_user]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.14-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_cookie_is_always_redacted_even_when_allow_listed]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.14-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[enabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.14t-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[disabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.14t-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_off_does_not_add_headers]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.14t-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_terms_that_do_not_appear]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.14t-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_sensitive_terms_even_when_provided_by_user]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.14t-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_does_not_redact_provided_term]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.14t-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_deny_list_redacts_sensitive_terms_when_provided_by_user]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.14t-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_cookie_is_always_redacted_even_when_allow_listed]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.14t-aiohttp-v3.14.1
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-enabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.7-aiohttp-v3.4.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-disabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.7-aiohttp-v3.4.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_off_does_not_add_headers]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.7-aiohttp-v3.4.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_redacts_terms_that_do_not_appear]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.7-aiohttp-v3.4.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_redacts_sensitive_terms_even_when_provided_by_user]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.7-aiohttp-v3.4.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_does_not_redact_provided_term]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.7-aiohttp-v3.4.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_deny_list_redacts_sensitive_terms_when_provided_by_user]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.7-aiohttp-v3.4.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_cookie_is_always_redacted_even_when_allow_listed]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.7-aiohttp-v3.4.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-enabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.7-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-disabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.7-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_off_does_not_add_headers]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.7-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_redacts_terms_that_do_not_appear]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.7-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_redacts_sensitive_terms_even_when_provided_by_user]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.7-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_does_not_redact_provided_term]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.7-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_deny_list_redacts_sensitive_terms_when_provided_by_user]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.7-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_cookie_is_always_redacted_even_when_allow_listed]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.7-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[enabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.8-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[disabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.8-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_off_does_not_add_headers]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.8-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_terms_that_do_not_appear]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.8-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_redacts_sensitive_terms_even_when_provided_by_user]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.8-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_allow_list_does_not_redact_provided_term]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.8-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_deny_list_redacts_sensitive_terms_when_provided_by_user]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.8-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[data_collection_cookie_is_always_redacted_even_when_allow_listed]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.8-aiohttp-v3.10.11
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-enabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.8-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-disabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.8-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_off_does_not_add_headers]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.8-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_redacts_terms_that_do_not_appear]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.8-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_redacts_sensitive_terms_even_when_provided_by_user]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.8-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_does_not_redact_provided_term]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.8-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_deny_list_redacts_sensitive_terms_when_provided_by_user]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.8-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_cookie_is_always_redacted_even_when_allow_listed]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.8-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-enabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.9-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-disabled_send_default_pii_redacts_auth_header_due_to_data_collection_default_settings]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.9-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_off_does_not_add_headers]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.9-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_redacts_terms_that_do_not_appear]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.9-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_redacts_sensitive_terms_even_when_provided_by_user]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.9-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_allow_list_does_not_redact_provided_term]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.9-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_deny_list_redacts_sensitive_terms_when_provided_by_user]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.9-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

test_sensitive_header_passthrough_with_pii_span_streaming[pyloop-data_collection_cookie_is_always_redacted_even_when_allow_listed]

File: tests.integrations.aiohttp.test_aiohttp
Suite: py3.9-aiohttp-v3.7.4
Error: ValueError: not enough values to unpack (expected 2, got 1)

Stack Trace
tests/integrations/aiohttp/test_aiohttp.py:1404: in test_sensitive_header_passthrough_with_pii_span_streaming
    server_span, _client_segment = [item.payload for item in items]
E   ValueError: not enough values to unpack (expected 2, got 1)

✅ Patch coverage is 96.88%. Project has 2604 uncovered lines.
❌ Project coverage is 89.18%. Comparing base (base) to head (head).

Files with missing lines (3)
File Patch % Lines
sentry_sdk/integrations/starlette.py 90.00% ⚠️ 1 Missing and 2 partials
sentry_sdk/integrations/litestar.py 100.00% ⚠️ 1 partials
sentry_sdk/integrations/starlite.py 100.00% ⚠️ 1 partials
Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
- Coverage    89.74%    89.18%    -0.56%
==========================================
  Files          193       193         —
  Lines        23995     24059       +64
  Branches      8350      8398       +48
==========================================
+ Hits         21533     21455       -78
- Misses        2462      2604      +142
- Partials      1381      1375        -6

Generated by Codecov Action

…de is off

Previously the async request extractors attached an empty cookies dict
when the data_collection cookies mode was off, while sync route handlers
omitted it entirely. Make all integrations consistent by not attaching
the cookies field at all when filtering yields no cookies.

@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 620e222. Configure here.

Comment thread tests/integrations/tornado/test_tornado.py
@ericapisani ericapisani force-pushed the py-2584-update-wsgi-filter-headers branch from 951c408 to d717172 Compare July 14, 2026 17:43
…tarlette, litestar, starlite

Extends the granular cookie collection controls (data_collection.cookies)
to _wsgi_common, starlette, litestar, and starlite, matching the behavior
already used elsewhere. Falls back to should_send_default_pii() when
data_collection is not configured for cookies.

HTTP "Cookie" and "set-cookie" headers will continue to be completely filtered
with the "[Filtered]" value.

Fixes PY-2581
Fixes #6741
…de is off

Previously the async request extractors attached an empty cookies dict
when the data_collection cookies mode was off, while sync route handlers
omitted it entirely. Make all integrations consistent by not attaching
the cookies field at all when filtering yields no cookies.
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.

Create helper for scrubbing request cookies

1 participant