Skip to content

http2: add diagnostics channels for client stream request body#60480

Merged
RaisinTen merged 1 commit into
nodejs:mainfrom
RaisinTen:dc-http2-client-stream-body-chunk
Nov 1, 2025
Merged

http2: add diagnostics channels for client stream request body#60480
RaisinTen merged 1 commit into
nodejs:mainfrom
RaisinTen:dc-http2-client-stream-body-chunk

Conversation

@RaisinTen
Copy link
Copy Markdown
Member

@RaisinTen RaisinTen commented Oct 29, 2025

These would allow inspection of HTTP/2 client stream request bodies.

This is needed for #60483.

@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/http2
  • @nodejs/net

@nodejs-github-bot nodejs-github-bot added http2 Issues or PRs related to the http2 subsystem. needs-ci PRs that need a full CI run. labels Oct 29, 2025
@nodejs-github-bot

This comment was marked as outdated.

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.58%. Comparing base (ba7cdf4) to head (be4f77d).
⚠️ Report is 52 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #60480      +/-   ##
==========================================
+ Coverage   88.56%   88.58%   +0.02%     
==========================================
  Files         704      704              
  Lines      207774   207873      +99     
  Branches    40027    40063      +36     
==========================================
+ Hits       184020   184153     +133     
+ Misses      15800    15761      -39     
- Partials     7954     7959       +5     
Files with missing lines Coverage Δ
lib/internal/http2/core.js 95.22% <100.00%> (+0.01%) ⬆️

... and 48 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.

@nodejs-github-bot

This comment was marked as outdated.

Comment thread lib/internal/http2/core.js Outdated
@RaisinTen RaisinTen requested a review from IlyasShabi October 31, 2025 18:14
Copy link
Copy Markdown
Member

@IlyasShabi IlyasShabi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Member

@Qard Qard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one concern about this breaking API surface, but otherwise LGTM.

Comment thread lib/internal/http2/core.js Outdated
@RaisinTen RaisinTen requested a review from Qard November 1, 2025 07:05
@nodejs-github-bot

This comment was marked as outdated.

@RaisinTen RaisinTen added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels Nov 1, 2025
@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

These would allow inspection of HTTP/2 client stream request bodies.

Signed-off-by: Darshan Sen <raisinten@gmail.com>
PR-URL: nodejs#60480
Reviewed-By: Ilyas Shabi <ilyasshabi94@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
@RaisinTen RaisinTen force-pushed the dc-http2-client-stream-body-chunk branch from be4f77d to f46152f Compare November 1, 2025 14:30
@RaisinTen RaisinTen merged commit f46152f into nodejs:main Nov 1, 2025
21 checks passed
@RaisinTen
Copy link
Copy Markdown
Member Author

Landed in f46152f

@RaisinTen RaisinTen deleted the dc-http2-client-stream-body-chunk branch November 1, 2025 14:31
@aduh95 aduh95 mentioned this pull request Feb 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. http2 Issues or PRs related to the http2 subsystem. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants