You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Recover Maven Central annotation processor rate limits - #3500
Recover from the Maven Central rate limit that stopped the trusted Social and TCP Proxy image builds before compilation. Both jobs failed in the same develop run.
What Changed
Match the complete Maven Central Gradle JAR download failure chain for the exact annotation-processor configuration.
Use the existing single delayed refresh retry only when every reported artifact failure has that matching chain. Authorization failures, unrelated errors, and compilation or tests that already ran still stop the retry.
Replayed both captured Gradle failure bodies with their task lines. The original script refused both. The candidate ran the original command and one dependency refresh after the existing two-second delay.
Added rejection cases for a mixed authorization failure, unexpected origin, artifact mismatch, truncated chain, separate unresolved dependency, and a compile task that started.
Notes
The replay uses a fake Gradle runner. GitHub CI still qualifies the exact PR head. No image publication was started as part of this change.
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Summary
Build recovery for annotation-processor HTTP 429 failures
dev-tools/validation/run-gradle-with-dependency-recovery.sh: classify_failure_body recognizes a Gradle annotation-processor JAR download that fails with HTTP 429 before compilation. It requires an ordered chain: artifact coordinates, Maven Central URL, "Could not get resource," "Could not GET," and the 429 status line. Incomplete chains are invalid. Recognized processor downloads must have matching coordinate and transient counts, exactly two repository requests each, and no searched locations or repository URLs. Matching failures get one --refresh-dependencies retry. Failures after compilation starts do not retry.
retry_delay_seconds: when no Retry-After value is present, HTTP 429 failures get a random delay of 15 to 30 seconds. Connection failures and HTTP 5xx failures keep the 2-second delay. This conflicts with the PR objectives, which describe a two-second delay for the retry. The diff shows the 15–30 second delay.
dev-tools/tests/gradle-dependency-recovery-contract.sh: adds an annotation-processor 429 fixture and rejection cases for mixed authentication failure, wrong host, wrong artifact, truncated chain, extra coordinate, and compilation already started. The buildSrc 429 checks assert a 15–30 second delay instead of exactly two seconds.
No contract, schema, environment, or deployment changes.
Validation gaps: The author reports passing contract, Bash, and ShellCheck checks. Replays used a fake Gradle runner. GitHub CI has not qualified the PR head.
The Gradle dependency recovery classifier now recognizes qualifying annotation-processor JAR downloads that fail with HTTP 429 before compilation. It applies a randomized 15–30 second delay when no Retry-After value is present. Contract tests check retry eligibility, rejection cases, and delay bounds.
The classifier matches the ordered download failure chain and validates download, coordinate, request, and transient-failure counts. It rejects unfinished chains and disallowed search or repository details. HTTP 429 failures without a Retry-After value receive a randomized 15–30 second delay.
Contract tests check a qualifying annotation-processor HTTP 429 retry and reject cases with altered status, host, artifact, cause chain, extra coordinate, or compilation progress. They also check 15–30 second delay bounds for annotation-processor and buildSrc HTTP 429 cases.
benhook1013/FireMUD#3430: Both changes modify Gradle refresh eligibility for pre-compilation artifact-resolution failures.
Merge Risk: Minimal · previous review dd9d0
This change lets trusted image builds retry after Maven Central rate limits during annotation-processor downloads, with a randomized 15-30 second delay. It is confined to CI tooling, and the contract tests cover the accepted and rejected failure cases. No merge-blocking risk was found.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title "Recover Maven Central annotation processor rate limits" matches the main change: the script now recognizes annotation-processor JAR download failures that return HTTP 429 from Maven Central…
Description check
The description follows the template sections: Summary, What Changed, Validation, Notes, and LOC Impact. It states the purpose and the user-visible outcome, links the failing run, and lists the checks…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "Recover Maven Central annotation processor rate limits" matches the main change: the script now recognizes annotation-processor JAR download failures that return HTTP 429 from Maven Central and retries them once after a delay. It is specific and concise, and it describes the primary change in the changeset.
Full details: Description check
Explanation
The description follows the template sections: Summary, What Changed, Validation, Notes, and LOC Impact. It states the purpose and the user-visible outcome, links the failing run, and lists the checks that ran along with the rejection cases. The replay used a fake Gradle runner, and the description states this limitation. It does not reference a tracking issue or design doc, which the Summary section asks for. The contract script change (the bounded 15 to 30 second delay assertion) is not mentioned in What Changed, and the Validation section does not say whether the live GitHub CI run has completed.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Fix failing CI checks
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
⚠️ Known PLAY failed: ERROR ENTITLEMENT_UNAVAILABLE after LOGIN. Canonical PLAY transition exception accepted; no runtime qualification or publication.
✅ Changes detection: success
✅ Smoke Gate: success
❌ PR Full-Stack Smoke: failure (known PLAY exception accepted; no runtime qualification or publication)
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
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.
Pull Request
Summary
What Changed
Validation
Notes
LOC Impact
FireMUD LOC impact
Compared
d49d0e10a3fa→3a7481407bab(PR merge-base → head).PR scope: 2 changed files · 80 added textual lines / 1 deleted textual line.
Rows are hierarchical and overlapping views; do not add them together.
LOC means cloc code lines; blank and comment-only lines are excluded.