Repository navigation
Maven: a present-but-unavailable artifact drops its origin files before the -U rerun (Part of #8215) - #8989
Merged
Conversation
…efore the -U rerun (Part of #8215) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
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
A restore-key Maven cache hit can hold the Spring Boot parent POM tagged (
_remote.repositories) with another origin; Maven then reports(present, but unavailable)and asks Central again, where-Udoes not help under throttling.maven_exe.run_maven_retrying_resolutionnow deletes the_remote.repositoriesfiles of the local repo (-Dmaven.repo.local=or~/.m2/repository) before the-Urerun when that text appears, so Maven treats the cached files as installed. The text is also an explicit resolution-failure marker.Answer to the checklist question: a shard depends on Central for the parent only when it restored through a restore key (origin mismatch) or missed; an exact-key hit does not.
Checklist: done [c:eedd858c]
Class
Maven resolution failures that the local repository could answer. Sibling gaps: the workflows could delete
_remote.repositoriesunconditionally after the cache restore (det-sweep.yml, cics-crucible.yml, ports-compile.yml, equivalence-e2e.yml + pin test) instead of only on failure.Remaining slices
Tests
test_maven_resolution_retry.py,test_maven_callers_retry_8215.py,test_maven_exe_4939.pypass; ruff clean.Lessons for agents
None.
🤖 Generated with Claude Code