Open whesse opened 4 years ago
We can also recognize special lines in CL description, something like
Fixes language_2/foo/bar_test
Fixes language_2/foo/bar_test in dartk-linux-release-x64
Fixes language_2/foo/bar_test in dartk-*-x64, dartkp-*
and reset flakiness status and all previous approvals for the mentioned test and mentioned configurations before interpreting the results. This would work both for CQ and CI cases and would make sure that if CQ jobs are green then the test was actually fixed (and its failure is not hidden by either flakiness or approvals).
I like @alexmarkov's suggestion. Seems straightforward and clearly shows the intent to the reviewer.
Work on this issue is started by adding an "inactive" field to records in flaky.json that have been marked as not flaky, and changing the current removal of flaky records that have been stable for 100 runs to marking the records as inactive.
When an inactive flaky record becomes flaky again, mark the field as no longer inactive, and increment a "reactivated_count" field.
Make tools that read flaky.json recognize the "inactive" field.
@alexmarkov said:
I want to get this feature added as soon as possible. Proposed implementation:
Relevant to #53 and #4.