bugsnag: chain-aware grouping key and chain title in error list - #262
Merged
Merged
Conversation
Collaborator
Author
morgan-wowk
force-pushed
the
bugsnag-error-chain
branch
from
May 28, 2026 18:49
6787d59 to
afad13f
Compare
morgan-wowk
marked this pull request as ready for review
May 28, 2026 18:55
morgan-wowk
changed the base branch from
bugsnag-grouping-strip-json
to
graphite-base/262
May 28, 2026 22:42
This was referenced May 28, 2026
morgan-wowk
force-pushed
the
graphite-base/262
branch
from
June 3, 2026 19:22
f7c56a6 to
cff8f3a
Compare
morgan-wowk
force-pushed
the
bugsnag-error-chain
branch
from
June 3, 2026 19:22
afad13f to
563c451
Compare
morgan-wowk
changed the base branch from
graphite-base/262
to
bugsnag-grouping-strip-json
June 3, 2026 19:22
morgan-wowk
changed the base branch from
bugsnag-grouping-strip-json
to
graphite-base/262
June 3, 2026 19:33
Mbeaulne
reviewed
Jun 4, 2026
Mbeaulne
reviewed
Jun 4, 2026
Mbeaulne
reviewed
Jun 4, 2026
yuechao-qin
approved these changes
Jun 8, 2026
morgan-wowk
force-pushed
the
graphite-base/262
branch
from
June 10, 2026 20:52
cff8f3a to
11f018b
Compare
morgan-wowk
force-pushed
the
bugsnag-error-chain
branch
from
June 10, 2026 20:52
563c451 to
035ad1f
Compare
morgan-wowk
changed the base branch from
graphite-base/262
to
bugsnag-grouping-strip-json
June 10, 2026 20:52
Mbeaulne
approved these changes
Jun 12, 2026
Collaborator
Author
Merge activity
|
morgan-wowk
changed the base branch from
bugsnag-grouping-strip-json
to
graphite-base/262
June 13, 2026 00:04
normalize_error_chain walks __cause__/__context__ and joins each level's normalized string with " <- ". This replaces the single- exception normalize_error_message call used for the grouping key so that "LauncherError <- TimeoutError" and "LauncherError <- ApiException" land in separate, stable groups rather than one per root cause. build_chain_title does the same walk but truncates each level to 80 chars and returns None for single exceptions. _before_notify uses it to override the root-cause errorClass shown in the Bugsnag error list, giving reviewers the full raise path at a glance.
morgan-wowk
force-pushed
the
bugsnag-error-chain
branch
from
June 13, 2026 00:05
035ad1f to
f66a067
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

normalize_error_chainwalks__cause__/__context__and joins each level's normalized string with" <- ". This replaces the single-exceptionnormalize_error_messagecall used for the grouping key so that"LauncherError <- TimeoutError"and"LauncherError <- ApiException"land in separate, stable groups rather than collapsing into one group per root cause.build_chain_titledoes the same walk but truncates each level to 80 chars and returnsNonefor single exceptions._before_notifyuses it to override the root-causeerrorClassthat Bugsnag displays in the error list, giving reviewers the full raise path at a glance without needing to open the stacktrace.