-
Notifications
You must be signed in to change notification settings - Fork 26
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
[Enhancement] Manual start gradle check
is required to merge anything
#4
Comments
Hi @dblock, Thanks for the feedback on this. I would not call it a bug, it is a design decision that we take, and for the time being it serves the CI by allowing admins to manually give a trigger to the check. Automated trigger would add unnecessary blocks and checks such as running We have discussed this approach many times, and for the time being it will keep this way until further discussion and better process being introduced. Thanks. |
start gradle check
is required to merge anythingstart gradle check
is required to merge anything
@peterzhuamazon a possible improvement related to this would be to allow admins to do |
@dblock The CI never triggers until you start gradle check. The reason you see the check in check tab is due to GitHub allows you to label a check as As of now I dont see a way to label checks per PR, only per Repo. Thanks. |
Thanks @peterzhuamazon for the details. I don't feel very strongly about any of this, just trying to reduce barriers for potential contributors. |
Moved to opensearch-build. Confirming, yes this is still a pain :( |
We've been cautious about the level of automation that is enabled by default - we will enable this and see if everything works well. |
@peterzhuamazon I'm OK pulling the trigger on this if you are, any concerns? |
I'm not Peter, but no time like the present to work things out :) |
The Peter hivemind has more openings, just requires a small name change |
Please! I must have typed |
I do have concerns since this will autotrigger on EVERY COMMIT, not EVERY PR. |
There should be one gradle check running per PR as long as there are newer commits. |
That would be how autotrigger work. |
Is this a problem with a lack of controls in the plugin, it seems like Is there scalable way we can add external contributors to a opensearch-project org team / list that occurs to you. E.g. is there a command like |
It will build once the second you create a PR, then build on every new commit coming in. |
I forget, do those gradle workers have access to credentials? Just double-checking, if they do, we can't auto-enable it (GHA does not give access to secrets on pull requests). |
I do not think it is having access to credentials. |
I am tempted to uncheck this setting, @peterzhuamazon will this start triggering builds for allow listed users but still require the |
After agreeing with both @dblock and @peternied we have removed the trigger and have Gradle Check autorun for EVERY SINGLE COMMIT in PRs. Thanks. |
Describe the bug
Before PR's are allowed to be merged the OpenSearch repository enforces running a CI task,
./gradlew check
, which runs full unit, integration, smoke, and varying cluster tests. This takes a very long time and consumes a lot of resources. To avoid becoming a bottleneck we introduced a manualstart gradle check
that a maintainer can kick off by adding a comment to a PR once a basic review of a PR has been made. This is a manual step.Expected behavior
No manual interaction from a maintainer other than approving/merging a PR.
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: