Fix Vercel runtime OIDC inference readiness - #268
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Use the request-scoped x-vercel-oidc-token supplied to Vercel Functions for authenticated owner inference and GP2 readiness. Keep explicit Gateway/provider keys as fallbacks, never expose the token, and cover all six canonical intelligence routes plus readiness/UI contracts with regression tests.
Ankit6149
force-pushed
the
fix/vercel-oidc-runtime-inference
branch
from
September 4, 2026 19:27
154062c to
8efc8ec
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.
Why
Production GP2 readiness is stuck at 2/8 even after #267 because Vercel supplies its function OIDC identity request-scoped (
x-vercel-oidc-token), while SignalFlow only checkedprocess.env.VERCEL_OIDC_TOKEN. The readiness card therefore reports Hosted inference missing, and the real generation routes cannot consume the runtime token either.What changes
x-vercel-oidc-tokenand falls back toVERCEL_OIDC_TOKENSafety
Base / head
9df4ab710bcc00c3cd7d4da14f3c08a15d82cad9b90dc9d15cdd32a1a9c86c3e6d4c66e394af33d7