feat(tracing): infer error ownership from tracebacks - #496
Draft
jshaikScale wants to merge 9 commits into
Draft
Conversation
Capture ADK failures and preserve producer ownership metadata so SGP can distinguish application, platform, and unknown errors. Co-authored-by: Cursor <cursoragent@cursor.com>
Provide typed application and platform error classes with documented ownership boundaries instead of relying on arbitrary exception attributes. Co-authored-by: Cursor <cursoragent@cursor.com>
#485) Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Require the released tracing SDK types so Agentex no longer maintains a duplicate ownership taxonomy that can drift. Co-authored-by: Cursor <cursoragent@cursor.com>
…r span (#484) Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Preserve the newer fail-open observability handling while retaining error category metadata and updated expectations. Co-authored-by: Cursor <cursoragent@cursor.com>
Add configurable frame ownership rules and safe provenance so uncategorized span failures can be attributed without inspecting exception text. Co-authored-by: Cursor <cursoragent@cursor.com>
Use a stable mapping rule identifier instead of emitting custom exception type names in tracing metadata. Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Summary
type,message, andcategoryerror fieldsOwnership behavior
applicationplatformunknownThe classifier never uses exception messages, exception class names, source lines, raw paths, or stack text as inference signals. Telemetry contains only the stable category source, classifier version, and deterministic non-sensitive rule ID.
Tests
198 passed, 2 skipped— full relevant tracing, ADK, and processor suite0 errors, 0 warnings, 0 informationsSuccess: no issues found in 2 source filesgit diff --check: passedLimitations and follow-up
scale-gp-betaSDK/repository