Skip to content

src: fix detached MessagePort crash - #67803

Open
jasnell wants to merge 1 commit into
nodejs:mainfrom
jasnell:jasnell/fix-receivemessageinport
Open

jasnell wants to merge 1 commit into
nodejs:mainfrom
jasnell:jasnell/fix-receivemessageinport

Conversation

@jasnell

@jasnell jasnell commented Nov 26, 2026

Copy link
Copy Markdown
Member

Fixes: #67766

Fixes: nodejs#67766
Signed-off-by: James M Snell <jasnell@gmail.com>
Asssted-by: Claude
@jasnell
jasnell requested review from aduh95, mcollina and ronag November 26, 2026 20:29
@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. labels Nov 26, 2026
@addaleax addaleax added the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Nov 26, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Nov 26, 2026
@nodejs-github-bot

nodejs-github-bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

@daeyeon daeyeon added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Nov 26, 2026
@codecov

codecov Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 90.51%. Comparing base (421ee55) to head (3899e42).
⚠️ Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
src/node_messaging.cc 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #67803      +/-   ##
==========================================
- Coverage   92.62%   90.51%   -2.11%     
==========================================
  Files         433      805     +372     
  Lines      200386   285817   +85431     
  Branches    30783    55184   +24401     
==========================================
+ Hits       185601   258698   +73097     
- Misses      14446    17201    +2755     
- Partials      339     9918    +9579     
Files with missing lines Coverage Δ
src/node_messaging.cc 82.02% <66.66%> (ø)

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

@mcollina mcollina 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

@mcollina mcollina added the commit-queue PRs queued for automated landing through the Commit Queue. label Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. c++ Issues and PRs that require attention from people who are familiar with C++. commit-queue PRs queued for automated landing through the Commit Queue. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MessagePort: segfault in receiveMessageOnPort() on a transferred port and in structuredClone() of a closed port

7 participants