esm: increase test coverage of edge cases#47033
Merged
nodejs-github-bot merged 1 commit intonodejs:mainfrom Mar 31, 2023
Merged
esm: increase test coverage of edge cases#47033nodejs-github-bot merged 1 commit intonodejs:mainfrom
nodejs-github-bot merged 1 commit intonodejs:mainfrom
Conversation
anonrig
approved these changes
Mar 10, 2023
Contributor
Failed to start CI- Validating Jenkins credentials ✔ Jenkins credentials valid - Starting PR CI job ✘ Failed to start PR CI: 403 Forbiddenhttps://github.com/nodejs/node/actions/runs/4385304820 |
Member
What does this mean? This PR is testing that |
Contributor
Author
Correct. This should help loader authors who are reviewing the PR understand what has changed with the off-thread PR. |
GeoffreyBooth
approved these changes
Mar 10, 2023
Collaborator
This was referenced Mar 11, 2023
Collaborator
Collaborator
19 tasks
Collaborator
Collaborator
Collaborator
17 tasks
Collaborator
This was referenced Mar 21, 2023
Collaborator
This was referenced Mar 30, 2023
Collaborator
Collaborator
|
Landed in 841f6b3 |
Member
|
Hi, @aduh95. Could you please create a manual backport for v19.x? It didn't land cleanly because the suite on which the tests were included is the same one that contains: it('should work without worker permission', async () => {which wasn't landed in v19.x. |
aduh95
added a commit
to aduh95/node
that referenced
this pull request
Apr 5, 2023
PR-URL: nodejs#47033 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Jacob Smith <[email protected]>
danielleadams
pushed a commit
that referenced
this pull request
May 30, 2023
PR-URL: #47033 Backport-PR-URL: #47433 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Jacob Smith <[email protected]>
abhishekumar-tyagi
pushed a commit
to abhishekumar-tyagi/node
that referenced
this pull request
May 5, 2024
PR-URL: nodejs/node#47033 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Jacob Smith <[email protected]>
aduh95
added a commit
to aduh95/node
that referenced
this pull request
Feb 18, 2025
PR-URL: nodejs#47033 Backport-PR-URL: nodejs#47433 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Jacob Smith <[email protected]>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR adds some important assertions in preparation for the off-thread PR.
require('node:worker_thread').workerData.import.meta.resolveis currently available from loader modules (that won't be the case when it's taken off thread).import.meta.resolveusing a specifier that returns a never-settling promise exits the process with code 13. (not sure about this one, I think it's better than leaving the process in a dead lock forever, but also code 13 won't make as much sense if there's no longer a top-level await).//cc @nodejs/loaders