FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

quic: preserve session stats after close by manNomi · Pull Request #64489 · nodejs/node · GitHub

/ node Public

quic: preserve session stats after close - #64489

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
manNomi:quic-preserve-session-stats-after-close
Jul 17, 2026
Merged

quic: preserve session stats after close#64489
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
manNomi:quic-preserve-session-stats-after-close

Conversation

manNomi commented Jul 14, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

Description

QuicSessionStats[kFinishClose]() used IDX_STATS_STREAM_COUNT when
snapshotting session statistics. Since stream stats contain fewer entries
than session stats, fields beginning with cwnd were omitted after a session
was destroyed and returned undefined.

Use IDX_STATS_SESSION_COUNT so the complete session stats slice is copied
before the native session releases its arena slot. Add regression assertions
for the first previously omitted field (cwnd) and the final session field
(streamsIdleTimedOut).

Signed-off-by: manNomi <hanmw110@naver.com>

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/quic

nodejs-github-bot added needs-ci PRs that need a full CI run. quic Issues and PRs related to the QUIC implementation / HTTP/3. labels Jul 14, 2026
pimterry added the request-ci Add this label to start a Jenkins CI on a PR. label Jul 14, 2026
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jul 14, 2026

codecov Bot commented Jul 14, 2026
edited
Loading

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.25%. Comparing base (ed63b19) to head (7a25eb7).
⚠️ Report is 23 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #64489      +/-   ##
==========================================
- Coverage   92.01%   90.25%   -1.77%     
==========================================
  Files         381      741     +360     
  Lines      170167   241688   +71521     
  Branches    26075    45549   +19474     
==========================================
+ Hits       156585   218139   +61554     
- Misses      13291    15102    +1811     
- Partials      291     8447    +8156     
Files with missing lines Coverage Δ
lib/internal/quic/stats.js 100.00% <100.00%> (ø)

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

bjohansebas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM!

manNomi requested a review from bjohansebas July 15, 2026 16:26
bjohansebas added request-ci Add this label to start a Jenkins CI on a PR. author ready PRs that have at least one approval, no outstanding review comments, and a CI started. labels Jul 15, 2026
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

pimterry added the commit-queue Add this label to land a pull request using GitHub Actions. label Jul 17, 2026
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jul 17, 2026
nodejs-github-bot merged commit c1bd1c4 into nodejs:main Jul 17, 2026
97 checks passed

Copy link
Copy Markdown
Collaborator

Landed in c1bd1c4

aduh95 pushed a commit that referenced this pull request Jul 21, 2026
Signed-off-by: manNomi <hanmw110@naver.com>
PR-URL: #64489
Reviewed-By: Tim Perry <pimterry@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
aduh95 pushed a commit that referenced this pull request Jul 21, 2026
Signed-off-by: manNomi <hanmw110@naver.com>
PR-URL: #64489
Reviewed-By: Tim Perry <pimterry@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
RafaelGSS pushed a commit that referenced this pull request Jul 29, 2026
Signed-off-by: manNomi <hanmw110@naver.com>
PR-URL: #64489
Reviewed-By: Tim Perry <pimterry@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
aduh95 pushed a commit that referenced this pull request Aug 6, 2026
Signed-off-by: manNomi <hanmw110@naver.com>
PR-URL: #64489
Reviewed-By: Tim Perry <pimterry@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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 outstanding review comments, and a CI started. needs-ci PRs that need a full CI run. quic Issues and PRs related to the QUIC implementation / HTTP/3.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL