-
Notifications
You must be signed in to change notification settings - Fork 247
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
The PR checker should check DeveloperFixed Notes #295
base: main
Are you sure you want to change the base?
The PR checker should check DeveloperFixed Notes #295
Conversation
91af593
to
7077fe9
Compare
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.
Thanks for your changes!
@@ -118,6 +118,11 @@ def check_status_consistency(filename, row, i, log): | |||
else: | |||
check_pr_link(filename, row, i, log) | |||
|
|||
if row["Status"] == "DeveloperFixed": |
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 line and Line 123 can be combined
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.
Better yet you can simply add row["Status"] == "DeveloperFixed"
to Line 126 (Line 128 can then be triggered only for row["Status"] == ""
) and remove this whole if block
@@ -91,7 +91,7 @@ def check_status_consistency(filename, row, i, log): | |||
else: | |||
check_pr_link(filename, row, i, log) | |||
|
|||
if row["Status"] in ["InspiredAFix", "Skipped", "MovedOrRenamed"]: | |||
if row["Status"] in ["InspiredAFix", "Skipped", "MovedOrRenamed", "DeveloperFixed"]: |
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 assume that the desire to require Notes for DeveloperFixed status is to have people provide the information for when a flaky test was fixed.
Although, it is certainly nice if people would provide Notes detailing when the developer fixed a particular flaky test, I don't envision that being easy for most to provide. E.g., for someone that runs some flaky test detection tool on the latest version of the project and finds that a particular flaky test is no longer flaky, we do not want to limit the contribution of such information only if that person provides Notes to describe when the test is fixed by the developer.
Unless there are other reasons to add this requirement, I suggest removing this change from this PR.
Previously this wasn't happening, as visible in TestingResearchIllinois#294.
7077fe9
to
67a0479
Compare
Previously this wasn't happening, as visible in #294.