Skip to content

test(snapshots): pin dev_engines_runtime_pnpm11 to the seeded default Node version - #2390

Merged
wan9chi merged 1 commit into
mainfrom
test/deflake-dev-engines-runtime-pnpm11
Aug 10, 2026
Merged

test(snapshots): pin dev_engines_runtime_pnpm11 to the seeded default Node version#2390
wan9chi merged 1 commit into
mainfrom
test/deflake-dev-engines-runtime-pnpm11

Conversation

@fengmk2

@fengmk2 fengmk2 commented Aug 9, 2026

Copy link
Copy Markdown
Member

Since 2026-08-08 the Windows PTY snapshot leg fails intermittently on dev_engines_runtime_pnpm11: the vp dlx -s print-current-version step times out after 60s with empty output (13+ runs across branches, main included, e.g. run 31302523708). The fixture pinned devEngines node 22.22.2, the only pin in the suite that the CI runtime seed does not carry, so the step had to download Node.js from nodejs.org inside its 60s budget. Connections from the Windows runner to nodejs.org stall intermittently, and the shared HTTP client's 2-minute request timeout (see #2386) outlives the step budget, so a stalled attempt can neither fail nor retry in time. The sibling dev_engines_runtime_pnpm10 pins the seeded default 22.18.0 and passed in ~2s in the same failed runs, which clears the npm registry path and isolates the stall to nodejs.org.

Pin the pnpm11 fixture to 22.18.0 as well. The 22.22.2 pin carried no assertion value: #1289 picked it as the then-latest 22.x above vp's minimum, and the snapshot redacts the printed version to <version>. The case still verifies that vp honors devEngines.runtime under pnpm 11. Verified with cargo test -p vp_cli_snapshots --test cli_snapshots -- dev_engines_runtime_pnpm11 (passes in 6s, no snapshot drift).

… Node version

The fixture pinned devEngines node 22.22.2, the only pin in the suite
that the CI runtime seed does not carry, so the step downloaded Node.js
from nodejs.org inside its 60s budget. Connections from the Windows
runner to nodejs.org stall intermittently since 2026-08-08, the shared
HTTP client's 2-minute request timeout outlives the step budget, and
the -s flag keeps the step silent, so the case failed with an empty
60s timeout across branches (e.g. runs 31302523708, 31303209316).

Pin 22.18.0 like the pnpm10 sibling. #1289 picked 22.22.2 only as the
then-latest 22.x above vp's minimum, and the snapshot redacts the
printed version to <version>, so no assertion changes; the case still
verifies devEngines.runtime is honored under pnpm 11.
@netlify

netlify Bot commented Aug 9, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 7aca6cf
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a784c542f60db0008b675eb

@fengmk2
fengmk2 marked this pull request as ready for review August 9, 2026 11:49
@fengmk2
fengmk2 requested a review from wan9chi August 9, 2026 11:49
@fengmk2 fengmk2 self-assigned this Aug 9, 2026
@wan9chi
wan9chi merged commit e43f636 into main Aug 10, 2026
111 checks passed
@wan9chi
wan9chi deleted the test/deflake-dev-engines-runtime-pnpm11 branch August 10, 2026 00:57
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.

2 participants