You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Node.js ESM profiling frames not symbolicated — file:/// paths rejected by frame validation #109520
Set up a Node.js (v22+) AWS Lambda project using ESM modules
Configure @sentry/aws-serverless with @sentry/profiling-node and continuous profiling (profileLifecycle: 'trace')
Upload sourcemaps with debug IDs via @sentry/esbuild-plugin
Trigger a profiled transaction
Open the trace waterfall, click into a span, and view the "Most Frequent Stacks in this Span" section
Also view the Profiles tab flamegraph for the same transaction
Expected Result
Profiling stack frames should be symbolicated using the uploaded sourcemaps, showing original TypeScript source file paths, line numbers, and function namesl the same way error event stack traces are symbolicated.
Actual Result
Profiling frames are not symbolicated in either the "Most Frequent Stacks in this Span" section or the Profiles flamegraph.
Frames show bundled paths like file:///var/task/src/handlers/update-coin-prices.js with large column numbers (e.g., 249:12880), and the flamegraph shows minified function names like kW, U_e, MW. Error events from the same project symbolicate correctly.
Node.js ESM modules cause V8 to report script paths as file:/// URLs. The backend's NON_BUILTIN_PATH_REGEX in frame validation does not recognize file: as a valid scheme, so these frames are classified as built-in Node modules and silently discarded before reaching Symbolicator.
Activity
linear commentedon Feb 26, 2026
ENG-6906
getsantry commentedon Feb 26, 2026
Assigning to @getsentry/support for routing ⏲️
getsantry commentedon Mar 2, 2026
Routing to @getsentry/product-owners-profiling for triage ⏲️
bcoe commentedon Apr 13, 2026
This has been added to our backlog for investigation 👏
bcoe commentedon Jul 30, 2026
The upstream ticket was resolved, I believe this is addressed 👏