-
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
tests: add smoketest to capture microtask regression #8379
Conversation
needs lint fixes |
@@ -31,9 +31,9 @@ module.exports = [ | |||
requestedUrl: 'http://localhost:10200/tricky-main-thread.html?setTimeout', | |||
finalUrl: 'http://localhost:10200/tricky-main-thread.html?setTimeout', | |||
audits: { | |||
interactive: { | |||
'interactive': { |
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.
hmmmmmmmmmmmmm do we have to?
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.
@patrickhulce what do you want to do here? Is the smoke test failure expected or is something else still in progress?
details: { | ||
items: { | ||
0: { | ||
// TODO: requires async stacks, https://github.com/GoogleChrome/lighthouse/pull/5504 |
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.
seems like we don't need the TODO anymore? (// requires async stacks
might be worth keeping, though)
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.
oh yeah, I'll update this, but turns out async stacks are just one required part for this particular bug 😞
I'll file a new one to track progress.
The smoketest is accurately capturing the failure mode this test would have alerted us to, so that's good news. The bad news is Travis is running with July 2018 and earlier (example: 68.0.3410.0) Fall 2018 - February 2019 (examples: 70.0.3538.0, 71.0.3551.0, 73.0.3683.103) ? - March 19 2019 (example: 74.0.3729.0) March 20 2019 - April 18 2019 (example: 75.0.3766.0) April 18 2019 - Present (example: 76.0.3773.0) Good news is that because it was broken and fixed within 75 before branch I think we just need to wait for m74 until this can be merged (next Chrome stable). |
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.
soooooo, Travis is testing m74 and all seems good now? Good to merge?
Yeppers! |
Could we define the assertions for A score of 0.94 vs the expected <0.2 doesn't tell me as much as a numericValue of 3250 vs the expected value of Y would. I know I can calculate Y after determining how the score is calculated, but ew maths :) |
yeah sure @hoten , also chatting with paul the version of m75 that's in LR was indeed a broken (just a few hours before the fix IIRC) so it is catching good things |
Summary
There was a recent Chrome change where we lost all CPU time that was spent in microtasks. It's being fixed (https://bugs.chromium.org/p/chromium/issues/detail?id=953914), but we should have a test that would've caught this earlier.