wombatu-kun commented on code in PR #21106:
URL: https://github.com/apache/hudi/pull/21106#discussion_r4810829023
##########
.github/workflows/bot.yml:
##########
@@ -176,7 +181,12 @@ jobs:
java-version: '11'
distribution: 'temurin'
architecture: x64
- cache: maven
+ - name: Cache Maven repository
+ uses: actions/cache@v4
+ with:
+ path: ~/.m2/repository
+ key: maven-${{ runner.os }}-${{ matrix.scalaProfile }}-${{
matrix.sparkProfile }}-${{ matrix.flinkProfile }}-${{ hashFiles('**/pom.xml') }}
Review Comment:
The four Spark 3.5 jobs share this key despite building different reactors,
so the first successful writer can leave the cache incomplete for its siblings.
Please split the keys by dependency set, or use `actions/cache/restore` in the
siblings and a dedicated `actions/cache/save` job that resolves the union of
their dependencies.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]