-
Notifications
You must be signed in to change notification settings - Fork 4.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
Gradle Build Optimizations #24764
Gradle Build Optimizations #24764
Conversation
Assigning reviewers. If you would like to opt out of this review, comment R: @apilloud for label java. Available commands:
The PR bot will only process comments in the main thread (not review comments). |
Codecov Report
@@ Coverage Diff @@
## master #24764 +/- ##
==========================================
+ Coverage 70.94% 72.91% +1.96%
==========================================
Files 861 746 -115
Lines 104795 99264 -5531
==========================================
- Hits 74344 72374 -1970
+ Misses 28894 25524 -3370
+ Partials 1557 1366 -191
Flags with carried forward coverage won't be shown. Click here to find out more. see 434 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment R: @robertwb for label java. Available commands:
|
Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment R: @kennknowles for label java. Available commands:
|
Reminder, please take a look at this pr: @kennknowles @damccorm |
Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment R: @lukecwik for label java. Available commands:
|
Looks like a lot of tests are red. I didn't look into why, but it seems likely to do with this change? |
a6357da
to
2a07fa4
Compare
Some of the failures appear to be new intra-project dependency issues discovered by the upgrade to that analysis plugin. I suggest separating that upgrade from the gradle upgrade, if possible. |
2a07fa4
to
639b3b3
Compare
@kennknowles Thanks for the feedback. I rebased yesterday but didn't get a chance to analyze the results. I've removed the analysis plugin update from this PR. |
Run Java_GCP_IO_Direct PreCommit |
Seeing enough green that I am optimistic. Kicking the test that had an NPE. |
79e2d15
to
fc6d9eb
Compare
@damccorm apologies, I missed that this was merge conflicted. I've rebased the PR. |
Run Java_Spark3_Versions PreCommit |
1 similar comment
Run Java_Spark3_Versions PreCommit |
run java precommit |
Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment R: @Abacn for label java. Available commands:
|
R: @kennknowles |
(could you take this one to completion since you've started reviewing?) |
Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control |
Ha! If by "started review" you mean "kicked the tests" :-p |
Everything is green now but we have to resolve the conflicts. |
As configured before, the `configProperties` field has an absolute path sensitivity introduced by the reference to the suppressions file. This change causes the path to be relative to the project root, which can facilitate cache hits when absolute paths change (for example, when the build is run from a CI system and a remote cache is populated, then consumed from a local build). This refactoring matches recommendations found in the Gradle documentation for structuring Checkstyle configuration files: https://docs.gradle.org/current/userguide/checkstyle_plugin.html#sec:checkstyle_built_in_variables This change also configure Checkstyle via the `CheckstyleExtension` rather than the `Checkstyle` tasks
fc6d9eb
to
c032a38
Compare
@kennknowles, the conflicts should now be resolved ✅ |
Run Python_Coverage PreCommit |
Run Java_Amazon-Web-Services2_IO_Direct Precommit |
Run Java_PVR_Flink_Batch PreCommit |
Green. Hooray! |
This change includes a few Gradle Build optimizations, including:
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
addresses #123
), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, commentfixes #<ISSUE NUMBER>
instead.CHANGES.md
with noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI.