Skip to content

error printer: fix the code frame lines above errors thrown from vm/eval sources - #38244

Open
robobun wants to merge 4 commits into
mainfrom
farm/ebcff020/fix-error-excerpt-context-lines
Open

error printer: fix the code frame lines above errors thrown from vm/eval sources#38244
robobun wants to merge 4 commits into
mainfrom
farm/ebcff020/fix-error-excerpt-context-lines

error printer: collect the code frame lines above a non-transpiled so…

9cd5908
Select commit
Loading
Failed to load commit list.
Claude / Claude Code Review completed Aug 13, 2026 in 10m 56s

Code review found 1 potential issue

Found 1 candidates, confirmed 1. See review comments for details.

Details

Severity Count
🔴 Important 0
🟡 Nit 1
🟣 Pre-existing 0
Severity File:Line Issue
🟡 Nit test/js/node/vm/vm.test.ts:1571 uncaught error test pipes stdout but never drains it

Annotations

Check warning on line 1571 in test/js/node/vm/vm.test.ts

See this annotation in the file changed.

@claude claude / Claude Code Review

uncaught error test pipes stdout but never drains it

This test sets `stdout: "pipe"` but the `Promise.all` only drains `proc.stderr.text()` and `proc.exited` — stdout is never read. Every sibling subprocess test in this file drains all pipes concurrently per REVIEW.md; either add `proc.stdout.text()` to the `Promise.all` or drop `stdout: "pipe"`.