-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Make GHA for consistency cancel_redundant_workflow return useful err msg #55961
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
Conversation
💊 CI failures summary and remediationsAs of commit 382e451 (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions to the (internal) Dr. CI Users group. |
@janeyx99 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
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.
High-level question: this run
script is getting kind of long, and putting it directly into the workflow YAML has a couple disadvantages:
- it doesn't get checked by our Python linters
- it's less convenient to run locally
Why not put this code directly into .github/scripts/generate_workflow_names.py
?
Good point, we probably should have done this from the start |
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.
Looks great, thanks!
@janeyx99 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
…msg (pytorch#55961) Summary: This way, the user gets more useful actionable results from the GHA. Pull Request resolved: pytorch#55961 Test Plan: CI Reviewed By: samestep Differential Revision: D27749013 Pulled By: janeyx99 fbshipit-source-id: bb0edbcdab29ba8ef99005f6fcf52de6782b468d
This way, the user gets more useful actionable results from the GHA.
Test plan:
CI