MINOR: rat should depend on processMessages task#13854
Conversation
|
Similar to #13316. |
|
This problem is annoying and real. Thank you for starting a PR to fix this. Another example build that fails with similar problems: https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka-pr/detail/PR-13676/5/pipeline However, I am wondering if an alternative way to do it is: Could we create a new root level task called and then, This will ensure that rat will depend on any future new subtasks for Thoughts? |
|
I just encountered another idea. Just put Line 211 in e1d5992 You can verify the dependency using: and compileJava depends on processMessages using |
|
@divijvaidya I just push another approach. It avoids the compilation and the manual dependencies. Let me know what you think. |
|
This is perfect. I was trying a similar approach but somehow my Can you please verify that it is working fine by running |
|
divijvaidya
left a comment
There was a problem hiding this comment.
Perfect! Thank you for making this change. I looked into our gradle file today and it really needs refactoring since quite a lot of logic can be combined as we did today. Perhaps, for another day.
|
The number if failed tests is scary but none of them are related to this change. |
This fix the following issue that we occasionally see in builds.
Validated manually as well:
Committer Checklist (excluded from commit message)