Commit 24ad4e1
fix(node-native): Strip non-serializable fields from ScopeData before passing to native module
The native module requires serializable data for cross-thread communication.
ScopeData contains non-serializable fields (eventProcessors, span, attachments)
that could cause serialization failures. This fix extracts only the serializable
fields that are actually used by the watchdog thread.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 0742247 commit 24ad4e1
File tree
2 files changed
+22
-2
lines changed- packages/node-native/src
2 files changed
+22
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
57 | 75 | | |
58 | 76 | | |
59 | 77 | | |
| |||
62 | 80 | | |
63 | 81 | | |
64 | 82 | | |
65 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
66 | 86 | | |
67 | 87 | | |
68 | 88 | | |
| |||
0 commit comments