Repository navigation
ref(agent-handoff): Link the instructions to the handoff guide URL - #131824
Closed
sentry-junior[bot] wants to merge 3 commits into
Closed
sentry-junior[bot] wants to merge 3 commits into
sentry-junior[bot] wants to merge 3 commits into
Conversation
The "See the full instructions" and "View all instructions" links pointed at /agent-handoff.md?preview=1&flow=..., but the backend stopped honoring the preview mode in #131499. The links now open the generic CLI install guide instead of the flow's instructions, so remove them. Co-Authored-By: Evan Purkhiser <1421724+evanpurkhiser@users.noreply.github.com>
evanpurkhiser
approved these changes
Nov 19, 2026
evanpurkhiser
requested changes
Nov 19, 2026
evanpurkhiser
left a comment
Member
There was a problem hiding this comment.
Junior actually I didn't want to remove the link entirely
Keep the "See the full instructions" and "View all instructions" links, but point them at getHandoffGuideUrl(), the same /agent-handoff.md URL the copied prompt sends the agent to, and drop the leftover getHandoffPreviewUrl helper.
Contributor
Author
|
Got it. The links stay now. I merged |
Contributor
Story previewsPreview the stories changed in this PR on the Vercel deployment: Preview deployment: https://sentry-kg101dnbp.sentry.dev |
This branch was successfully deployed
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.
#131819 pointed the "See the full instructions" and "View all instructions" links at
new URL('/agent-handoff.md', links.sentryUrl). The copied prompt sends the agent togetHandoffGuideUrl(), which builds the same path fromurlPrefix.This points both links at
getHandoffGuideUrl(), so the instructions the user opens are the ones the agent reads. On instances other than sentry.io, the links now go to that instance's guide instead of sentry.io's. It also removes the leftovergetHandoffPreviewUrlhelper.via @evanpurkhiser.
--
View Session [Sentry]