feat(utils): Filter stack frame variables via data_collection option - #7274
Open
ericapisani wants to merge 1 commit into
Open
feat(utils): Filter stack frame variables via data_collection option#7274ericapisani wants to merge 1 commit into
ericapisani wants to merge 1 commit into
Conversation
serialize_frame now respects the KeyValueCollectionBehaviour configured for stack_frame_variables in the data_collection experiment, applying allowlist/denylist filtering to frame locals before serialization. This takes precedence over the include_local_variables option when data_collection is enabled. Refs PY-2578 Refs #6738
Contributor
Codecov Results 📊✅ 118891 passed | ⏭️ 6732 skipped | Total: 125623 | Pass Rate: 94.64% | Execution Time: 421m 50s 📊 Comparison with Base Branch
All tests are passing successfully. ✅ Patch coverage is 100.00%. Project has 2479 uncovered lines. Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
+ Coverage 90.23% 90.27% +0.04%
==========================================
Files 193 193 —
Lines 25482 25490 +8
Branches 9384 9390 +6
==========================================
+ Hits 22994 23011 +17
- Misses 2488 2479 -9
- Partials 1431 1430 -1Generated by Codecov Action |
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.
serialize_frame now respects the KeyValueCollectionBehaviour configured for stack_frame_variables in the data_collection experiment, applying allowlist/denylist filtering to frame locals before serialization. This takes precedence over the include_local_variables option when data_collection is enabled.
Refs PY-2578
Refs #6738