Upgrade AI SDK to v7 with Vercel OIDC authentication support - #239
Open
erulkey wants to merge 1 commit into
Open
Upgrade AI SDK to v7 with Vercel OIDC authentication support#239erulkey wants to merge 1 commit into
erulkey wants to merge 1 commit into
Conversation
Contributor
|
You must have Developer access to commit code to Vercel Labs on Vercel. If you contact an administrator and receive Developer access, commit again to see your changes. Learn more: https://vercel.com/docs/accounts/team-members-and-roles/access-roles#team-level-roles |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
ecklf
approved these changes
Jul 30, 2026
erulkey
marked this pull request as ready for review
July 30, 2026 15:41
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.
Summary
aifrom 5.0.51 to 7.0.34AI_GATEWAY_API_KEY-only preflight checks so AI Gateway can use Vercel's request-scoped OIDC authenticationThis deliberately uses 7.0.34 rather than the hours-old 7.0.42 because the repository's dependency release-age policy rejected the latter. The policy was not weakened.
Evidence
Executed on this branch:
pnpm install --frozen-lockfile— passed with pnpm 9.15.9pnpm type-check— passedpnpm lint— passed with 0 errors and 24 existing warningspnpm format:check— passedpnpm build— passed; existingshikiexternalization and baseline-browser-data warnings remainAI_GATEWAY_API_KEYexplicitly removed and an existing Vercel OIDC credential — title generation, branch-name generation, and commit-message generation all returned valid resultsObserved live results:
{ "auth": "OIDC only", "title": "Add vercel sandbox browser test for create commit push", "branch": "feature/browser-smoke-test-vercel-sandbox-<random suffix>", "commit": "Add browser smoke-test to verify create, commit and push vercel sandbox" }References:
Scope boundary
This PR does not remove PostgreSQL/Drizzle, redesign persistence, change OAuth, replace agent harnesses, or include the broader first-run experiments. Those are being isolated and require their own behavioral evidence before review.