Move solutions to Sentry SDK 11.0.0 and teach MCP, CLI, and triage - #5
Merged
Merged
Conversation
Regenerate the three solution patches on the released @sentry/nextjs and @sentry/node 11.0.0. The Flue suppressTracing workaround in the PR reviewer stays: without it a demo run drops 7 of 10 spans as unsampled on 11.0.0. Name the three ways the agent reaches Sentry (MCP server, plugin skills, sentry CLI) in the README, lab 3, and lab 6. Add a triage step to lab 3 (assign, Seer, resolve, Fixes <ID>) and an "alert fired, now what" step to lab 6. Fix the lab 0 scope command: `sentry auth refresh --scope` replaces the whole scope set, so pass the login default plus org:write. Co-authored-by: Claude <claude@anthropic.com>
… lab Sentry's dashboards endpoint accepts org:read, so org:write was never required. The earlier 403 came from the CLI being logged in as an account outside the org. Setup now says to check sentry auth status instead. Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude <claude@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.
What changed
SDK 11.0.0 (released today)
solutions/*/instrumentation.patchregenerated from the apps with@sentry/nextjsand@sentry/node11.0.0. Each patch applies cleanly tomain.suppressTracingworkaround in the PR reviewer stays. Tested with it disabled on 11.0.0: 3 sampled and 7 unsampled spans. With it: 12 of 12.MCP, CLI, and triage
sentryCLI) with the labs that use each.Fixes <ISSUE-ID>). Note that Seer needs a connected repository.sentry-create-alert; new Step 5 "The alert fired. Now what" as the automated-triage story.sentry auth refresh --scopereplaces the whole scope set. The old command left tokens withoutevent:read, so everysentry issuecommand returned 403. It now passes the login default plusorg:write.Verified
issue list,issue view --spans all,alert metrics list.issue explainreaches Seer and stops on "requires repositories to be connected".issue resolvenot run.Created with Claude Code