Skip to content
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

build: fail on instrumentation errors #21071

Closed
wants to merge 1 commit into from
Closed

Conversation

bcoe
Copy link
Contributor

@bcoe bcoe commented Jun 1, 2018

nyc was silently failing to instrument new language features, resulting in a failure to instrument console.js.

the actual underlying issues are discussed and addressed here:

babel/babel#8075,
istanbuljs/istanbuljs#174,
istanbuljs/istanbuljs#175

In this pull request we enable nyc's logging and new "exit on failure" feature to ensure that we catch behavior like this immediately in the future.

see #20952

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

CC: @BridgeAR, @maclover7

nyc was silently failing to instrument new language features,
resulting in a failure to instrument console.js.

Refs: nodejs#20952
@nodejs-github-bot nodejs-github-bot added the build Issues and PRs related to build files or the CI. label Jun 1, 2018
@apapirovski
Copy link
Member

@targos targos added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jun 25, 2018
@bcoe
Copy link
Contributor Author

bcoe commented Jun 25, 2018

Landed in ba4f5e9

@bcoe bcoe closed this Jun 25, 2018
@bcoe bcoe deleted the fix-20952 branch June 25, 2018 23:30
bcoe pushed a commit that referenced this pull request Jun 25, 2018
nyc was silently failing to instrument new language features,
resulting in a failure to instrument console.js.

Refs: #20952
PR-URL: #21071
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Rebecca Turner <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Jon Moss <[email protected]>
targos pushed a commit that referenced this pull request Jun 26, 2018
nyc was silently failing to instrument new language features,
resulting in a failure to instrument console.js.

Refs: #20952
PR-URL: #21071
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Rebecca Turner <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Jon Moss <[email protected]>
@targos targos mentioned this pull request Jul 3, 2018
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. build Issues and PRs related to build files or the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants