You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "dejan2609 (via GitHub)" <gi...@apache.org> on 2026/07/28 12:56:57 UTC

[PR] KAFKA-20851 spotless gradle plugin version update: 8.4.0 -->> 8.9.0 [kafka]

dejan2609 opened a new pull request, #22973:
URL: https://github.com/apache/kafka/pull/22973

   See KAFKA-20851 for more details (and testing procedure).
   
   Note: verified locally:
    - `./gradlew build -x test` passes (spotlessCheck + checkstyle + spotbugs + compile all green)
    - `./gradlew clean spotlessApply --rerun-tasks --no-build-cache` ran 700 times with 0 failures
   
   Testing ideas are borrowed from these PR's:
   - #22012
   - #22025
   
   Release notes links:
    - https://github.com/diffplug/spotless/releases/tag/gradle%2F8.9.0
    - https://github.com/diffplug/spotless/releases/tag/gradle%2F8.8.0
    - https://github.com/diffplug/spotless/releases/tag/gradle%2F8.7.0
    - https://github.com/diffplug/spotless/releases/tag/gradle%2F8.6.0
    - https://github.com/diffplug/spotless/releases/tag/gradle%2F8.5.1
    - https://github.com/diffplug/spotless/releases/tag/gradle%2F8.5.0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-20851 spotless gradle plugin version update: 8.4.0 -->> 8.9.0 [kafka]

Posted by "dejan2609 (via GitHub)" <gi...@apache.org>.
dejan2609 closed pull request #22973: KAFKA-20851 spotless gradle plugin version update: 8.4.0 -->> 8.9.0
URL: https://github.com/apache/kafka/pull/22973


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-20851 spotless gradle plugin version update: 8.4.0 -->> 8.9.0 [kafka]

Posted by "dejan2609 (via GitHub)" <gi...@apache.org>.
dejan2609 commented on PR #22973:
URL: https://github.com/apache/kafka/pull/22973#issuecomment-5116057156

   I'll rebase (conflicts with trunk must be resolved).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-20851 spotless gradle plugin version update: 8.4.0 -->> 8.9.0 [kafka]

Posted by "dejan2609 (via GitHub)" <gi...@apache.org>.
dejan2609 commented on PR #22973:
URL: https://github.com/apache/kafka/pull/22973#issuecomment-5202864379

   Update: verified once more locally (on top of Gradle 9.6.1 that was recently merged into trunk):
    - `./gradlew build -x test` passes (spotlessCheck + checkstyle + spotbugs + compile all green) :white_check_mark: 
    - `./gradlew clean spotlessApply --rerun-tasks --no-build-cache` ran 1000 times with 0 failures :white_check_mark: 
   
   ```
   dejan@dejan:~/kafka$ cat repeatUntilBuildFails.sh 
   #!/bin/bash
   
   counter=0
   while ./gradlew clean spotlessApply --rerun-tasks --no-build-cache; do
       ((counter++))
       echo "**************************************************************************"
       echo "### Build succeeded (execution number: $counter) -->> running again... ###"
       echo "**************************************************************************"
   done
   
   ((counter++))
   echo ">>> Build failed on execution number: $counter at $(date) <<<"
   dejan@dejan:~/kafka$ date
   Tue 28 Jul 14:44:06 CEST 2026
   dejan@dejan:~/kafka$
   dejan@dejan:~/kafka$ cat repeatUntilBuildFails.sh 
   #!/bin/bash
   
   counter=0
   while ./gradlew clean spotlessApply --rerun-tasks --no-build-cache; do
       ((counter++))
       echo "**************************************************************************"
       echo "### Build succeeded (execution number: $counter) -->> running again... ###"
       echo "**************************************************************************"
   done
   
   ((counter++))
   echo ">>> Build failed on execution number: $counter at $(date) <<<"
   dejan@dejan:~/kafka$ date
   Thu  6 Aug 11:28:39 CEST 2026
   dejan@dejan-HP-ProBook-450-G7:~/kafka$
   ```
   
   ```
   BUILD SUCCESSFUL in 5s
   207 actionable tasks: 207 executed
   Consider enabling configuration cache to speed up this build: https://docs.gradle.org/9.6.1/userguide/configuration_cache_enabling.html
   **************************************************************************
   ### Build succeeded (execution number: 1002) -->> running again... ###
   **************************************************************************
   
   > Configure project :
   Starting build with version 4.4.0-SNAPSHOT (commit id 11b3ec95) using Gradle 9.6.1, Java 25 and Scala 2.13.18
   Build properties: ignoreFailures=false, maxParallelForks=8, maxScalacThreads=8, maxTestRetries=0
   
   [Incubating] Problems report is available at: file:///home/dejan/kafka/build/reports/problems/problems-report.html
   
   Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.
   
   You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
   
   For more on this, please refer to https://docs.gradle.org/9.6.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
   
   BUILD SUCCESSFUL in 5s
   207 actionable tasks: 207 executed
   Consider enabling configuration cache to speed up this build: https://docs.gradle.org/9.6.1/userguide/configuration_cache_enabling.html
   **************************************************************************
   ### Build succeeded (execution number: 1003) -->> running again... ###
   **************************************************************************
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-20851 spotless gradle plugin version update: 8.4.0 -->> 8.9.0 [kafka]

Posted by "dejan2609 (via GitHub)" <gi...@apache.org>.
dejan2609 commented on PR #22973:
URL: https://github.com/apache/kafka/pull/22973#issuecomment-5195496298

   I'll rebase this onto trunk (Gradle version changed from 9.4.1 to 9.6.1) and do some test locally.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-20851 spotless gradle plugin version update: 8.4.0 -->> 8.9.0 [kafka]

Posted by "dejan2609 (via GitHub)" <gi...@apache.org>.
dejan2609 commented on PR #22973:
URL: https://github.com/apache/kafka/pull/22973#issuecomment-5104475759

   Build results (testing in a loop for a 700 times): :white_check_mark: 
   ```
   BUILD SUCCESSFUL in 4s
   207 actionable tasks: 207 executed
   Consider enabling configuration cache to speed up this build: https://docs.gradle.org/9.4.1/userguide/configuration_cache_enabling.html
   **************************************************************************
   ### Build succeeded (execution number: 701) -->> running again... ###
   **************************************************************************
   
   > Configure project :
   Starting build with version 4.4.0-SNAPSHOT (commit id 157bbd19) using Gradle 9.4.1, Java 25 and Scala 2.13.18
   Build properties: ignoreFailures=false, maxParallelForks=8, maxScalacThreads=8, maxTestRetries=0
   │███████████████│ 100% CONFIGURING [1s]
   > IDLE
   ^C>>> Build failed on execution number: 702 at Tue 28 Jul 14:43:45 CEST 2026 <<<
   dejan@dejan:~/kafka$ cat repeatUntilBuildFails.sh 
   #!/bin/bash
   
   counter=0
   while ./gradlew clean spotlessApply --rerun-tasks --no-build-cache; do
       ((counter++))
       echo "**************************************************************************"
       echo "### Build succeeded (execution number: $counter) -->> running again... ###"
       echo "**************************************************************************"
   done
   
   ((counter++))
   echo ">>> Build failed on execution number: $counter at $(date) <<<"
   dejan@dejan:~/kafka$ date
   Tue 28 Jul 14:44:06 CEST 2026
   dejan@dejan:~/kafka$
   dejan@dejan:~/kafka$ cat repeatUntilBuildFails.sh 
   #!/bin/bash
   
   counter=0
   while ./gradlew clean spotlessApply --rerun-tasks --no-build-cache; do
       ((counter++))
       echo "**************************************************************************"
       echo "### Build succeeded (execution number: $counter) -->> running again... ###"
       echo "**************************************************************************"
   done
   
   ((counter++))
   echo ">>> Build failed on execution number: $counter at $(date) <<<"
   dejan@dejan:~/kafka$
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-20851 spotless gradle plugin version update: 8.4.0 -->> 8.9.0 [kafka]

Posted by "dejan2609 (via GitHub)" <gi...@apache.org>.
dejan2609 commented on PR #22973:
URL: https://github.com/apache/kafka/pull/22973#issuecomment-5296815568

   Closing in favor of #23164: spotless gradle plugin version will be handled there (along with some additional version updates).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-20851 spotless gradle plugin version update: 8.4.0 -->> 8.9.0 [kafka]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #22973:
URL: https://github.com/apache/kafka/pull/22973#issuecomment-5262041180

   A label of 'needs-attention' was automatically added to this PR in order to raise the
   attention of the committers. Once this issue has been triaged, the `triage` label
   should be removed to prevent this automation from happening again.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org