Repository navigation
[MINOR] Key the CI build cache on the project version - #1038
Merged
the-other-tim-brown merged 1 commit intoNov 24, 2026
Merged
the-other-tim-brown merged 1 commit into
the-other-tim-brown merged 1 commit into
Conversation
The build cache extension does not hash the project version, so after the move to 0.6.0-SNAPSHOT it restored xtable-api and xtable-hudi-support-utils as 0.5.0-SNAPSHOT jars. Nothing installed the 0.6.0 jars, and Quarkus in xtable-service failed to resolve them whenever it was rebuilt.
vinishjail97
approved these changes
Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is the purpose of the pull request
Since the move to
0.6.0-SNAPSHOT(#1005), any PR that rebuilds xtable-service fails the Maven CI Build:This happens because the build cache extension leaves the project version out of a module's checksum. After the bump,
xtable-apiandxtable-hudi-support-utilsstill match their pre-bump checksums (a290d2b…andc00ef9d…). The cache restores them asxtable-api-0.5.0-SNAPSHOT.jarandxtable-hudi-support-utils-0.5.0-SNAPSHOT.jar, so no 0.6.0 jar of either module reaches the local repository. Most modules take these jars from the reactor, which still works. Quarkus'sgenerate-code-testsin xtable-service resolves them from the local repository instead, so it fails.mainis still green only because xtable-core and xtable-service are cache hits there too, which skipsgenerate-code-tests. #1031 and #1032 change xtable-core and both fail this way.Brief change log
restore-keysprefix. A version bump then starts from an empty build cache, and jars named for the old version can't be restored. The cost is one cold build onmainper version bump.Verify this pull request
This change only touches the CI workflow. This PR's own Maven CI Build has no build cache entry for the new key yet, so it does a cold build, including xtable-service's Quarkus code generation.
🤖 Generated with Claude Code