fix(eve): prevent Vercel env pull setup hangs - #1495
Draft
OwenKephart wants to merge 1 commit into
Draft
Conversation
Signed-off-by: owenkephart <owen.kephart@vercel.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Author
|
Confirmed root cause in Vercel CLI: after a successful |
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
vercel env pullwith stdin detached, including interactive setup flowsRoot cause
Vercel CLI runs an optional Claude Code Vercel-plugin installer after a successful
envcommand. Its confirmation helper checked only whether stdin was a TTY, not Vercel CLI's--non-interactivestate. Thereforevercel env pull --yes --non-interactivecould successfully write.env.localand then wait at the plugin-install confirmation when stdin remained inherited from eve.The Vercel CLI fix is in vercel/vercel#17345. This eve change is still required to detach stdin for automation and bound a misbehaving child. With stdin ignored, the problematic CLI prompt declines immediately; the 30-second timeout remains a safety net for any future stuck subprocess.
Validation
pnpm --filter eve build:compiledpnpm --filter eve exec vitest run --config vitest.unit.config.ts src/setup/run-vercel-link.test.ts src/setup/boxes/deploy-project.test.ts src/setup/primitives/run-vercel.test.tspnpm typecheck --filter evepnpm lintpnpm fmtNote: the sandbox uses Node 22.22.2 while the repository requires Node >=24; commands completed with engine warnings.