Skip to content

test: stabilize pnpm setup and Bun snapshots - #3196

Merged
fengmk2 merged 4 commits into
mainfrom
test/deflake-pnpm-install
Oct 23, 2026
Merged

fengmk2 merged 4 commits into
mainfrom
test/deflake-pnpm-install

Conversation

@fengmk2

@fengmk2 fengmk2 commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

The pnpm setup tests can fail with ETXTBSY when another process inherits a write handle to a temporary executable. They now use a symbolic link to an executable fixture in the repository.

pm_audit_bun can time out while it waits for the public advisory service. Its local registry now returns a fixed advisory response for vp pm audit --production and vp pm audit --fix.

Windows snapshot cases can time out while they download large Bun archives. The runner derives an archive list from exact version pins in runnable fixtures. CI downloads these archives into the shared response cache before test commands start. Fixture version changes update this list without a matching CI edit. Fake installations and cases that only inspect configuration can disable preparation with prewarm-bun = false. Each case keeps its own installation and existing timeout.

These changes address the setup failure, audit timeout, and Windows snapshot failures.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://test-deflake-pnpm-install-viteplus-dev.voidzero-docs.workers.dev (commit 9d1da2a)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://c052a9d6-viteplus-dev.voidzero-docs.workers.dev 9d1da2a 2026-10-23T14:41:54.588Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://db3bfbeb-viteplus-dev.voidzero-docs.workers.dev 81d2205 2026-10-23T13:32:04.136Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://a3d04b1c-viteplus-dev.voidzero-docs.workers.dev ee858a6 2026-10-23T08:55:34.336Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://56ce2400-viteplus-dev.voidzero-docs.workers.dev c3e6edd 2026-10-23T08:32:20.553Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://cd98186f-viteplus-dev.voidzero-docs.workers.dev f8ebd8a 2026-10-22T15:04:59.226Z Visit the dashboard ↗

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

CLI artifact sizes (9d1da2a)

Final release artifacts built by the canonical build-upstream and build-windows-cli actions.
The dist rows use the Linux build. The core total excludes .node files to match the release artifact.

Artifact Format Base PR Change
packages/cli/dist Directory total 2.26 MiB 2.26 MiB 0 B (0.00%)
packages/core/dist Directory total 4.07 MiB 4.07 MiB 0 B (0.00%)
Combined package dist Directory total 6.33 MiB 6.33 MiB 0 B (0.00%)
vp (Linux x64) Binary 8.23 MiB 8.23 MiB 0 B (0.00%)
vp (Linux x64) gzip -9 3.76 MiB 3.76 MiB 0 B (0.00%)
NAPI (Linux x64) Binary 35.45 MiB 35.45 MiB 0 B (0.00%)
NAPI (Linux x64) gzip -9 14.12 MiB 14.12 MiB 0 B (0.00%)
vp (macOS ARM64) Binary 5.38 MiB 5.38 MiB 0 B (0.00%)
vp (macOS ARM64) gzip -9 3.20 MiB 3.20 MiB 0 B (0.00%)
NAPI (macOS ARM64) Binary 42.23 MiB 42.23 MiB 0 B (0.00%)
NAPI (macOS ARM64) gzip -9 18.25 MiB 18.25 MiB 0 B (0.00%)
vp (Windows x64) Binary 6.08 MiB 6.08 MiB 0 B (0.00%)
vp (Windows x64) gzip -9 2.82 MiB 2.82 MiB -1 B (-0.00%)
NAPI (Windows x64) Binary 31.50 MiB 31.50 MiB 0 B (0.00%)
NAPI (Windows x64) gzip -9 12.83 MiB 12.83 MiB -6 B (-0.00%)
Trampoline (Windows x64) Binary 13.50 KiB 13.50 KiB 0 B (0.00%)
Trampoline (Windows x64) gzip -9 7.09 KiB 7.09 KiB 0 B (0.00%)
Installer (Windows x64) Binary 4.67 MiB 4.67 MiB 0 B (0.00%)
Installer (Windows x64) gzip -9 2.24 MiB 2.24 MiB -1 B (-0.00%)

@fengmk2
fengmk2 added this pull request to stack #3200 October 22, 2026 16:44
@fengmk2
fengmk2 force-pushed the test/deflake-pnpm-install branch from f8ebd8a to c3e6edd Compare October 23, 2026 08:30
@fengmk2 fengmk2 changed the title test: fix flaky pnpm setup and Bun audit tests test: stabilize pnpm setup and Bun snapshots Oct 23, 2026
@fengmk2
fengmk2 marked this pull request as ready for review October 23, 2026 13:39
@fengmk2 fengmk2 self-assigned this Oct 23, 2026
@fengmk2
fengmk2 requested a review from wan9chi October 23, 2026 13:40
@fengmk2
fengmk2 force-pushed the test/deflake-pnpm-install branch from 81d2205 to 9d1da2a Compare October 23, 2026 14:38
@fengmk2
fengmk2 merged commit 0594632 into main Oct 23, 2026
75 checks passed
@fengmk2
fengmk2 deleted the test/deflake-pnpm-install branch October 23, 2026 15:05
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