feat(skills): Add span streaming migration skill for Dart#164
Draft
buenaflor wants to merge 5 commits into
Draft
feat(skills): Add span streaming migration skill for Dart#164buenaflor wants to merge 5 commits into
buenaflor wants to merge 5 commits into
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.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.
Adds
sentry-span-streaming-dart, a migration skill that walks an agent through moving a Dart/Flutter app from transaction-based tracing to streamed span delivery. Completes the span streaming trio alongside the existing JavaScript (#130) and Python skills.Span streaming shipped in sentry-dart 9.19.0 (getsentry/sentry-dart#3659), and agents currently have no guidance for it — the feature-setup router only covers JS and Python. The skill follows the JS sibling's Detect / Migrate / Verify structure and covers enabling
options.traceLifecycle = SentryTraceLifecycle.stream, replacingstartTransaction/startChildwith theSentry.startSpan/startSpanSync/startInactiveSpanAPIs, typedSentryAttributes, migratingbeforeSendTransactionlogic tobeforeSendSpan(mutation-only in Dart — it cannot drop spans) orIgnoreSpanRule, and Flutter auto-instrumentation behavior, which switches automatically.All API names, signatures, defaults, and the minimum version were verified against the sentry-dart source rather than written from memory. The detection commands were tested against the real
pubspec.lockformat.Also registered in the
sentry-feature-setuprouter,AGENTS.md, and regeneratedSKILL_TREE.md(build-skill-tree.sh --checkpasses), and added the missing Dart cross-links to the JS and Python skills' intro paragraphs.Related: getsentry/sentry-dart#3691
🤖 Generated with Claude Code