Repository navigation
deps: update ngtcp2 to 1.26.0 - #67257
nodejs-github-bot wants to merge 4 commits into
Conversation
|
Review requested:
|
|
Ideally your PR would make Node.js compatible with both ngtcp2 ≤1.25 and ngtcp2 ≥1.26 if that makes sense. If so, your PR can land first, then this PR can land |
|
I can do it. But the problem is the test introduced with the PR, as it tests the problem that needs the new version from ngtcp2. |
|
@martenrichter I'll fix up this PR. The build break is easy, but it looks like there's quite a few tests that fail, presumably due to other ngtcp2 changes. I'll push fixes here soon and then can merge this when that's resolved. |
Fix build failure due to new callback
Fix test failure: in the first test, we wait for stream then destroy it immediately. It looks like this ngtcp2 version fixes a bug where the error was never delivered to the remote peer in that case, but it now is, so the test needs to handle it.
ngtcp2 path validation timeouts now trigger retries in ngtcp2_conn_handle_expiry, which breaks tests where this happens while draining (when we shouldn't be sending anything at all - no retries). We can safely skip all expired timer handling once draining starts, which neatly guards against this and any other similar timers. OnTimeout here is firing for the drain timeout itself, managed by Node not ngtcp2, which we handle separately.
|
3 separate fixes here, I've added them as separate fixups with explanations in the message for easier review. I think that covers everything, works for me, hopefully this'll pass the CI check 🤞 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #67257 +/- ##
==========================================
+ Coverage 90.68% 90.69% +0.01%
==========================================
Files 797 797
Lines 279367 279491 +124
Branches 53737 53766 +29
==========================================
+ Hits 253344 253487 +143
+ Misses 16319 16300 -19
Partials 9704 9704 🚀 New features to boost your workflow:
|
This is an automated update of ngtcp2 to 1.26.0.