Skip to content

Ignore native frames in third-party exception filter - #80

Merged
Jingxi-Polymaker merged 1 commit into
mainfrom
fix/ignore-native-third-party-frames
Sep 11, 2026
Merged

Ignore native frames in third-party exception filter#80
Jingxi-Polymaker merged 1 commit into
mainfrom
fix/ignore-native-third-party-frames

Conversation

@Jingxi-Polymaker

Copy link
Copy Markdown
Collaborator

The third-party exception filter retained Klaviyo chunk load errors when their stack included a native Array.reduce frame. Ignore frames with filename: '<anonymous>' and in_app: false when no conflicting source is present, so the reported five-vendor-frame plus one-native-frame stack is suppressed.

Each exception in the cause chain must still contain at least one identified third-party frame, and all remaining frames must be third party. First-party, unknown-origin, missing, and native-only stacks remain visible.

Validation: the chunk 7130 regression failed before the fix and passes afterward. Added coverage for native-only stacks, mixed first-party/unknown frames, and exception causes. npm run test:all passes all 277 tests; node --check analytics.js and git diff --check pass.

@Jingxi-Polymaker
Jingxi-Polymaker merged commit 31cec5a into main Sep 11, 2026
8 checks passed
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