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

core(legacy): convert some base artifacts to regular gatherers #14680

Merged
merged 5 commits into from
Jan 17, 2023

Conversation

adamraine
Copy link
Member

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.

@adamraine adamraine requested a review from a team as a code owner January 13, 2023 22:01
@adamraine adamraine requested review from connorjclark and removed request for a team January 13, 2023 22:01
* @return {LH.RawIcu<Array<LH.Result.StackPack>>}
*/
function getStackPacks(pageStacks) {
if (!pageStacks) return [];
Copy link
Member Author

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

Copy link
Collaborator

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?

Copy link
Member Author

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

Copy link
Collaborator

@connorjclark connorjclark left a 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!

@adamraine adamraine changed the title core(legacy): collect base artifacts as regular gatherers core(legacy): convert some base artifacts to regular gatherers Jan 17, 2023
@adamraine adamraine merged commit a07332b into main Jan 17, 2023
@adamraine adamraine deleted the legacy-always-run-artifacts branch January 17, 2023 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bfcache load is disturbing stacks collection in legacy navigation
3 participants