Skip to content

ref(gcp)!: Drop send_default_pii support in request data collection - #7822

Open
ericapisani wants to merge 1 commit into
major/3.0from
py-2820-gcp-send-default-pii
Open

ericapisani wants to merge 1 commit into
major/3.0from
py-2820-gcp-send-default-pii

Conversation

@ericapisani

Copy link
Copy Markdown
Member

Always route the query string and request body through data_collection
instead of falling back to send_default_pii when data_collection is not
configured.

Update tests to drive behaviour through data_collection only.

Fixes PY-2820
Fixes #7591

Always route the query string and request body through `data_collection`
instead of falling back to `send_default_pii` when `data_collection` is not
configured.

Update tests to drive behaviour through `data_collection` only.

Fixes PY-2820
Fixes #7591
@ericapisani
ericapisani requested a review from a team as a code owner October 1, 2026 17:51
@linear-code

linear-code Bot commented Oct 1, 2026

Copy link
Copy Markdown

PY-2820

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

✅ 58218 passed | ⏭️ 2727 skipped | Total: 60945 | Pass Rate: 95.53% | Execution Time: 163m 18s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -78374
Passed Tests 📉 -73880
Failed Tests 📉 -1
Skipped Tests 📉 -4493

➖ Removed Tests (1)

View removed tests
  • test_cache_spans_item_size[True]
    • File: tests.integrations.django.test_cache_module

All tests are passing successfully.

❌ Patch coverage is 11.11%. Project has 2045 uncovered lines.
❌ Project coverage is 90.19%. Comparing base (3fbf06b) to head (f1d9c98).

Files with missing lines (1)
File Patch % Lines
sentry_sdk/integrations/gcp.py 11.11% ⚠️ 8 Missing
Coverage diff
@@            Coverage Diff             @@
##        master       #PR       +/-##
==========================================
- Coverage    90.34%    90.19%    -0.15%
==========================================
  Files          202       185       -17
  Lines        26551     20852     -5699
  Branches      9856      7234     -2622
==========================================
+ Hits         23988     18807     -5181
- Misses        2563      2045      -518
- Partials      1487      1204      -283

Generated by Codecov Action

This branch has not been deployed

No deployments
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