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 — errors: fix ERR_MISSING_DYNAMIC_INSTANTIATE_HOOK by ChALkeR · Pull Request #21493 · nodejs/node

Conversation

@ChALkeR

@ChALkeR ChALkeR commented Jun 23, 2018 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

This restores a broken and erroneously removed error, which was accidentially renamed to ERR_MISSING_DYNAMIC_INTSTANTIATE_HOOK (notice the INTST vs INST) in 921fb84 (PR #16874) and then had documentation and implementation removed under the old name in 6e1c25c (PR #18857), as it appeared unused.

This error code never worked or was documented under the mistyped name
ERR_MISSING_DYNAMIC_INTSTANTIATE_HOOK, so renaming it back to
ERR_MISSING_DYNAMIC_INSTANTIATE_HOOK is a semver-patch fix.

Refs: #21440, #21470, #16874, #18857.


This is a part of the fixes hinted by #21470, which includes some tests for error codes usage and documentation and enforces a stricter format.

This is mostly a revert, and specific tests for esm loader actually emitting that error are not included here.
Generic tests for error codes are included in a separate PR: #21470.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Sorry, something went wrong.

Uh oh!

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

All reactions
@ChALkeR ChALkeR added the errors Issues and PRs related to JavaScript errors originating in Node.js core. label Jun 23, 2018
@nodejs-github-bot

nodejs-github-bot commented Jun 23, 2018

Copy link
Copy Markdown
Collaborator

@ChALkeR build started: https://ci.nodejs.org/blue/organizations/jenkins/node-test-pull-request-lite-pipeline/detail/node-test-pull-request-lite-pipeline/137/pipeline

All reactions

Sorry, something went wrong.

Uh oh!

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

@nodejs-github-bot nodejs-github-bot added the errors Issues and PRs related to JavaScript errors originating in Node.js core. label Jun 23, 2018
@ChALkeR
ChALkeR force-pushed the doc-errcodes-remove-unused2 branch from bd6bb89 to 1a1b056 Compare June 23, 2018 23:39
@ChALkeR ChALkeR mentioned this pull request Jun 23, 2018
errors: fix ERR_MISSING_DYNAMIC_INSTANTIATE_HOOK #21492
Closed
2 of 4 tasks
@ChALkeR
ChALkeR force-pushed the doc-errcodes-remove-unused2 branch 2 times, most recently from bbcb61d to 1fcf5e1 Compare June 23, 2018 23:48
@ChALkeR ChALkeR added the esm Issues and PRs related to the ECMAScript Modules implementation. label Jun 23, 2018
@ChALkeR
ChALkeR requested review from BridgeAR, bmeck, devsnek, ronkorving and vsemozhetbyt June 23, 2018 23:52
devsnek
devsnek approved these changes Jun 23, 2018
View reviewed changes

@devsnek devsnek left a comment

Copy link
Copy Markdown
Member

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.

sorry about that 😃

on a side note, how come our eslint rules didn't pick up throwing a non-internal-error

Sorry, something went wrong.

Uh oh!

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

All reactions
@ChALkeR

ChALkeR commented Jun 23, 2018

Copy link
Copy Markdown
Member Author

@devsnek eslint doesn't track that. #21470 does 😉 — that's what picked that up.

devsnek 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.

@ChALkeR ChALkeR added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Jun 23, 2018
This was referenced Jun 24, 2018
test: add test for error codes doc and impl #21470
Closed
ERR_TLS_RENEGOTIATE, ERR_HTTP2_SETTINGS_CANCEL are not defined #21440
Closed
trivikr
trivikr approved these changes Jun 24, 2018
View reviewed changes
vsemozhetbyt
vsemozhetbyt approved these changes Jun 24, 2018
View reviewed changes
@targos targos mentioned this pull request Jun 24, 2018
test: add test for missing dynamic instantiate hook #21506
Closed
3 tasks done
TimothyGu
TimothyGu approved these changes Jun 24, 2018
View reviewed changes
benjamingr
benjamingr approved these changes Jun 24, 2018
View reviewed changes
jasnell
jasnell approved these changes Jun 24, 2018
View reviewed changes
ronkorving
ronkorving approved these changes Jun 25, 2018
View reviewed changes
lpinca
lpinca approved these changes Jun 25, 2018
View reviewed changes
@jasnell

jasnell commented Jun 29, 2018

Copy link
Copy Markdown
Member

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

All reactions

Sorry, something went wrong.

Uh oh!

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

@targos

targos commented Jun 30, 2018

Copy link
Copy Markdown
Member

Ping @ChALkeR there is a small conflict.

All reactions

Sorry, something went wrong.

Uh oh!

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

@ChALkeR

ChALkeR commented Jun 30, 2018

Copy link
Copy Markdown
Member Author

@targos, sorry, I am not feeling well and have only my phone right now. 🌡️
I will be able to take a look at this later (I suppose today-tomorrow).
Alternatively, I would be happy if anyone could take it from this point.

All reactions

Sorry, something went wrong.

Uh oh!

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

@targos

targos commented Jun 30, 2018

Copy link
Copy Markdown
Member

@ChALkeR sure. I hope you get better soon! I'm happy to take it over. Can I push to your branch?

All reactions

Sorry, something went wrong.

Uh oh!

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

@ChALkeR

ChALkeR commented Jun 30, 2018

Copy link
Copy Markdown
Member Author

@targos, thanks!
Yes, of course - I think that left the appropriate flag checked.

All reactions

Sorry, something went wrong.

Uh oh!

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

@targos
targos force-pushed the doc-errcodes-remove-unused2 branch from 1fcf5e1 to d7fa6c2 Compare June 30, 2018 09:27
@targos

targos commented Jun 30, 2018

Copy link
Copy Markdown
Member

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

ChALkeR 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.

@ChALkeR @targos
errors: fix ERR_MISSING_DYNAMIC_INSTANTIATE_HOOK
75bf6a8
This restores a broken and erroneously removed error, which was
accidentially renamed to ERR_MISSING_DYNAMIC_INTSTANTIATE_HOOK (notice
the "INTST" vs "INST") in 921fb84
(PR nodejs#16874) and then had documentation and implementation removed under
the old name in 6e1c25c (PR nodejs#18857),
as it appeared unused.

This error code never worked or was documented under the mistyped name
ERR_MISSING_DYNAMIC_INTSTANTIATE_HOOK, so renaming it back to
ERR_MISSING_DYNAMIC_INSTANTIATE_HOOK is a semver-patch fix.

Refs: nodejs#21440
Refs: nodejs#21470
Refs: nodejs#16874
Refs: nodejs#18857
@targos
targos force-pushed the doc-errcodes-remove-unused2 branch from d7fa6c2 to 75bf6a8 Compare June 30, 2018 12:58
@targos

targos commented Jun 30, 2018 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

CI: https://ci.nodejs.org/job/node-test-pull-request/15685/
Edit: resumed Windows: https://ci.nodejs.org/job/node-test-commit-windows-fanned/19056/

All reactions

Sorry, something went wrong.

Uh oh!

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

@ChALkeR

ChALkeR commented Jun 30, 2018

Copy link
Copy Markdown
Member Author

@targos Thanks for that again!

All reactions

Sorry, something went wrong.

Uh oh!

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

@targos

targos commented Jun 30, 2018

Copy link
Copy Markdown
Member

No problem!
And trying Windows again... https://ci.nodejs.org/view/All/job/node-test-commit-windows-fanned/19059/

All reactions

Sorry, something went wrong.

Uh oh!

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

@ChALkeR ChALkeR mentioned this pull request Jun 30, 2018
loader: refactor loader #16874
Closed
3 tasks done
@targos

targos commented Jun 30, 2018

Copy link
Copy Markdown
Member

Landed in 7bdc694

ChALkeR reacted with hooray emoji
All reactions
  • 🎉 1 reaction

Sorry, something went wrong.

Uh oh!

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

@targos targos closed this Jun 30, 2018
targos pushed a commit that referenced this pull request Jun 30, 2018
@ChALkeR @targos
errors: fix ERR_MISSING_DYNAMIC_INSTANTIATE_HOOK
7bdc694
This restores a broken and erroneously removed error, which was
accidentially renamed to ERR_MISSING_DYNAMIC_INTSTANTIATE_HOOK (notice
the "INTST" vs "INST") in 921fb84
(PR #16874) and then had documentation and implementation removed under
the old name in 6e1c25c (PR #18857),
as it appeared unused.

This error code never worked or was documented under the mistyped name
ERR_MISSING_DYNAMIC_INTSTANTIATE_HOOK, so renaming it back to
ERR_MISSING_DYNAMIC_INSTANTIATE_HOOK is a semver-patch fix.

Refs: #21440
Refs: #21470
Refs: #16874
Refs: #18857

PR-URL: #21493
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Vse Mozhet Byt <[email protected]>
Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ron Korving <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
@ChALkeR

ChALkeR commented Jun 30, 2018

Copy link
Copy Markdown
Member Author

Node.js v10.x is affected.
v8.x — only after #16874 is backported (if it gets backported).

All reactions

Sorry, something went wrong.

Uh oh!

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

targos pushed a commit that referenced this pull request Jul 3, 2018
@ChALkeR @targos
errors: fix ERR_MISSING_DYNAMIC_INSTANTIATE_HOOK
1e5afb7
This restores a broken and erroneously removed error, which was
accidentially renamed to ERR_MISSING_DYNAMIC_INTSTANTIATE_HOOK (notice
the "INTST" vs "INST") in 921fb84
(PR #16874) and then had documentation and implementation removed under
the old name in 6e1c25c (PR #18857),
as it appeared unused.

This error code never worked or was documented under the mistyped name
ERR_MISSING_DYNAMIC_INTSTANTIATE_HOOK, so renaming it back to
ERR_MISSING_DYNAMIC_INSTANTIATE_HOOK is a semver-patch fix.

Refs: #21440
Refs: #21470
Refs: #16874
Refs: #18857

PR-URL: #21493
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Vse Mozhet Byt <[email protected]>
Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ron Korving <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
@targos targos mentioned this pull request Jul 3, 2018
v10.6.0 proposal #21629
Merged
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
@benjamingr benjamingr benjamingr approved these changes
@lpinca lpinca lpinca approved these changes
@trivikr trivikr trivikr approved these changes
@bmeck bmeck Awaiting requested review from bmeck
@BridgeAR BridgeAR Awaiting requested review from BridgeAR
+4 more reviewers
@ronkorving ronkorving ronkorving approved these changes
@TimothyGu TimothyGu TimothyGu approved these changes
@devsnek devsnek devsnek approved these changes
@vsemozhetbyt vsemozhetbyt vsemozhetbyt approved these changes
Reviewers whose approvals may not affect merge requirements

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. errors Issues and PRs related to JavaScript errors originating in Node.js core. esm Issues and PRs related to the ECMAScript Modules implementation.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

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

11 participants

@ChALkeR @nodejs-github-bot @jasnell @targos @ronkorving @benjamingr @lpinca @TimothyGu @devsnek @vsemozhetbyt @trivikr
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.