pytorch
6015987d - Added edge case checking in isGreen (#79565)

Commit
2 years ago
Added edge case checking in isGreen (#79565) Relates to #76700 **Overview**: One edge case not accounted for in the original logic of `isGreen` was for commits with no workflow checks. Similarly, if any of the required checks are not present (ex: if all of the pull checks are skipped), the workflow should not be promoteble. A commit should only be promoteable if there is it least one workflow check from each required group present (i.e. none of them are skipped) **Test Plan:** Verify that commits on the HUD with no workflow checks are not considered promote-able. Added a test case with no workflows in `test_print_latest_commits.py` Pull Request resolved: https://github.com/pytorch/pytorch/pull/79565 Approved by: https://github.com/seemethere
Author
Committer
Parents
Loading