Skip to content

feat(celery): Respect data_collection.queues option for task args/kwargs - #6934

Merged
ericapisani merged 1 commit into
py-2591-hueyfrom
py-2591-celery
Jul 29, 2026
Merged

feat(celery): Respect data_collection.queues option for task args/kwargs#6934
ericapisani merged 1 commit into
py-2591-hueyfrom
py-2591-celery

Conversation

@ericapisani

@ericapisani ericapisani commented Jul 29, 2026

Copy link
Copy Markdown
Member

Gate celery-job args/kwargs in error event extras behind the experimental data_collection.queues option. When data_collection is configured it takes precedence over send_default_pii; with queues: False the args/kwargs keys are omitted entirely.

Refs PY-2591
Refs #6751

Gate celery-job args/kwargs in error event extras behind the experimental data_collection.queues option. When data_collection is configured it takes precedence over send_default_pii; with queues: False the args/kwargs keys are omitted entirely.
@linear-code

linear-code Bot commented Jul 29, 2026

Copy link
Copy Markdown

PY-2591

@ericapisani
ericapisani changed the base branch from master to py-2591-huey July 29, 2026 14:01
@ericapisani
ericapisani marked this pull request as ready for review July 29, 2026 14:13
@ericapisani
ericapisani requested a review from a team as a code owner July 29, 2026 14:13
@github-actions

Copy link
Copy Markdown
Contributor

Codecov Results 📊

98926 passed | ⏭️ 6772 skipped | Total: 105698 | Pass Rate: 93.59% | Execution Time: 359m 12s

📊 Comparison with Base Branch

Metric Change
Total Tests 📈 +384
Passed Tests 📈 +384
Failed Tests
Skipped Tests

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 2506 uncovered lines.
❌ Project coverage is 89.83%. Comparing base (base) to head (head).

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
- Coverage    89.84%    89.83%    -0.01%
==========================================
  Files          193       193         —
  Lines        24587     24630       +43
  Branches      8744      8768       +24
==========================================
+ Hits         22088     22124       +36
- Misses        2499      2506        +7
- Partials      1400      1400         —

Generated by Codecov Action

@ericapisani
ericapisani merged commit 6669128 into master Jul 29, 2026
140 checks passed
@ericapisani
ericapisani deleted the py-2591-celery branch July 29, 2026 14:35
mgaligniana pushed a commit to mgaligniana/sentry-python that referenced this pull request Aug 9, 2026
…rgs (getsentry#6934)

Gate celery-job args/kwargs in error event extras behind the
experimental data_collection.queues option. When data_collection is
configured it takes precedence over send_default_pii; with queues: False
the args/kwargs keys are omitted entirely.

Refs PY-2591
Refs getsentry#6751
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