Skip to content

node:http: keep delivering the request body after a synchronous res.end() - #35489

Closed
robobun wants to merge 13 commits into
mainfrom
farm/5381a255/http-sync-end-body-delivery
Closed

node:http: keep delivering the request body after a synchronous res.end()#35489
robobun wants to merge 13 commits into
mainfrom
farm/5381a255/http-sync-end-body-delivery

should_request_be_pending: honour buffered-pause _LAST tail before an…

8e926f0
Select commit
Loading
Failed to load commit list.
Claude / Claude Code Review completed Aug 1, 2026 in 25m 47s

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/http/node-http.test.ts:4239 Explicit per-test timeouts violate test/CLAUDE.md

Annotations

Check warning on line 4239 in test/js/node/http/node-http.test.ts

See this annotation in the file changed.

@claude claude / Claude Code Review

Explicit per-test timeouts violate test/CLAUDE.md

The two new subprocess-spawning tests pass explicit `20_000` per-test timeouts (here and at :4307), which `test/CLAUDE.md:120` marks as **CRITICAL**: "Do not set a timeout on tests. Bun already has timeouts." Both tests do trivial loopback HTTP work in a spawned `bunExe()`; drop the explicit timeouts and let the file default apply (or, if debug+ASAN startup genuinely needs the headroom, that's the case for a file-level default rather than per-test overrides).