Repository navigation
Stop Release Drafter saving the Maven repository cache - #343
Merged
Merged
Conversation
Its detect-version job ran help:evaluate with cache: 'maven' and saved a 2 MB repository under the same key as Verify's Linux jobs. Release Drafter finishes first, so those jobs restored the stub and skipped their own save.
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.
Release Drafter's
detect-versionjob runshelp:evaluatewithcache: 'maven', so on every default-branch push it saves a 2 MB local repository undersetup-java-Linux-x64-maven-<pom hash>, the key Verify's Linux jobs use. It finishes first; the Linux jobs then restore the stub, report a primary-key hit and skip their own save, so they download their dependencies on every build until a POM changes.Seen across the estate on 2026-10-14: seven of the nineteen default-branch Maven repository caches are 2 MB stubs, in
maven,maven-archiver,maven-common-artifact-filters,maven-doxia-converterandmaven-jar-plugin.Verified: maven-doxia-converter run 38452597491 (Release Drafter) logs
Cache saved with the key: setup-java-Linux-x64-maven-6eb7f48e…at 21:16; Verify job 115490280972 restores that key (Cache Size: ~2 MB) and logsCache hit occurred on the primary key …, not saving cache.The stubs already saved stay until their key changes or they are deleted.