Skip to content

feat(linear): Use app OAuth and GraphQL tools - #1748

Open
sentry-junior[bot] wants to merge 8 commits into
mainfrom
feat/linear-app-oauth
Open

feat(linear): Use app OAuth and GraphQL tools#1748
sentry-junior[bot] wants to merge 8 commits into
mainfrom
feat/linear-app-oauth

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Replace Linear's hosted MCP connection with one OAuth app installed by a workspace admin. Junior uses the app for reads and writes from conversations, scheduled tasks, and event tasks, so users do not connect Linear one by one.

Add GraphQL tools for issues, comments, teams, projects, and workflow states. Created issues are linked to the current conversation. Only Slack workspace admins can install, replace, or disconnect the shared app connection.

Requested by David Cramer.

--

View Junior Session [Sentry]

Co-Authored-By: David Cramer <david@sentry.io>
@vercel

vercel Bot commented Sep 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Sep 1, 2026 5:28pm UTC

Request Review

@dcramer
dcramer marked this pull request as ready for review September 1, 2026 16:09
@github-actions github-actions Bot added the risk: high PR risk score: high label Sep 1, 2026
Co-Authored-By: David Cramer <david@sentry.io>
Comment thread packages/junior/src/handlers/oauth-callback.ts
Comment thread packages/junior/src/handlers/oauth-callback.ts
@sentry-junior sentry-junior Bot changed the title feat(linear): Use app OAuth and native tools feat(linear): Use app OAuth and GraphQL tools Sep 1, 2026
Comment thread packages/junior/src/handlers/oauth-callback.ts
Comment thread packages/junior/src/handlers/oauth-callback.ts
Comment thread packages/junior/src/chat/capabilities/factory.ts Outdated
Sandbox egress issues installation tokens outside webhook ALS, so scope
credential context and shared lease keys by Slack workspace id.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit ec3ceb5. Configure here.

Comment thread packages/junior/src/chat/sandbox/egress/session.ts Outdated
Stop pairing ALS-backed installation tokens with local lease cache slots
when credential context omits workspaceId.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants