Skip to content

Conversation

@adamraine
Copy link
Contributor

Doc

@adamraine adamraine requested a review from a team as a code owner April 15, 2022 21:06
@adamraine adamraine requested review from connorjclark and removed request for a team April 15, 2022 21:06
@connorjclark connorjclark changed the title cli: use fr as default cli: use fraggle rock runner by default Apr 15, 2022
@connorjclark connorjclark changed the title cli: use fraggle rock runner by default cli: use fraggle rock runner by default, deprecate legacy navigation runner Apr 15, 2022
type: 'boolean',
default: false,
describe: '[EXPERIMENTAL] Use the new Fraggle Rock navigation runner to gather results.',
describe: '[DEPRECATED] Use the legacy navigation runner to gather results.',
Copy link
Collaborator

@connorjclark connorjclark Apr 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Say more about why you might want to use this? I don't think we have any specific scenarios where FR runner would break so maybe just say "only use if default runner doesn't work, and please file a bug"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we have any specific scenarios where FR runner would break

The new config format would break some clients. I'll add a note about that.

This might be a good time to update the config docs, so we know what our story will be.

@connorjclark
Copy link
Collaborator

Can you investigate the CI failures?

cd "$(dirname "$0")"

node node_modules/.bin/lighthouse --config-path=custom-config.js https://www.example.com --output=json |
node node_modules/.bin/lighthouse --legacy-navigation --config-path=custom-config.js https://www.example.com --output=json |
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This recipe won't work in FR because it uses driver.wsEndpoint() which doesn't exist on the FR driver. We could add the function, or instead we could add a driver.getPage so users can easily get the correct puppeteer page to use.

That will be done in a separate PR as part of our docs updates.

@adamraine adamraine merged commit 6194855 into master May 3, 2022
@adamraine adamraine deleted the fr-as-default-cli branch May 3, 2022 18:23
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.

2 participants