Repository navigation
feat(core): replace expired Vercel Gateway keys - #4
Draft
pcomans-bot wants to merge 1 commit into
Draft
pcomans-bot wants to merge 1 commit into
pcomans-bot wants to merge 1 commit into
Conversation
3 of 6 tasks
pcomans-bot
force-pushed
the
vercel-gateway-signin
branch
from
October 27, 2026 21:13
7fb9d81 to
f7a92c7
Compare
pcomans-bot
force-pushed
the
vercel-key-replacement
branch
from
October 27, 2026 21:13
3ecba75 to
0c7a0d4
Compare
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.
Issue for this PR
Split from anomalyco#59456 (part 3 of 3).
Depends on #3, which builds on anomalyco#59729. This draft targets the sign-in feature branch so only key replacement appears in the diff; upstream submission is queued until Vercel sign-in lands.
Type of change
What does this PR do?
Builds on Vercel sign-in from part 2. Adds
replaceCredentialIDto update an existing connection after successful authorization. Expired or rejected Vercel keys expose Replace key, with the previous team/name/expiration prefilled. Connection ID, label, active selection, and model preferences are preserved; cancellation or failed sign-in keeps the old key.Expiry monitoring and Gateway 401 responses mark a key for replacement. Billing and permission errors do not. OAuth client configuration remains required; its default is
REPLACE_ME.How did you verify your code works?
bun run checkpassed.Manual verification covered the combined implementation: @pcomans tested setup and model availability on macOS before the split and before the temporary OAuth client ID was removed. This split PR has not been manually tested end to end.
Visual
Screenshots / recordings
Checklist