Skip to content

ref(asgi)!: Drop send_default_pii support when setting user IP address - #7818

Merged
ericapisani merged 1 commit into
major/3.0from
py-2798-asgi-remove-references-to-send-default-pii
Oct 1, 2026
Merged

ericapisani merged 1 commit into
major/3.0from
py-2798-asgi-remove-references-to-send-default-pii

Conversation

@ericapisani

Copy link
Copy Markdown
Member

Always gate the user.ip_address span attribute on data_collection["user_info"] instead of falling back to send_default_pii when data_collection isn't enabled.

Update the FastAPI form-data test to use data_collection rather than send_default_pii.

Refs PY-2798
Refs #7566

Always gate the `user.ip_address` span attribute on
`data_collection["user_info"]` instead of falling back to
`send_default_pii` when `data_collection` isn't enabled.

Update the FastAPI form-data test to use `data_collection` rather
than `send_default_pii`.

Refs PY-2798
Refs #7566
@ericapisani
ericapisani requested a review from a team as a code owner October 1, 2026 13:42
@linear-code

linear-code Bot commented Oct 1, 2026

Copy link
Copy Markdown

PY-2798

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

✅ 58214 passed | ⏭️ 2727 skipped | Total: 60941 | Pass Rate: 95.53% | Execution Time: 161m 20s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -79072
Passed Tests 📉 -74579
Failed Tests —
Skipped Tests 📉 -4493

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 2056 uncovered lines.
❌ Project coverage is 90.15%. Comparing base (703493d) to head (04625a8).

Coverage diff
@@            Coverage Diff             @@
##        master       #PR       +/-##
==========================================
- Coverage    90.37%    90.15%    -0.22%
==========================================
  Files          199       185       -14
  Lines        26526     20873     -5653
  Branches      9866      7256     -2610
==========================================
+ Hits         23971     18817     -5154
- Misses        2555      2056      -499
- Partials      1495      1206      -289

Generated by Codecov Action

@ericapisani
ericapisani merged commit 543aab8 into major/3.0 Oct 1, 2026
147 checks passed
@ericapisani
ericapisani deleted the py-2798-asgi-remove-references-to-send-default-pii branch October 1, 2026 14:42
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