Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.2k
test: keep coverage reports after coverage-clean#15470
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
apapirovski commented Sep 19, 2017 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
ssbrewster commented Sep 19, 2017 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
TimothyGu commented Sep 20, 2017
Hmm, I'd rather have a separate target for "restore but doesn't actually clean".
@ssbrewster@apapirovski does that sound like something that would satisfy your use cases? |
ssbrewster commented Sep 20, 2017
@TimothyGu yes that would work for my use cases i just wonder whether we should run coverage-restore as part of the |
apapirovski commented Sep 20, 2017 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
I'm personally just not sure what the upside is of deleting the coverage reports, especially if they're in There are legitimate reasons to run (I'm fine with any other changes proposed around this behaviour but I would still like to be able to somehow clean & keep just coverage and have it be in |
BridgeAR commented Sep 27, 2017
I personally do not have a strong opinion about either suggested way but I think it is a good thing to make sure we have the possibility of keeping the coverage. @nodejs/tsc I think it would be good to weight in. |
apapirovski commented Oct 12, 2017 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Could we get some movement on this by any chance? Thanks! If this change is not wanted, I'm happy to close but would like to resolve one way or the other. |
jasnell commented Oct 13, 2017
thefourtheye commented Oct 15, 2017
I don't have a strong preference, but I am leaning towards the idea proposed by @TimothyGu. |
mcollina left a comment
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
Add coverage folder to .gitignore and remove it from the list of files & folders delete by coverage-clean.
7f674fc to dbda6bbCompareapapirovski commented Oct 18, 2017
@TimothyGu@thefourtheye would either of you like to make your objection official? Want to make sure since otherwise this can get merged. |
BridgeAR commented Nov 22, 2017
Seems like there are no strong objections and this can land. If someone objects later on we could change it again anyway. |
mhdawson left a comment
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
jasnell commented Nov 22, 2017
jasnell commented Nov 22, 2017
there's some red in the CI that should be looked at. |
apapirovski commented Nov 22, 2017
It's hard to imagine it's related given that it's this test: |
jasnell commented Nov 22, 2017
There's also this failure on freebsd... that has not failed in any other test I've seen today. Also likely unrelated but just want to confirm |
jasnell commented Nov 22, 2017
Ok, quick check through and there's really no way those could have been affected by this change. Will land as soon as CI finishes |
Add coverage folder to .gitignore and remove it from the list of files & folders delete by coverage-clean. PR-URL: #15470 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
jasnell commented Nov 22, 2017
Landed in c6b7052 |
Add coverage folder to .gitignore and remove it from the list of files & folders delete by coverage-clean. PR-URL: #15470 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
Add coverage folder to .gitignore and remove it from the list of files & folders delete by coverage-clean. PR-URL: #15470 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
MylesBorins commented Dec 19, 2017
Should this be backported to |
Add coverage folder to .gitignore and remove it from the list of files & folders delete by coverage-clean. PR-URL: #15470 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
Add coverage folder to .gitignore and remove it from the list of files & folders delete by coverage-clean. PR-URL: #15470 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
This PR adds the
coveragefolder to.gitignoreand removes it frommake coverage-clean. I feel like this is a useful change for anyone working on tests. It's nice to be able to keep the coverage reports to reference while writing tests without keeping the rest of the coverage instrumentation (which makes tests slow) and also without having to manually rename thecoveragedir (and then avoid adding it to commits).Checklist
Affected core subsystem(s)
test, build