-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
chore(flakiness): update flakiness format #4808
Conversation
This patch: - updates Flakiness Dashboard format to define version per-build and to pass COMMIT information - drops the README.md generation - we'll move on to a designated flakiness dashboard viewer
NOTE: Prior to landing this commit, I'll migrate all the current flakiness data to the format. Edit: data updated in flakiness repo. |
Migrate to puppeteer/puppeteer#4808
Migrate to puppeteer/puppeteer#4808
Migrate to puppeteer/puppeteer#4808
Migrate to puppeteer/puppeteer#4808
Migrate to puppeteer/puppeteer#4808
Migrate to puppeteer/puppeteer#4808
Migrate to puppeteer/puppeteer#4808
Migrate to puppeteer/puppeteer#4808
@@ -111,6 +111,8 @@ new Reporter(testRunner, { | |||
showSlowTests: process.env.CI ? 5 : 0, | |||
}); | |||
|
|||
utils.initializeFlakinessDashboardIfNeeded(testRunner); | |||
testRunner.run(); | |||
(async() => { |
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.
nit: can you move this to the top of this file, like line 20. Its easier to reason about this file if the whole thing is async, rather than just one step at the end.
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.
I tried that initially, but didn't like extra indentation. Does this bother you strongly?
commit: { | ||
sha, | ||
timestamp, | ||
url: `https://github.com/GoogleChrome/puppeteer/commit/${sha}`, |
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.
is baking in the repo URL necessary here? The commit hash should be enough.
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.
Don't want to rely on Github URL schemes too much in flakiness viewer. This comes for free since this is per-build only (and there are not many builds)
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.
What happens if we ever move the repo?
I think it bothers me more than the indentation bothers you, but I don’t
feel super strongly about it.
…On Tue, Aug 6, 2019 at 3:25 PM Andrey Lushnikov ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In test/test.js
<#4808 (comment)>
:
> @@ -111,6 +111,8 @@ new Reporter(testRunner, {
showSlowTests: process.env.CI ? 5 : 0,
});
-utils.initializeFlakinessDashboardIfNeeded(testRunner);
-testRunner.run();
+(async() => {
I tried that initially, but didn't like extra indentation. Does this
bother you strongly?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#4808>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABDI62JTHHQJYXYXKGD6PTLQDH27HANCNFSM4IJP335Q>
.
|
I'll land this now and will discuss the reason for your disturbance offline |
This patch: - updates Flakiness Dashboard format to define version per-build and to pass COMMIT information - drops the README.md generation - we'll move on to a designated flakiness dashboard viewer
This was missing in puppeteer#4808
This patch:
and to pass COMMIT information
dashboard viewer