Skip to content

quic: fix broken listEndpoints export, test callbacks & nghttp3 include#63874

Open
pimterry wants to merge 1 commit into
nodejs:mainfrom
pimterry:fix-quic-build-issues
Open

quic: fix broken listEndpoints export, test callbacks & nghttp3 include#63874
pimterry wants to merge 1 commit into
nodejs:mainfrom
pimterry:fix-quic-build-issues

Conversation

@pimterry

Copy link
Copy Markdown
Member

The QUIC build & tests are broken on main in multiple ways:

#63860: The recent nghttp3 deps update (#63776) included internal changes which use _Generic (supported for C++ by Clang, but not by gcc). This only affects nghttp3 internals, but we had a dangling unused include which referenced them, so it broke things. We don't need these internals, and if we don't include them the problem goes away.

ListEndpoints (added in #63536) wasn't actually exported, so its tests fail on main. It clearly should be, it's included in the docs etc and used in the tests.

The new onSessionApplication callback (added in #63558) wasn't included in the setCallbacks test, which failed.

This PR drops the unused include, exports listEndpoints, and fixes the setCallbacks test.

It doesn't totally fix all QUIC build issues on main - there's one more, fixed already in #63821. That's an independent ngtcp2 deps issue (mergeable right now if anybody wants to add a 2nd approve there, or in a few days if not).

Independent of fix this, I'm now going to look to set up a CI job that builds & tests with --experimental-quic to stop this happening again. I'll do that in another PR, watch this space.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/quic

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. quic Issues and PRs related to the QUIC implementation / HTTP/3. labels Jun 12, 2026

@bjohansebas 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.

LGTM!

@Renegade334 Renegade334 linked an issue Jun 12, 2026 that may be closed by this pull request
@Qard

Qard commented Jun 13, 2026

Copy link
Copy Markdown
Member

Should we fast-track this?

@pimterry pimterry added the fast-track PRs that do not need to wait for 72 hours to land. label Jun 13, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Fast-track has been requested by @pimterry. Please 👍 to approve.

@pimterry pimterry added the commit-queue Add this label to land a pull request using GitHub Actions. label Jun 13, 2026
@nodejs-github-bot nodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Jun 13, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator
Commit Queue failed
- Loading data for nodejs/node/pull/63874
✔  Done loading data for nodejs/node/pull/63874
----------------------------------- PR info ------------------------------------
Title      quic: fix broken listEndpoints export, test callbacks & nghttp3 include (#63874)
   ⚠  Could not retrieve the email or name of the PR author's from user's GitHub profile!
Branch     pimterry:fix-quic-build-issues -> nodejs:main
Labels     c++, fast-track, needs-ci, quic
Commits    1
 - quic: fix broken listEndpoints export, test callbacks & nghttp3 include
Committers 1
 - Tim Perry <pimterry@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/63874
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/63874
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
--------------------------------------------------------------------------------
   ℹ  This PR was created on Fri, 12 Jun 2026 11:04:07 GMT
   ✔  Approvals: 1
   ✔  - Stephen Belanger (@Qard): https://github.com/nodejs/node/pull/63874#pullrequestreview-4491271009
   ℹ  This PR is being fast-tracked
   ✘  This PR needs to wait 145 more hours to land (or 25 hours if there is one more approval) (or 0 hours if there is 1 more approval (👍) of the fast-track request from collaborators).
   ✔  Last GitHub CI successful
   ✘  No Jenkins CI runs detected
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/27464811675

@pimterry pimterry added request-ci Add this label to start a Jenkins CI on a PR. and removed commit-queue-failed An error occurred while landing this pull request using GitHub Actions. labels Jun 13, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jun 13, 2026
@nodejs-github-bot

This comment was marked as duplicate.

@nodejs-github-bot

This comment was marked as duplicate.

@nodejs-github-bot

This comment was marked as duplicate.

@nodejs-github-bot

This comment was marked as duplicate.

@nodejs-github-bot

This comment was marked as duplicate.

@nodejs-github-bot

This comment was marked as duplicate.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@addaleax addaleax added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jun 13, 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. c++ Issues and PRs that require attention from people who are familiar with C++. fast-track PRs that do not need to wait for 72 hours to land. 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.

ngtcp2 update breaks gcc builds with --experimental-quic

6 participants