Skip to content

bundler: run no macro in a bundle made only for its import graph (test --changed, --analyze, bun create <component>) - #46281

Closed
robobun wants to merge 1 commit into
mainfrom
robobun/0e279a22/test-changed-macro-imports
Closed

robobun wants to merge 1 commit into
mainfrom
robobun/0e279a22/test-changed-macro-imports

bundler: run no macro in a bundle made only for its import graph

4aa6a87
Select commit
Loading
Failed to load commit list.
Claude / Claude Code Review completed Oct 21, 2026 in 11m 30s

Code review found 2 important issues

Found 15 candidates, confirmed 3. See review comments for details.

The root REVIEW.md applied to this review uses 26,174 of the 150,000 bytes allowed for it and any files it includes.

Details

Severity Count
🔴 Important 2
🟡 Nit 0
🟣 Pre-existing 1
Severity File:Line Issue
🔴 Important src/bundler/bundle_v2.rs:4464 Users whose project runs fine now get exit 1 from 'bun install --analyze', 'bun add --analyze' and 'bun create <componen
🔴 Important src/js_parser/p.rs:4124 Users of 'bun test --changed' now silently skip a test whose dependency is named only by a macro result, with exit 0, wh
🟣 Pre-existing src/js_parser/p.rs:4125 Users with a bunfig '[macros]' table still get macros executed by 'bun install --analyze' / 'bun add --analyze', and the