-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
The PRs which are not approved run subset of tests #11828
The PRs which are not approved run subset of tests #11828
Conversation
cc: @TobKed - > once we have the auto-labeling and re-triggering the workflow, this one implements only running one default combo of all tests. |
@dimberman @ashb @kaxil @turbaszek -> once we have the labeling in place, this one limits not only the actual tests run but also the number of images prepared. We only need and run one image (the default one) for such build, so the savings will be rather cool. |
5de4149
to
5cd3fbf
Compare
5cd3fbf
to
397740d
Compare
397740d
to
66c98df
Compare
cc: @TobKed -> testing without the selective checks and comments for now :). |
75760bb
to
6a64d1a
Compare
OK. We have it working with @TobKed. Please take a look. I'd love to merge it for tomorrow to see whether we will have some improvements even before moving to self-hosted runners. It works as follows (and I will describe it in separate PR):
Also a new check is added that will remain "in-progress" until you actually rebase the request or commiter re-runs the check: I think at this point we might even decide to merge such request in case of simple changes that do not introduce too big of a risk. Maybe even we can change the comment to explicitly say so and leave the decision to committer.
And it can be merged immediately |
6a64d1a
to
72cdcc0
Compare
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.
I released today v1.1 of TobKed/label-when-approved-action
I also realised that I have to do an exception for image building in v1-10-stable/test branch. Pushing a fixup with both shortly. |
72cdcc0
to
ab0edd3
Compare
The Workflow run is cancelling this PR. It has some failed jobs matching ^Pylint$,^Static checks,^Build docs$,^Spell check docs$,^Backport packages$,^Provider packages,^Checks: Helm tests$,^Test OpenAPI*. |
ab0edd3
to
f47b09d
Compare
Shiny-new version! Here is the final description of how it works (note that we will not see that behavior here - only after we merge it)! All the PRs before approval will run either "small" set of tests (default matrix values) or not at all (in case of doc-only changes). Then interesting things will happen after PR gets approval from the committer:
|
The Workflow run is cancelling this PR. It has some failed jobs matching ^Pylint$,^Static checks,^Build docs$,^Spell check docs$,^Backport packages$,^Provider packages,^Checks: Helm tests$,^Test OpenAPI*. |
The Workflow run is cancelling this PR. It has some failed jobs matching ^Pylint$,^Static checks,^Build docs$,^Spell check docs$,^Backport packages$,^Provider packages,^Checks: Helm tests$,^Test OpenAPI*. |
f47b09d
to
5b19c6a
Compare
This PR is an implementation of optimisation - to only run default values for build matrix in case PR does not have "okay to test" label. This "okay to test" label is set when the PR gets approved but it was not approved before, also then a comment is generated urging the committer to rebase the PR to run full set of tests. Additionally a check is added (in-progress) that makes the PR not yet ready to be merged. Only after re-running it it will become truly readty to be merged.
5b19c6a
to
1864187
Compare
cc: @TobKed -> merged |
This PR is an implementation of optimisation - to only run default values for build matrix in case PR does not have "okay to test" label. This "okay to test" label is set when the PR gets approved but it was not approved before, also then a comment is generated urging the committer to rebase the PR to run full set of tests. Additionally a check is added (in-progress) that makes the PR not yet ready to be merged. Only after re-running it it will become truly readty to be merged.
This PR is an implementation of optimisation - to only run default values for build matrix in case PR does not have "okay to test" label. This "okay to test" label is set when the PR gets approved but it was not approved before, also then a comment is generated urging the committer to rebase the PR to run full set of tests. Additionally a check is added (in-progress) that makes the PR not yet ready to be merged. Only after re-running it it will become truly readty to be merged.
This PR is an implementation of optimisation - to only run default values for build matrix in case PR does not have "okay to test" label. This "okay to test" label is set when the PR gets approved but it was not approved before, also then a comment is generated urging the committer to rebase the PR to run full set of tests. Additionally a check is added (in-progress) that makes the PR not yet ready to be merged. Only after re-running it it will become truly readty to be merged. (cherry picked from commit 37eaac3)
This PR is an implementation of optimisation - to only run default values for build matrix in case PR does not have "okay to test" label. This "okay to test" label is set when the PR gets approved but it was not approved before, also then a comment is generated urging the committer to rebase the PR to run full set of tests. Additionally a check is added (in-progress) that makes the PR not yet ready to be merged. Only after re-running it it will become truly readty to be merged. (cherry picked from commit 37eaac3)
This PR is an implementation of optimisation - to only run default values for build matrix in case PR does not have "okay to test" label. This "okay to test" label is set when the PR gets approved but it was not approved before, also then a comment is generated urging the committer to rebase the PR to run full set of tests. Additionally a check is added (in-progress) that makes the PR not yet ready to be merged. Only after re-running it it will become truly readty to be merged. (cherry picked from commit 37eaac3)
This PR is an implementation of optimisation - to only run default values for build matrix in case PR does not have "okay to test" label. This "okay to test" label is set when the PR gets approved but it was not approved before, also then a comment is generated urging the committer to rebase the PR to run full set of tests. Additionally a check is added (in-progress) that makes the PR not yet ready to be merged. Only after re-running it it will become truly readty to be merged. (cherry picked from commit 37eaac3)
This PR is an implementation of optimisation - to only run default values for build matrix in case PR does not have "okay to test" label. This "okay to test" label is set when the PR gets approved but it was not approved before, also then a comment is generated urging the committer to rebase the PR to run full set of tests. Additionally a check is added (in-progress) that makes the PR not yet ready to be merged. Only after re-running it it will become truly readty to be merged. (cherry picked from commit 37eaac3)
This PR is an implementation of optimisation - to only run
default values for build matrix in case PR does not have
"okay to test" label.
This "okay to test" label is set when the PR gets approved
but it was not approved before, also then a comment is generated
urging the committer to rebase the PR to run full set of tests.
Additionally a check is added (in-progress) that makes the PR
not yet ready to be merged. Only after re-running it it will
become truly ready to be merged.
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.