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
fix(error-tracking): derive debug_id from file content, not a filename Map
The RUM plugin embeds debug_id inside each chunk's own JS content as a
ddDebugId literal, but a side-channel Map keyed by filename was used to
pass it to error-tracking's uploader. Bundlers like webpack/rspack can
rename a chunk's file after the RUM plugin's injection (e.g.
realContentHash), so the Map's key goes stale and the lookup misses for
most chunks.
Read the debug_id straight out of the minified file's own content at
upload time instead. This removes the filename coordination between the
two plugins entirely, so it stays correct regardless of any bundler
renaming step.
0 commit comments