Skip to content

bugsnag: strip JSON objects from grouping strings, normalize LauncherError#261

Open
morgan-wowk wants to merge 1 commit into
masterfrom
bugsnag-grouping-strip-json
Open

bugsnag: strip JSON objects from grouping strings, normalize LauncherError#261
morgan-wowk wants to merge 1 commit into
masterfrom
bugsnag-grouping-strip-json

Conversation

@morgan-wowk
Copy link
Copy Markdown
Collaborator

@morgan-wowk morgan-wowk commented May 28, 2026

Any embedded JSON/dict literal (starting with {" or {') is now
stripped from error messages before they are used as grouping keys.
This prevents Kubernetes pod specs and similar runtime blobs from
fragmenting what is structurally the same error into many groups.

A dedicated normalizer for LauncherError is also added: it drops
everything after the first colon (the serialized pod spec) so that
"Failed to create pod: <spec>" normalizes to just
"LauncherError: Failed to create pod".

…Error

Any embedded JSON/dict literal (starting with `{"` or `{'`) is now
stripped from error messages before they are used as grouping keys.
This prevents Kubernetes pod specs and similar runtime blobs from
fragmenting what is structurally the same error into many groups.

A dedicated normalizer for LauncherError is also added: it drops
everything after the first colon (the serialized pod spec) so that
"Failed to create pod: <spec>" normalizes to just
"LauncherError: Failed to create pod".
Copy link
Copy Markdown
Collaborator Author

morgan-wowk commented May 28, 2026

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