-
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(fr): force use of devtools throttling in timespan mode #13013
Conversation
d494ccb
to
fe72d0d
Compare
@@ -451,5 +462,4 @@ describe('Fraggle Rock Config', () => { | |||
}); | |||
|
|||
it.todo('should support plugins'); | |||
it.todo('should adjust default pass options for throttling method'); |
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.
this was just missed as part of #12873
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.
This shouldn't affect either of those bullets we currently have there, but I agree we should encourage consistent settings within flow reports (and possibly add toplevel warnings if they don't match in critical ways) |
Summary
Prevents audits from being marked as notApplicable/inconsistent when running in timespan mode by forcing use of devtools throttling and fixes our TBT audit to work in timespan mode.
I wrestled with the idea of a warning, but ultimately decided against it for this PR. The current flow of single-config means a warning would be printed every time, whether user action was required or not, or the logic for overrides is severed from the warning logic (overrides occur after resolution, warning would need to come before resolution to identify if it was manually specified as well as be default-config/preset aware, which expands the scope for what IMO, is a low value return).
If others feel strongly about the warning, happy to add to the burndown list for future.
Related Issues/PRs
ref #11313