GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — worker: add Symbol.toStringTag to messaging classes by lazerg · Pull Request #65532 · nodejs/node

Conversation

@lazerg

@lazerg lazerg commented Aug 25, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

MessageChannel, MessagePort and BroadcastChannel had no
Symbol.toStringTag, so Object.prototype.toString.call() returned
[object Object] or [object EventTarget] rather than the interface
names.

Two existing tests expected util.inspect() to print
MessagePort [EventTarget]; the tag now matches the constructor name,
so the bracketed part is gone.

Fixes: #65527

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

brettz9 reacted with heart emoji
All reactions
  • ❤️ 1 reaction
@lazerg
worker: add Symbol.toStringTag to MessageChannel and MessagePort
5b43aad
Signed-off-by: Lazizbek Ergashev <[email protected]>
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. worker Issues and PRs related to the worker_threads module and Worker API. labels Aug 25, 2026
@codecov

codecov Bot commented Aug 25, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.65%. Comparing base (4b5e86c) to head (070a5ec).
⚠️ Report is 690 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #65532      +/-   ##
==========================================
+ Coverage   90.14%   91.65%   +1.51%     
==========================================
  Files         751      789      +38     
  Lines      253679   285455   +31776     
  Branches    47789    69104   +21315     
==========================================
+ Hits       228671   261635   +32964     
+ Misses      16264    14430    -1834     
- Partials     8744     9390     +646     
Files with missing lines Coverage Δ
lib/internal/worker/io.js 99.23% <100.00%> (+0.03%) ⬆️

... and 283 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.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lazerg
worker: add Symbol.toStringTag to BroadcastChannel
070a5ec
Signed-off-by: Lazizbek Ergashev <[email protected]>
jasnell
jasnell approved these changes Aug 25, 2026
View reviewed changes
@brettz9

brettz9 commented Sep 15, 2026

Copy link
Copy Markdown

Could the failure be flake, remedied by another test run?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lazerg

lazerg commented Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

The failure does not come from this change. wpt/test-web-locks crashed on macOS after all of its subtests passed. That matches the known flake in #59142, where held.https.any.js throws an expected rejection and the harness does not register it. test/wpt/status/web-locks.json already marks that file flaky, and its note covers ppc, linux x64 and s390x only. The same commit passed test-linux on both arches, which runs the same WPT suite, and my diff only defines Symbol.toStringTag on the three messaging classes. A new run should come back green, but I cannot start one here.

brettz9 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@panva panva closed this Sep 15, 2026
@panva panva reopened this Sep 15, 2026
@inoway46 inoway46 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 Sep 25, 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 Sep 25, 2026
@nodejs-github-bot

This comment was marked as outdated.

Sign in to view
@nodejs-github-bot

nodejs-github-bot commented Sep 25, 2026

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/77919/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot

nodejs-github-bot commented Sep 26, 2026

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/77957/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@panva panva added resume-ci Add this label to resume the latest eligible Jenkins CI run on a PR with an approving review. author ready PRs with CI started, the required approvals, and no outstanding review comments. labels Sep 26, 2026
@github-actions github-actions Bot removed the resume-ci Add this label to resume the latest eligible Jenkins CI run on a PR with an approving review. label Sep 26, 2026
@nodejs-github-bot

nodejs-github-bot commented Sep 26, 2026

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/77976/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@panva panva added the commit-queue PRs queued for automated landing through the Commit Queue. label Sep 26, 2026
@nodejs-github-bot nodejs-github-bot added commit-queue-failed PRs whose Commit Queue landing failed and need manual intervention before retrying. and removed commit-queue PRs queued for automated landing through the Commit Queue. labels Sep 26, 2026
@nodejs-github-bot

nodejs-github-bot commented Sep 26, 2026

Copy link
Copy Markdown
Collaborator

Commit Queue failed

   ✖  1 GitHub CI job(s) failed:
   ✖    - test-macOS: FAILURE (https://github.com/nodejs/node/actions/runs/32835191997/job/97762371901)

The pull request was removed from the Commit Queue and labeled commit-queue-failed PRs whose Commit Queue landing failed and need manual intervention before retrying. . After resolving the failure, remove that label and add commit-queue PRs queued for automated landing through the Commit Queue. to retry.

Full Commit Queue output
�[36m⠋�[39m Loading data for nodejs/node/pull/65532
�[36m⠋�[39m Loading data for nodejs/node/pull/65532
�[36m⠋�[39m Getting collaborator contacts from README of nodejs/node
�[36m⠋�[39m Getting PR from nodejs/node/pull/65532
�[36m⠋�[39m Getting reviews from nodejs/node/pull/65532
�[36m⠋�[39m Getting comments from nodejs/node/pull/65532
�[36m⠋�[39m Getting commits from nodejs/node/pull/65532
✔  Done loading data for nodejs/node/pull/65532
----------------------------------- PR info ------------------------------------
Title      worker: add Symbol.toStringTag to messaging classes (#65532)
Author     Lazizbek Ergashev <[email protected]> (@lazerg)
Branch     lazerg:fix/issue-65527-messageport-tostringtag -> nodejs:main
Labels     author ready, worker, needs-ci, commit-queue
Commits    2
 - worker: add Symbol.toStringTag to MessageChannel and MessagePort
 - worker: add Symbol.toStringTag to BroadcastChannel
Committers 1
 - Lazizbek Ergashev <[email protected]>
PR-URL: https://github.com/nodejs/node/pull/65532
Fixes: https://github.com/nodejs/node/issues/65527
Reviewed-By: James M Snell <[email protected]>
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/65532
Fixes: https://github.com/nodejs/node/issues/65527
Reviewed-By: James M Snell <[email protected]>
--------------------------------------------------------------------------------
   ℹ  This PR was created on Tue, 25 Aug 2026 08:10:52 GMT
   ✔  Approvals: 1
   ✔  - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/65532#pullrequestreview-5018748441
   ✖  1 GitHub CI job(s) failed:
   ✖    - test-macOS: FAILURE (https://github.com/nodejs/node/actions/runs/32835191997/job/97762371901)
   ℹ  Last Full PR CI on 2026-09-26T20:19:31Z: https://ci.nodejs.org/job/node-test-pull-request/77976/
�[36m⠙�[39m Querying data for job/node-test-pull-request/77976/
�[36m⠙�[39m Querying data for job/node-test-pull-request/77976/
�[36m⠙�[39m Querying API for job/node-test-pull-request/77976/
✔  Build data downloaded
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu

View workflow run

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@panva panva added commit-queue-squash PRs the Commit Queue should land as one squashed commit. and removed commit-queue-failed PRs whose Commit Queue landing failed and need manual intervention before retrying. commit-queue-squash PRs the Commit Queue should land as one squashed commit. labels Sep 26, 2026
panva pushed a commit that referenced this pull request Sep 26, 2026
@panva
worker: add Symbol.toStringTag to MessageChannel and MessagePort
b456adb
Signed-off-by: Lazizbek Ergashev <[email protected]>
PR-URL: #65532
Fixes: #65527
Reviewed-By: James M Snell <[email protected]>
panva pushed a commit that referenced this pull request Sep 26, 2026
@panva
worker: add Symbol.toStringTag to BroadcastChannel
cd908df
Signed-off-by: Lazizbek Ergashev <[email protected]>
PR-URL: #65532
Fixes: #65527
Reviewed-By: James M Snell <[email protected]>
@panva

panva commented Sep 26, 2026

Copy link
Copy Markdown
Member

Landed in 7ff6267...cd908df

brettz9 reacted with hooray emoji
All reactions
  • 🎉 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@panva panva closed this Sep 26, 2026
aduh95 pushed a commit that referenced this pull request Sep 27, 2026
@aduh95
worker: add Symbol.toStringTag to MessageChannel and MessagePort
362686a
Signed-off-by: Lazizbek Ergashev <[email protected]>
PR-URL: #65532
Fixes: #65527
Reviewed-By: James M Snell <[email protected]>
aduh95 pushed a commit that referenced this pull request Sep 27, 2026
@aduh95
worker: add Symbol.toStringTag to BroadcastChannel
6c97a9c
Signed-off-by: Lazizbek Ergashev <[email protected]>
PR-URL: #65532
Fixes: #65527
Reviewed-By: James M Snell <[email protected]>
HoonDongKang pushed a commit to HoonDongKang/node that referenced this pull request Sep 28, 2026
@lazerg @HoonDongKang
worker: add Symbol.toStringTag to MessageChannel and MessagePort
6d1e965
Signed-off-by: Lazizbek Ergashev <[email protected]>
PR-URL: nodejs#65532
Fixes: nodejs#65527
Reviewed-By: James M Snell <[email protected]>
HoonDongKang pushed a commit to HoonDongKang/node that referenced this pull request Sep 28, 2026
@lazerg @HoonDongKang
worker: add Symbol.toStringTag to BroadcastChannel
b7decdc
Signed-off-by: Lazizbek Ergashev <[email protected]>
PR-URL: nodejs#65532
Fixes: nodejs#65527
Reviewed-By: James M Snell <[email protected]>
aduh95 pushed a commit that referenced this pull request Sep 28, 2026
@aduh95
worker: add Symbol.toStringTag to MessageChannel and MessagePort
56e6a5c
Signed-off-by: Lazizbek Ergashev <[email protected]>
PR-URL: #65532
Fixes: #65527
Reviewed-By: James M Snell <[email protected]>
aduh95 pushed a commit that referenced this pull request Sep 28, 2026
@aduh95
worker: add Symbol.toStringTag to BroadcastChannel
78b502a
Signed-off-by: Lazizbek Ergashev <[email protected]>
PR-URL: #65532
Fixes: #65527
Reviewed-By: James M Snell <[email protected]>
@github-actions github-actions Bot mentioned this pull request Oct 5, 2026
2026-10-07, Version 26.11.0 (Current) #66546
Merged
aduh95 pushed a commit that referenced this pull request Oct 23, 2026
@aduh95
worker: add Symbol.toStringTag to MessageChannel and MessagePort
f6f705e
Signed-off-by: Lazizbek Ergashev <[email protected]>
PR-URL: #65532
Fixes: #65527
Reviewed-By: James M Snell <[email protected]>
aduh95 pushed a commit that referenced this pull request Oct 23, 2026
@aduh95
worker: add Symbol.toStringTag to BroadcastChannel
701d7de
Signed-off-by: Lazizbek Ergashev <[email protected]>
PR-URL: #65532
Fixes: #65527
Reviewed-By: James M Snell <[email protected]>
aduh95 pushed a commit that referenced this pull request Oct 28, 2026
@aduh95
worker: add Symbol.toStringTag to MessageChannel and MessagePort
d863075
Signed-off-by: Lazizbek Ergashev <[email protected]>
PR-URL: #65532
Fixes: #65527
Reviewed-By: James M Snell <[email protected]>
aduh95 pushed a commit that referenced this pull request Oct 28, 2026
@aduh95
worker: add Symbol.toStringTag to BroadcastChannel
818c49c
Signed-off-by: Lazizbek Ergashev <[email protected]>
PR-URL: #65532
Fixes: #65527
Reviewed-By: James M Snell <[email protected]>
@leapmux-renovate leapmux-renovate Bot mentioned this pull request Nov 1, 2026
chore(deps): Update Node.js to v26 leapmux/leapmux#578
Merged
aduh95 pushed a commit that referenced this pull request Nov 11, 2026
@aduh95
worker: add Symbol.toStringTag to MessageChannel and MessagePort
9b306d5
Signed-off-by: Lazizbek Ergashev <[email protected]>
PR-URL: #65532
Fixes: #65527
Reviewed-By: James M Snell <[email protected]>
aduh95 pushed a commit that referenced this pull request Nov 11, 2026
@aduh95
worker: add Symbol.toStringTag to BroadcastChannel
8f7626e
Signed-off-by: Lazizbek Ergashev <[email protected]>
PR-URL: #65532
Fixes: #65527
Reviewed-By: James M Snell <[email protected]>
@github-actions github-actions Bot mentioned this pull request Nov 20, 2026
2026-11-30, Version 24.23.0 'Krypton' (LTS) #67663
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jasnell jasnell jasnell approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. needs-ci PRs that need a full CI run. worker Issues and PRs related to the worker_threads module and Worker API.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Symbol.toStringTag on MessageChannel and MessagePort

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@lazerg @brettz9 @nodejs-github-bot @panva @jasnell @inoway46
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.