-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Removed redundant ubuntu precommit check #8207
Removed redundant ubuntu precommit check #8207
Conversation
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## main #8207 +/- ##
============================================
+ Coverage 70.85% 70.98% +0.13%
- Complexity 56719 56802 +83
============================================
Files 4733 4733
Lines 268336 268336
Branches 39322 39322
============================================
+ Hits 190139 190490 +351
+ Misses 62146 61805 -341
+ Partials 16051 16041 -10 |
What exactly is the goal here? Currently we kick off |
The goal was to minimize running gradle check on jenkins if the build is failing in spotless check or precommit itself. But as you said and I also realized that this approach will increase the time for any PR as this flow is sequential. I am fine closing this up. |
One other thing, I've noticed that windows precommit can be a bit flaky and I would hate to have failures there gate the regular gradle check, which I think is the case with this proposed change. Unless we really need to reduce load on the CI infrastructure I think I'm not in favor of this change. One observation though, assuming that |
+1 to this.
but still |
@owaiskazi19 The behavior today is that the following workflows are kicked off concurrently:
Is that right? Assuming so, I'm suggesting we change it to:
because the ubuntu precommit is redundant. |
Sure, I can do that @andrross! This PR targeted about adding a dependency on |
1023eb9
to
1909997
Compare
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
1909997
to
9294d95
Compare
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
Gradle Check (Jenkins) Run Completed with:
|
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-8207-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 4c02dd185c3033c6fabf0c52b8b39a019d324ca4
# Push it to GitHub
git push --set-upstream origin backport/backport-8207-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/backport-2.x Then, create a pull request where the |
We are running precommit on only ubuntu on 2.x. |
* Run precommit before gradle check Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Removed redundant precommit for ubuntu Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Addressed PR comment Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> --------- Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
* Run precommit before gradle check Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Removed redundant precommit for ubuntu Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> * Addressed PR comment Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> --------- Signed-off-by: Owais Kazi <owaiskazi19@gmail.com> Signed-off-by: Shivansh Arora <hishiv@amazon.com>
Description
This PR removes the redundant ubuntu precommit action as precommit runs in ubuntu gradle check again.
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.