Skip to content

feat(utils): Filter stack frame variables via data_collection option - #7274

Open
ericapisani wants to merge 1 commit into
masterfrom
feat/py-2578-frame-vars-data-collection
Open

feat(utils): Filter stack frame variables via data_collection option#7274
ericapisani wants to merge 1 commit into
masterfrom
feat/py-2578-frame-vars-data-collection

Conversation

@ericapisani

Copy link
Copy Markdown
Member

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

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
@ericapisani
ericapisani requested a review from a team as a code owner August 27, 2026 14:59
@linear-code

linear-code Bot commented Aug 27, 2026

Copy link
Copy Markdown

PY-2578

@github-actions

Copy link
Copy Markdown
Contributor

Codecov Results 📊

118891 passed | ⏭️ 6732 skipped | Total: 125623 | Pass Rate: 94.64% | Execution Time: 421m 50s

📊 Comparison with Base Branch

Metric Change
Total Tests 📈 +20222
Passed Tests 📈 +19969
Failed Tests
Skipped Tests 📈 +253

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 2479 uncovered lines.
✅ Project coverage is 90.27%. Comparing base (base) to head (head).

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        -1

Generated by Codecov Action

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.

1 participant