Skip to content

test(setup): isolate payload directory parsing - #2509

Open
fengmk2 wants to merge 2 commits into
mainfrom
fix/flaky-probe-payload-dirs
Open

test(setup): isolate payload directory parsing#2509
fengmk2 wants to merge 2 commits into
mainfrom
fix/flaky-probe-payload-dirs

Conversation

@fengmk2

@fengmk2 fengmk2 commented Aug 20, 2026

Copy link
Copy Markdown
Member

The payload directory tests created archives and started temporary shell processes. Any setup or process error returned None and caused an unwrap panic.

This change moves output parsing to a pure helper. The tests pass byte input to this helper. They no longer create archives or start processes. The tests now run on all platforms.

This fixes the flaky failure from CI run 32338164079.

@netlify

netlify Bot commented Aug 20, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 62175cc
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a86d2bd1acb150008512614

@github-actions

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Native binary sizes (62175cc)

Final release artifacts built by the canonical build-upstream and build-windows-cli actions.

Artifact Format Base PR Change
vp (Linux x64) Binary 10.68 MiB 10.68 MiB 0 B (0.00%)
vp (Linux x64) gzip -9 4.62 MiB 4.62 MiB -5 B (-0.00%)
NAPI (Linux x64) Binary 32.19 MiB 32.19 MiB 0 B (0.00%)
NAPI (Linux x64) gzip -9 12.68 MiB 12.68 MiB 0 B (0.00%)
vp (macOS ARM64) Binary 7.98 MiB 7.98 MiB 0 B (0.00%)
vp (macOS ARM64) gzip -9 4.03 MiB 4.03 MiB -3 B (-0.00%)
NAPI (macOS ARM64) Binary 39.79 MiB 39.79 MiB 0 B (0.00%)
NAPI (macOS ARM64) gzip -9 16.97 MiB 16.97 MiB -1 B (-0.00%)
vp (Windows x64) Binary 8.57 MiB 8.57 MiB 0 B (0.00%)
vp (Windows x64) gzip -9 3.74 MiB 3.74 MiB -10 B (-0.00%)
NAPI (Windows x64) Binary 27.02 MiB 27.02 MiB 0 B (0.00%)
NAPI (Windows x64) gzip -9 10.75 MiB 10.75 MiB -1 B (-0.00%)
Trampoline (Windows x64) Binary 216.50 KiB 216.50 KiB 0 B (0.00%)
Trampoline (Windows x64) gzip -9 104.34 KiB 104.34 KiB 0 B (0.00%)
Installer (Windows x64) Binary 4.48 MiB 4.48 MiB +512 B (+0.01%)
Installer (Windows x64) gzip -9 2.10 MiB 2.10 MiB +360 B (+0.02%)

@fengmk2
fengmk2 marked this pull request as ready for review August 20, 2026 11:42
@fengmk2 fengmk2 self-assigned this Aug 20, 2026
@fengmk2
fengmk2 requested a review from wan9chi August 20, 2026 11:42
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