-
Notifications
You must be signed in to change notification settings - Fork 30.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: do not use common.isMainThread #56768
Merged
Merged
+2
−1
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nodejs-github-bot
added
needs-ci
PRs that need a full CI run.
test
Issues and PRs related to the tests.
labels
Jan 26, 2025
lpinca
force-pushed
the
fix/failing-test
branch
from
January 26, 2025 07:18
8df802a
to
8e37fb9
Compare
lpinca
changed the title
test: use worker.isMainThread instead of common.isMainThread
test: do not use common.isMainThread
Jan 26, 2025
targos
approved these changes
Jan 26, 2025
Fast-track has been requested by @targos. Please 👍 to approve. |
`common.isMainThread` was removed in nodejs@8caa1dcee63b2c6fd7a9, use the `isMainThread` export of the `worker_threads` module instead.
lpinca
force-pushed
the
fix/failing-test
branch
from
January 26, 2025 07:58
8e37fb9
to
70d4d2e
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #56768 +/- ##
==========================================
- Coverage 89.22% 89.21% -0.01%
==========================================
Files 662 662
Lines 192125 192125
Branches 36972 36981 +9
==========================================
- Hits 171421 171411 -10
- Misses 13543 13546 +3
- Partials 7161 7168 +7 |
jasnell
approved these changes
Jan 26, 2025
legendecas
approved these changes
Jan 26, 2025
legendecas
added
the
author ready
PRs that have at least one approval, no pending requests for changes, and a CI started.
label
Jan 26, 2025
mcollina
approved these changes
Jan 26, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
legendecas
added
the
commit-queue
Add this label to land a pull request using GitHub Actions.
label
Jan 26, 2025
nodejs-github-bot
removed
the
commit-queue
Add this label to land a pull request using GitHub Actions.
label
Jan 26, 2025
Landed in 80c70ee |
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.
fast-track
PRs that do not need to wait for 48 hours to land.
needs-ci
PRs that need a full CI run.
test
Issues and PRs related to the tests.
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.
common.isMainThread
was removed in8caa1dcee63b2c6fd7a9, use the
isMainThread
export of theworker_threads
module instead.