Repository navigation
CI: a cached Maven miss earns the -U rerun; a rerun det shard's artifact replaces the failed attempt's (Part of #8215) - #8216
Merged
Conversation
One Central miss on a shared local repository made Maven answer every later build of the job with its cached-miss text, which matched no resolution marker, so none was retried: det sweep run 42721961353 lost shard 6/6 (0 of 30). Co-Authored-By: Claude Fable 5.2 <[email protected]>
…rt of #8215) A Db2 shard that fails before its sweep still uploads timing.json as det-sweep-db2-N. After gh run rerun --failed the run held two artifacts of that name and the det job took the first attempt's (no sweep.json): every case of a shard that had passed read 'no result (its shard did not report)' (run 42721961353, attempt 4). Co-Authored-By: Claude Fable 5.2 <[email protected]>
3 tasks done
squid-protocol
marked this pull request as ready for review
November 10, 2026 12:32
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Contributor
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.
Part of #8215
What
maven_exe.run_maven_retrying_resolution(#7561) reruns a build once with-Uwhen Maven could not fetch a dependency. Its markers missed Maven's text for a miss it cached earlier in the same local repository ("... was not found in during a previous attempt. This failure was cached in the local repository and resolution is not reattempted ..."). So after one Central miss, every later build of the job failed with no retry.Seen in Det Sweep run 42721961353 (PR #8198), shard 6/6: the first build missed
spring-boot-starter-parent:pom:3.2.4on Central (retried once, still no answer), the other 29 got the cached-miss text and were not retried:det: 0/30 proven. The other 11 shards passed on the same restored cache.tests/tools/maven_exe.py: the markerThis failure was cached in the local repository.-Uis what makes Maven ask again.tests/tools/test_maven_resolution_retry.py: the real log line is told as a resolution failure and reruns with-U.Second cause from the same run (#8215 item 3): a Db2 shard that fails before its sweep still uploads
det-sweep-db2-Nwith onlytiming.json. Aftergh run rerun --failed(what the shepherd's infra retry runs) the run held two artifacts of that name, the det job downloaded the first attempt's, and every case of the shard that had just passed readno result (its shard did not report)..github/workflows/det-sweep.yml:overwrite: trueon the four per-shard uploads (results and logs, both lanes), so a rerun's artifact replaces the failed attempt's.Class
Class: Maven resolution-failure wordings that earn the one retry. Members: "Could not find artifact", "Could not transfer artifact", "Connection reset", "Read timed out" (present), the cached-miss text (this PR). Compile and test failures still run once.
Evidence
pytest tests/tools/test_maven_resolution_retry.py tests/cobol_mainframe/test_java_subprocess_utf8.py: 55 passed.pr_gates.py --fast: 9/9 gates pass. No proof run: no case, harness output or translator code changes.Not tested:
overwrite: truereplacing an artifact of an earlier attempt of the same run. upload-artifact documents it as deleting a same-name artifact before the upload; the first infra rerun of a det shard after this merges shows whether it holds across attempts (onedet-sweep-db2-Nper shard in the run).Not in this PR
The other items of #8215: the aggregate showing why a case is NOT PROVEN when the Java side never built, the reconcile cron, and the same artifact shape in
evidence-refresh.ymlandcics-crucible.yml.Lessons for agents
A det shard that proves 0 of N in a few minutes with empty reasons is not a translator failure: read
det-sweep-logs-<n>/<case>/proof/java/maven.logfrom the run's artifacts before treating the red as real. A failed-jobs-only rerun reruns only the aggregate on the same shard results; rerun the whole run.Cross-repo: none.
🤖 Generated with Claude Code