Skip to content

test: keep response open in http2 response limits test - #67656

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
inoway46:test-http2-response-limits-server-reset
Nov 23, 2026
Merged

nodejs-github-bot merged 1 commit into
nodejs:mainfrom
inoway46:test-http2-response-limits-server-reset

Conversation

@inoway46

Copy link
Copy Markdown
Contributor

The server ended the response early, so it also sent RST_STREAM(NO_ERROR). If that reaches the client before its own reset, v26.x closes the request without an 'error' and the test times out. This keeps the response open. main does not fail thanks to #63249, but landing this there keeps the test the same on main and v26.x, which is easier to maintain.

On v26.x-staging it timed out 26/1000 on macOS under load and 50/50 with coalesced frames before, and always passed after: https://github.com/inoway46/node/actions/runs/44722081527

Refs: #67114
Refs: https://github.com/nodejs/node/actions/runs/44631511460

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to Node.js core tests and test infrastructure. labels Nov 20, 2026
@inoway46 inoway46 added the flaky-test Issues and PRs involving tests that fail intermittently in CI. label Nov 20, 2026
@inoway46
inoway46 marked this pull request as ready for review November 20, 2026 13:45
@inoway46 inoway46 added the lts-watch-v26.x PRs that may need to be released in v26.x. label Nov 20, 2026
The server ended the response before the request body arrived, so it
also sent RST_STREAM(NO_ERROR). When that frame reaches the client in
the same read as the rejected headers, the stream is closed by the
peer reset before the client's own reset is sent. On v26.x the request
then closes without an 'error' event and the test times out.

Leave the response open so that only the client resets the stream.

Refs: nodejs#67114
Signed-off-by: inoway46 <inoueyuya416@gmail.com>
Assisted-by: Claude Code
@inoway46
inoway46 force-pushed the test-http2-response-limits-server-reset branch from a73eddb to 23d000c Compare November 20, 2026 14:27
@codecov

codecov Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.73%. Comparing base (5884b8e) to head (23d000c).
⚠️ Report is 97 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #67656      +/-   ##
==========================================
+ Coverage   90.71%   90.73%   +0.01%     
==========================================
  Files         801      801              
  Lines      280906   280960      +54     
  Branches    54249    54258       +9     
==========================================
+ Hits       254832   254932     +100     
+ Misses      16246    16198      -48     
- Partials     9828     9830       +2     

see 31 files with indirect coverage changes

🚀 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.

@jasnell jasnell added the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Nov 22, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Nov 22, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@christianaurichzm christianaurichzm added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Nov 22, 2026
@panva panva added the resume-ci Add this label to resume the latest eligible Jenkins CI run on a PR with an approving review. label Nov 23, 2026
@github-actions github-actions Bot removed the resume-ci Add this label to resume the latest eligible Jenkins CI run on a PR with an approving review. label Nov 23, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@inoway46 inoway46 added the commit-queue PRs queued for automated landing through the Commit Queue. label Nov 23, 2026
@nodejs-github-bot
nodejs-github-bot merged commit 3669956 into nodejs:main Nov 23, 2026
72 checks passed
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 3669956

@nodejs-github-bot nodejs-github-bot removed the commit-queue PRs queued for automated landing through the Commit Queue. label Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. flaky-test Issues and PRs involving tests that fail intermittently in CI. lts-watch-v26.x PRs that may need to be released in v26.x. needs-ci PRs that need a full CI run. test Issues and PRs related to Node.js core tests and test infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants