-
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(legacy): convert some base artifacts to regular gatherers #14680
Conversation
* @return {LH.RawIcu<Array<LH.Result.StackPack>>} | ||
*/ | ||
function getStackPacks(pageStacks) { | ||
if (!pageStacks) return []; |
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.
We can reach this condition on error reports now
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.
Isn't that just because of removing the initial values in initializeBaseArtifacts ? Maybe add them back?
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.
We shouldn't use initializeBaseArtifacts
to subtly create a default value for some artifacts but not others IMO
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.
Yay for less flaky smokes!
Fixes #14678
I thought about putting bf-cache-failures in it's own pass, but that pass would probably require us to load the entire page without any shortcuts and/or require heavy modification to the legacy gather runner.
Instead, I chose to make the legacy runner more like the FR runner and just convert some base artifacts into regular artifacts.