Repository navigation
fix(tools): Say when link_issue's Sentry App is not installed - #2136
Draft
sentry-junior[bot] wants to merge 1 commit into
Draft
sentry-junior[bot] wants to merge 1 commit into
sentry-junior[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
When the organization had no installation of the App that the URL points to, link_issue returned "Expected one installed Sentry App 'linear'." The agent could not tell that the App was missing or what would fix it. Report the missing installation, name the organization, and say that it must be installed under Settings > Integrations. The message for more than one matching installation is unchanged.
szokeasaurusrex
force-pushed
the
fix/link-issue-app-not-installed
branch
from
November 10, 2026 12:05
be7840d to
a984a5a
Compare
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.
A
link_issuecall with a Linear URL returnedExpected one installed Sentry App 'linear'.in an organization that has no Linear installation. The agent gave up and attached Sentry URLs to new Linear issues as plain links. Nothing in the message said the App was missing or what would fix it. Reported through MCP feedback MCP-SERVER-GN0.In the failing call,
GET /sentry-app-installations/returned no installedlinearApp andGET /sentry-app-components/?filter=issue-linkreturned[], so the org had no Linear issue-link form at all.linkAppIssuetreats zero and several installations as the same case (app.ts,installed.length !== 1).Changes
Not in this PR
…/issue/KEY-123, no title path). Once Linear is installed, that would hit Sentry's exact-URL 409, which fix(tools): Recover link_issue App conflicts for the same issue #1954 handles.pendingLinear installation was what the org had. That case also gets the new message.--
View Session [Sentry]