-
Notifications
You must be signed in to change notification settings - Fork 12
feat(error-tracking): add debug_id snippet injection for cross-MFE stack trace un-minification #401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
566a9f1
c244d8d
cb32c25
f00a73f
8087b7f
81e19b8
b93045d
88eab93
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,10 +19,12 @@ export type SourcemapsOptionsWithDefaults = Required<SourcemapsOptions>; | |
|
|
||
| export type ErrorTrackingOptions = { | ||
| enable?: boolean; | ||
| debugId?: boolean; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ❓ question: MFE was previously configured under
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I collocated the options like to type SourceCodeContext = {
service?: string;
version?: string;
ddDebugId?: string;
};
|
||
| sourcemaps?: SourcemapsOptions; | ||
| }; | ||
|
|
||
| export type ErrorTrackingOptionsWithDefaults = { | ||
| debugId?: boolean; | ||
| sourcemaps?: SourcemapsOptionsWithDefaults; | ||
| }; | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this change intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, intentional. MD5 was only used for deterministic IDs, but it is not supported in FIPS environments, which can cause builds to fail (similar to getsentry/sentry-javascript-bundler-plugins#618). SHA-256 avoids that issue.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please notify apps folks about this.
EDIT: Uh oh, it seems I AM part of the apps folks... I'll forward this.