Skip to content

chore(offlinedocs): upgrade the vercel cli to 65.11.0 - #334

Merged
nickvigilante merged 1 commit into
mainfrom
vigilante/vercel-cli-65
Nov 12, 2026
Merged

nickvigilante merged 1 commit into
mainfrom
vigilante/vercel-cli-65

Conversation

@nickvigilante

Copy link
Copy Markdown
Collaborator

Merge order

Independent. #333 adds router-pr-preview.yml, which installs the CLI from the same lockfile entry, so whichever lands second picks up 65.11.0 with no conflict.

Summary

Upgrades the Vercel CLI in apps/offlinedocs from 59.3.0 to 65.11.0, so the preview workflows can deploy with a Vercel token scoped to a single project.

Fix

Vercel CLI 59.3.0 looks up the token's user (GET /v2/user) and team (GET /teams/<id>) before every command. A token scoped to one project gets a 404 and a 403 on those, and the CLI then fails with "Could not retrieve Project Settings", even though the same token reads the project (GET /v9/projects/<id> returns 200). Run with --debug against a project-scoped token, 65.11.0 makes no team request and vercel pull downloads the project's settings.

This turned up while setting up coder/coder's docs previews (coder/coder#30698), whose deploy failed on exactly this and now passes with 65.11.0. Here, docs-pr-preview.yml (and router-pr-preview.yml once #333 lands) install the CLI from this lockfile, so their tokens can be narrowed to one project only once this is in. 65.11.0 is the newest release more than a week old; the workspace's minimumReleaseAge is three days.

The lockfile change is the CLI's own dependency tree: the only importer specifier that changes is vercel in apps/offlinedocs.

QA

Nothing to see on the docs site. The CLI only runs in docs-pr-preview.yml, which runs on demand rather than on push, so CI on this PR doesn't exercise it. To check a deploy, run docs-pr-preview from the Actions tab on this branch with content_ref set to a coder/coder commit and pr_number left empty; the "Deploy the prebuilt output as a coder-docs preview" step should print a preview URL as it does today.

Testing

pnpm install --frozen-lockfile passes on the updated lockfile and pnpm --filter @coder/offlinedocs exec vercel --version prints 65.11.0. The offline docs tests pass (75 of 75). The 59.3.0 failure and the 65.11.0 fix were reproduced locally against coder/coder's project-scoped preview token, and coder/coder#30698's deploy job passed with 65.11.0.

Upstream

No: this is a dependency bump in our own app, unrelated to Fumadocs.


🤖 Built with AI assistance.

Vercel CLI 59.3.0 looks up the token's user and team before every command
and fails with "Could not retrieve Project Settings" when the team lookup
returns 403, which it does for a token scoped to one project, although the
token can read the project. 65.11.0 skips that lookup. coder/coder's docs
preview workflow already deploys with 65.11.0 and a project-scoped token.

The preview workflows here install the CLI from this lockfile, so they
need the newer version before their tokens can be narrowed to one
project. 65.11.0 is the newest release more than a week old.

Assisted-by: AI
@vercel

vercel Bot commented Nov 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
coder-docs Skipped Skipped Nov 12, 2026 4:34pm UTC

Request Review

@nickvigilante
nickvigilante marked this pull request as ready for review November 12, 2026 16:36
@nickvigilante
nickvigilante requested a review from a team as a code owner November 12, 2026 16:36
@nickvigilante
nickvigilante merged commit a5e4b94 into main Nov 12, 2026
29 checks passed
@nickvigilante
nickvigilante deleted the vigilante/vercel-cli-65 branch November 12, 2026 16:45

This branch was previously deployed

1 inactive deployment
Preview — 47616b94 Deployed Nov 12, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant