Skip to content

Release 7.0.280 blockers: backend writer close order, x64 Linux native swap - #6135

Merged
shai-almog merged 3 commits into
masterfrom
fix-unrun-writer-close-order
Oct 30, 2026
Merged

shai-almog merged 3 commits into
masterfrom
fix-unrun-writer-close-order

Conversation

@shai-almog

Copy link
Copy Markdown
Collaborator

Two fixes found while checking master is ready for 7.0.280.

Backend: close a never-run body writer before the HTTP/1 head. On master, PR CI failed in HttpStreamingTest.aWriterTheServerNeverRunsIsClosed. A HEAD, 204, 205 or 304 response whose handler sets a streaming BodyWriter wrote its head first and only then closed the writer. A client could read the status and move on before the close happened. The writer is now closed first, which is the order HTTP/2 already uses. Because that backend test failed, the build stopped before the static-analysis modules, so this PR's CI is also the first SpotBugs and PMD run over everything merged since 7.0.279.

CI: swap on the x64 Linux native suite. Since #6118 and #6106 made the hello suite bigger, every build + run suite (x64) run has gone silent in cmake --build. About an hour in, the runner is shut down. arm64 hit the same thing earlier and has had a swapfile for it; x64 now gets one too, plus a df line. Memory exhaustion is inferred rather than shown in any log: if the job still dies with swap in place, the next step is to cap build parallelism.

🤖 Generated with Claude Code

shai-almog and others added 3 commits October 30, 2026 07:57
A bodiless streamed response (HEAD, 204, 304) wrote its head first and
closed the writer afterwards, so a client could act on the response while
the writer still held its resources. HttpStreamingTest's
aWriterTheServerNeverRunsIsClosed lost that race on master CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The x64 leg ran out of memory compiling the grown hello suite, the same
failure arm64 already had swap for.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shai-almog
shai-almog merged commit 189ff44 into master Oct 30, 2026
31 of 88 checks passed
@shai-almog
shai-almog deleted the fix-unrun-writer-close-order branch October 30, 2026 06:25
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