Skip to content

Conversation

lpinca
Copy link
Member

@lpinca lpinca commented Sep 20, 2025

Use common.mustCallAtLeast() to verify that the 'message' event is fired.

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Sep 20, 2025
@lpinca
Copy link
Member Author

lpinca commented Sep 20, 2025

Alternative to #59885.

Copy link

codecov bot commented Sep 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.45%. Comparing base (6f941fc) to head (097b5ed).
⚠️ Report is 33 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #59952      +/-   ##
==========================================
- Coverage   88.45%   88.45%   -0.01%     
==========================================
  Files         703      703              
  Lines      207826   207826              
  Branches    40030    40036       +6     
==========================================
- Hits       183842   183826      -16     
- Misses      15973    15974       +1     
- Partials     8011     8026      +15     

see 26 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.

@lpinca lpinca added request-ci Add this label to start a Jenkins CI on a PR. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels Sep 23, 2025
@github-actions github-actions bot added request-ci-failed An error occurred while starting CI via request-ci label, and manual interventon is needed. and removed request-ci Add this label to start a Jenkins CI on a PR. labels Sep 23, 2025
Copy link
Contributor

Failed to start CI
   ⚠  Commits were pushed since the last approving review:
   ⚠  - test: ensure that the message event is fired
   ⚠  - Update test/parallel/test-worker-message-port-infinite-message-loop.js
   ✘  Refusing to run CI on potentially unsafe PR
https://github.com/nodejs/node/actions/runs/17955820654

@aduh95 aduh95 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. and removed request-ci-failed An error occurred while starting CI via request-ci label, and manual interventon is needed. labels Sep 23, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 23, 2025
@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

Copy link
Member

@gurgunday gurgunday left a comment

Choose a reason for hiding this comment

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

lgtm

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

Use `common.mustCallAtLeast()` to verify that the `'message'` event is
fired.
@lpinca lpinca force-pushed the fix/test-worker-message-port-infinite-message-loop branch from d4d9c67 to 097b5ed Compare October 4, 2025 10:15
@lpinca
Copy link
Member Author

lpinca commented Oct 4, 2025

Rebased, this needs new approvals.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot
Copy link
Collaborator

@lpinca lpinca added commit-queue Add this label to land a pull request using GitHub Actions. and removed commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels Oct 5, 2025
@lpinca
Copy link
Member Author

lpinca commented Oct 5, 2025

It seems that #59885 was merged. I'll open a new PR to revert it.

@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 5, 2025
lpinca added a commit to lpinca/node that referenced this pull request Oct 5, 2025
@nodejs-github-bot nodejs-github-bot merged commit 307eaca into nodejs:main Oct 5, 2025
56 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 307eaca

@lpinca lpinca deleted the fix/test-worker-message-port-infinite-message-loop branch October 5, 2025 16:10
targos pushed a commit that referenced this pull request Oct 6, 2025
Use `common.mustCallAtLeast()` to verify that the `'message'` event is
fired.

PR-URL: #59952
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
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. needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants