fix(cli): configure Vercel AI SDK instrumentation in Auto tracing setup - #397
Merged
fran3cc merged 1 commit intoAug 26, 2026
Conversation
Contributor
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
Contributor
Author
Related workPR #396 changes the same Auto-mode provider-list sentence and generated skill copies. This PR intentionally preserves Vercel as an explicit-only Auto exception, while #396 corrects the per-language direct-provider list. Whichever PR merges second should rebase, regenerate all skill copies, and retain both changes so neither wording overwrites the other. |
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.
Problem
respan setup tracingdelegates project changes to the bundled Respan skill. Its Auto path previously prohibited every framework instrumentor. Because Vercel AI SDK instrumentation is intentionally explicit-only, a core-onlynew Respan()setup left directaicalls uninstrumented.Fix
@respan/instrumentation-vercel.@ai-sdk/otelfor AI SDK 7 and enable the version-appropriate per-operation telemetry option.Vercel remains disabled in runtime auto-discovery by design: its framework-level spans can overlap provider instrumentation. The CLI now adds it explicitly for direct
aiusage without broadening facade auto-discovery or introducing duplicate spans.Regenerating the mirrors also reconciles their pre-existing drift from the canonical direct-LLM support table.
Verification
cd javascript-sdks/respan-cli && npm test— 2/2 passedcd javascript-sdks/instrumentations/respan-instrumentation-vercel && npm test— 47/47 passedpython3 scripts/release_inventory.py --validate— passedpython3 scripts/release_intents.py validate— passednpm packsmoke — extracted package contains the complete Vercel Auto setup@ai-sdk/otel1.0.0generateTextsmoke — exported the canonical agent → task → LLM hierarchy with prompt, completion, provider, model, and token fields; no rawai.*fields remainedgit diff --check— passed