Skip to content

Multi-tenant support in Linear adapter#344

Open
SamyPesse wants to merge 31 commits intovercel:mainfrom
SamyPesse:fix-linear-scopes
Open

Multi-tenant support in Linear adapter#344
SamyPesse wants to merge 31 commits intovercel:mainfrom
SamyPesse:fix-linear-scopes

Conversation

@SamyPesse
Copy link
Copy Markdown
Contributor

@SamyPesse SamyPesse commented Apr 7, 2026

Summary

The Linear adapter was simply not working in its current state: Not supporting multiple workspaces when using clientId/clientSecret; but more importantly throwing an error when trying to fetch the comments.

This PR makes the Linear adapter fully work, in multi-tenant and single-tenant modes.

Test plan

Tests have been updated; but I also tested a build in my application.

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 7, 2026

@SamyPesse is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

@SamyPesse SamyPesse changed the title Support passing scopes as a config to the linear adapter Multi-tenant support in Linear adapter Apr 7, 2026
@SamyPesse SamyPesse marked this pull request as draft April 7, 2026 18:54
@SamyPesse SamyPesse marked this pull request as ready for review April 9, 2026 15:49
@dancer
Copy link
Copy Markdown
Contributor

dancer commented Apr 9, 2026

hi @SamyPesse looking into this & just saw a couple of things & ty for the PR!

getUserNameFromProfileUrl hardcoded to gitbook-x this needs updated or would break for others & startTyping missing return as in linear i believe they mention this somewhere on their docs user has 10 seconds to respond to a created even or the session is marked unresponsive

also only one changeset file is needed major is fine!

@SamyPesse
Copy link
Copy Markdown
Contributor Author

getUserNameFromProfileUrl hardcoded to gitbook-x this needs updated or would break for others

Oups, fixed.

startTyping missing return as in linear

fixed.

in linear i believe they mention this somewhere on their docs user has 10 seconds to respond to a created even or the session is marked unresponsive

Yes, I'm wondering if the adapter should not directly post an ephemeral message "Thinking" or if we wait for the first call to startTyping (what my app is doing).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants