-
Notifications
You must be signed in to change notification settings - Fork 93
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
Require 'ready' label for transformers tests #1079
Conversation
Signed-off-by: Domenic Barbuzzi <[email protected]>
👋 Hi! Thank you for contributing to llm-compressor. Please add the ready label when the PR is ready for review. Note: This is required to trigger the transformers tests. |
Commenting here: At this stage, all workflows/jobs except the |
Commenting after adding the 'ready' label: The |
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.
LGTM. One comment about the note we're providing to users
Signed-off-by: Domenic Barbuzzi <[email protected]>
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.
LGTM!
SUMMARY: In #1079, the transformers tests were put behind a 'ready' label on pull requests only. This PR updates that workflow to also run that test job on pushes to `main` (e.g. after a PR is merged). TEST PLAN: Changes tested externally. Signed-off-by: Domenic Barbuzzi <[email protected]>
SUMMARY:
This PR moves the
transformers-tests
job to its own workflow which only runs on a PR that has the 'ready' label. With this implementation, if the PR already has the 'ready' label when a new commit is pushed, the new commit will re-run the job. I also updated the PR comment workflow to note that the 'ready' label must be added to run this job.There are some visual warts/caveats that come with these triggers because the filtering cannot be done by the triggers, only the jobs:
Whenever a label is added or a commit is pushed, the workflow will still be triggered. However, if the PR does not have the 'ready' label, the
transformers-tests
job will be skipped. While the job being skipped means the runner/resources will not actually be used, it also means that the workflow/job will still show up in various places in the GitHub UI (Actions tab, PR checks). It will show as skipped, but it will still allow the green check mark because that appears as long as there are no failures.Basically, this means that reviews/people able to merge will need to pay closer attention to the jobs run on the PR to make sure that the
transformers-tests
job was run/not skipped.TEST PLAN:
Should affect this PR.