-
Notifications
You must be signed in to change notification settings - Fork 26k
fix up trymerge #80100
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
fix up trymerge #80100
Conversation
🔗 Helpful links
✅ No Failures (0 Pending)As of commit b327bb0 (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
janeyx99
left a comment
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 seems reasonable to me.
|
@pytorchbot merge |
|
@pytorchbot successfully started a merge job. Check the current status here |
|
Hey @zengk95. |
Summary: Addresses #80096 In the Github API, they don't set the parent conclusion to FAILURE if one of the jobs has a failure. It's stuck at null until all jobs finish, which isn't good for TTS on mergebot. Example GH response: <img width="827" alt="image" src="https://user-images.githubusercontent.com/34172846/175170084-de6bb419-925e-41a6-8c12-6732b35b6cab.png"> <img width="1264" alt="image" src="https://user-images.githubusercontent.com/34172846/175170180-c629ed4d-a174-4179-8321-1a192d1ec8f3.png"> In here, we check if there's a failing check within the checkruns and if it is, it'll set the workflow run conclusion to failure Pull Request resolved: #80100 Approved by: https://github.com/janeyx99, https://github.com/seemethere Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/0a06bf89dba68b738c0454b6f54556caf449ad6d Test plan from GitHub: Run the find_matching_merge_rule method and check that it throws a RunTimeError for pull on a certain PR <img width="1172" alt="image" src="https://user-images.githubusercontent.com/34172846/175170413-a28352c6-f518-4aa2-a068-d13df9f76268.png"> Reviewed By: atalman Differential Revision: D37387175 Pulled By: zengk95 fbshipit-source-id: 2dfc626ba7b36e710bda5af4ff61d834688d377e
|
Thank you for the fix, but please provide more details in PR title and avoid pictures when possible |
Addresses #80096
In the Github API, they don't set the parent conclusion to FAILURE if one of the jobs has a failure. It's stuck at null until all jobs finish, which isn't good for TTS on mergebot.
Example GH response:


In here, we check if there's a failing check within the checkruns and if it is, it'll set the workflow run conclusion to failure
Test Plan:
Run the find_matching_merge_rule method and check that it throws a RunTimeError for pull on a certain PR