Skip to content

test: update milo paths in bundle-parser test - #5979

Merged
mcollina merged 2 commits into
mainfrom
fix/bundle-parser-milo-paths
Oct 8, 2026
Merged

mcollina merged 2 commits into
mainfrom
fix/bundle-parser-milo-paths

Conversation

@mcollina

@mcollina mcollina commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Fixes the failing ordinary esbuild bundles retain experimental Milo test on main (e.g. https://github.com/nodejs/undici/actions/runs/37787981060/job/113347576882).

#5954 vendored Milo as lib/milo/simd.js and lib/milo/no-simd.js, but #5935 was written against the previous lib/milo/src/*/index.js layout, so the test asserted on paths that no longer exist. The bundle-exclusion behavior itself is unaffected; this only updates the asserted paths.

node --test test/fetch/bundle-parser.js: 8/8 pass locally.

mcollina and others added 2 commits October 8, 2026 16:03
Milo was vendored as lib/milo/{simd,no-simd}.js in #5954, but #5935
was written against the previous lib/milo/src/*/index.js layout, so the
'ordinary esbuild bundles retain experimental Milo' test fails on main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xf8iHe9HroHgZuP6UXGZnx
Signed-off-by: Matteo Collina <hello@matteocollina.com>
The vendored Milo layout from #5954 has no binary/ or src/ directories.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xf8iHe9HroHgZuP6UXGZnx
Signed-off-by: Matteo Collina <hello@matteocollina.com>
@mcollina
mcollina force-pushed the fix/bundle-parser-milo-paths branch from 436aeb6 to e23f210 Compare October 8, 2026 14:16
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.52%. Comparing base (384ae67) to head (e23f210).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5979      +/-   ##
==========================================
- Coverage   91.52%   91.52%   -0.01%     
==========================================
  Files         113      113              
  Lines       43586    43594       +8     
==========================================
+ Hits        39894    39901       +7     
- Misses       3692     3693       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mcollina
mcollina merged commit 202c26e into main Oct 8, 2026
37 of 38 checks passed
@mcollina
mcollina deleted the fix/bundle-parser-milo-paths branch October 8, 2026 16:02
@github-actions github-actions Bot mentioned this pull request Oct 14, 2026
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.

3 participants