-
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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"]: | ||
|
||
# Should contain a note | ||
if row["Notes"] == "": | ||
|
@@ -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 commentThe 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 commentThe reason will be displayed to describe this comment to others. Learn more. Better yet you can simply add |
||
# Should contain either no PR Link or a valid one | ||
if not row["PR Link"] == "": | ||
check_pr_link(filename, row, i, log) | ||
|
||
if row["Status"] == "" and row["PR Link"] != "": | ||
check_pr_link(filename, row, i, log) | ||
log_std_error(filename, log, i, row, "Status should not be empty when a PR link is provided.") | ||
|
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.