Skip to content

fix(web): restore Web Push delivery on Node 22 and 24 - #623

Merged
robertsreberski merged 2 commits into
mainfrom
fix/614-node24-pinned-push
Aug 13, 2026
Merged

fix(web): restore Web Push delivery on Node 22 and 24#623
robertsreberski merged 2 commits into
mainfrom
fix/614-node24-pinned-push

Conversation

@robertsreberski

@robertsreberski robertsreberski commented Aug 13, 2026

Copy link
Copy Markdown
Owner

Root cause

Node uses the all-address DNS lookup callback when autoSelectFamily is enabled. The pinned Web Push transport returned the legacy single-address callback shape, so every request failed locally with ERR_INVALID_IP_ADDRESS before reaching Apple. Subscription and permission setup were working.

Change

Honor both Node lookup callback forms while still returning only the one public address selected by endpoint validation. Add a real TCP regression test that exercises the autoSelectFamily path.

CI environment note

The Node 24 verification lane is temporarily pinned to 24.18.0. Node 24.19.0 has a confirmed ObjectWrap teardown regression that aborts native addons such as better-sqlite3; nodejs/node#65042 is the upstream backport. The workflow contract test covers the temporary pin.

Verification

Node 22.19.0 focused Web Push tests: 15 passed.
Node 24.15.0 focused Web Push tests: 15 passed.
Web package server tests: 133 passed.
Webapp tests: 202 passed.
Repository verify:all: green.
CI workflow contract tests: 31 passed.

Follow-up to #614.

@vercel

vercel Bot commented Aug 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mono-agent-docs Ready Ready Preview Aug 13, 2026 7:09pm

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 3 files

Re-trigger cubic

@robertsreberski
robertsreberski merged commit e45a983 into main Aug 13, 2026
8 checks passed
@robertsreberski
robertsreberski deleted the fix/614-node24-pinned-push branch August 13, 2026 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant