feat(rq): Respect data_collection.queues option for job args/kwargs - #6927
Merged
Conversation
When the data_collection experiment is enabled, include RQ job args and kwargs in the event extra only if the "queues" setting is on (defaults to on); omit them entirely when off instead of sending the sensitive data substitute. Falls back to send_default_pii behavior when the experiment is not enabled. Refs PY-2591 Refs #6751
Contributor
Codecov Results 📊✅ 98750 passed | ⏭️ 6756 skipped | Total: 105506 | Pass Rate: 93.6% | Execution Time: 353m 11s 📊 Comparison with Base Branch
All tests are passing successfully. ✅ Patch coverage is 100.00%. Project has 2499 uncovered lines. Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
+ Coverage 89.84% 89.85% +0.01%
==========================================
Files 193 193 —
Lines 24588 24609 +21
Branches 8744 8756 +12
==========================================
+ Hits 22089 22110 +21
- Misses 2499 2499 —
- Partials 1400 1400 —Generated by Codecov Action |
ericapisani
marked this pull request as ready for review
July 29, 2026 13:18
alexander-alderman-webb
approved these changes
Jul 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When the data_collection experiment is enabled, include RQ job args and kwargs in the event extra only if the "queues" setting is on (defaults to on); omit them entirely when off instead of sending the sensitive data substitute. Falls back to send_default_pii behavior when the experiment is not enabled.
Refs PY-2591
Refs #6751