Skip to content

feat(vercel): Add API-driven pipeline backend for Vercel integration setup#113094

Open
evanpurkhiser wants to merge 1 commit intomasterfrom
evanpurkhiser/feat-vercel-add-api-driven-pipeline-backend-for-vercel-integration-setup
Open

feat(vercel): Add API-driven pipeline backend for Vercel integration setup#113094
evanpurkhiser wants to merge 1 commit intomasterfrom
evanpurkhiser/feat-vercel-add-api-driven-pipeline-backend-for-vercel-integration-setup

Conversation

@evanpurkhiser
Copy link
Copy Markdown
Member

@evanpurkhiser evanpurkhiser commented Apr 15, 2026

Implement get_pipeline_api_steps() on VercelIntegrationProvider using
a single OAuth2 step, mirroring the Slack pattern. Adds the
oauth_authorize_url to VercelIdentityProvider (previously unset since
the legacy flow is initiated externally). Updates build_integration() to
handle both legacy state["identity"]["data"] and new state["oauth_data"]
paths.

Note: Vercel currently has can_add = False so the API pipeline cannot
be initialized from the frontend yet. This wiring prepares for the
upcoming external install UI flow.

Ref VDY-44

@evanpurkhiser evanpurkhiser requested review from a team as code owners April 15, 2026 19:39
@evanpurkhiser evanpurkhiser requested review from a team and removed request for a team April 15, 2026 19:40
@linear-code
Copy link
Copy Markdown

linear-code bot commented Apr 15, 2026

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 15, 2026
Comment thread src/sentry/integrations/vercel/integration.py
Copy link
Copy Markdown
Contributor

@cursor cursor bot left a comment

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 070a285. Configure here.

Comment thread src/sentry/integrations/vercel/integration.py
@evanpurkhiser evanpurkhiser force-pushed the evanpurkhiser/feat-vercel-add-api-driven-pipeline-backend-for-vercel-integration-setup branch from 070a285 to a4d513a Compare April 16, 2026 20:36
@evanpurkhiser evanpurkhiser requested a review from a team as a code owner April 16, 2026 20:36
Copy link
Copy Markdown
Member

@wedamija wedamija left a comment

Choose a reason for hiding this comment

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

Does this need any tests? probably it'd be good to have a test to valdiate that the user id is present?

…setup

Implement `get_pipeline_api_steps()` on `VercelIntegrationProvider` using
a single OAuth2 step, mirroring the Slack pattern. Adds the
`oauth_authorize_url` to `VercelIdentityProvider` (previously unset since
the legacy flow is initiated externally). Updates `build_integration()` to
handle both legacy `state["identity"]["data"]` and new `state["oauth_data"]`
paths, and falls back to `state["uid"]` for `user_id` in the API flow.

Note: Vercel currently has `can_add = False` so the API pipeline cannot
be initialized from the frontend yet. This wiring prepares for the
upcoming external install UI flow.

Ref [VDY-44](https://linear.app/getsentry/issue/VDY-44/vercel-api-driven-integration-setup)
@evanpurkhiser evanpurkhiser force-pushed the evanpurkhiser/feat-vercel-add-api-driven-pipeline-backend-for-vercel-integration-setup branch from a4d513a to e3dda6a Compare April 16, 2026 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants