-
Notifications
You must be signed in to change notification settings - Fork 9.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
core(unused-javascript): check for SourceMaps before trying to use #10634
Conversation
FWIW, it still would have required a ts-ignore and manual catching in review because it's an optional artifact ;) |
as for testing, how would we feel about running the default config and just asserting no audits threw an error? |
I thought someone might call me out on that :) I did that PR before I made optional artifacts a thing, so it was just a matter of updating the PR before landing. the optional bit wasn't a technical issue, just wasn't a thing yet. |
we must do something close to this already eh? |
do we? 🤔 I don't think so. smoke for specific things, but we craft the configs usually. cli run-test doesn't check all the audits for errors and it runs on chrome://version so some might actually throw on that anyway |
Part of the artifact contract is that (though since the |
what do you think of the ⬆️ @connorjclark |
It being limited to internal use is not an inherent property on the "optional artifact" feature, that's just the state of the single usage we have so far (sidenote: apparently My only point was that I think #9946 could have helped, and I think supporting the "optional" bits on the |
I mean it's called
The issue is that But as I said above, In any case, it seems like everyone is some level of ok with living with this for now so we can move on to the next thing :) |
|
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
@paulirish why does build tracker keep failing |
I think #10387 broke this. unused-javascript always errors in the default config.
FWIW, #9946 would have caught this. Unfortunately, none of our tests did.