Skip to content

Recover Maven Central 429 during test fixture dependency resolution - #3503

Merged
benhook1013 merged 2 commits into
developfrom
codex/recover-test-fixtures-maven-429
Nov 23, 2026
Merged

benhook1013 merged 2 commits into
developfrom
codex/recover-test-fixtures-maven-429

Conversation

@benhook1013

@benhook1013 benhook1013 commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Pull Request

Summary

Recover a Maven Central rate-limit failure while Gradle resolves the test-fixture classpath. The FireMUD #3451 validation shard received 67 HTTP 429 JAR failures at this boundary before tests started. The retry added in #3500 covers annotation processors, while this incident used the test-fixture classpath.

What Changed

  • Recognize the exact same-module Gradle configuration-cache failure and require a complete, matching Maven Central 429 chain for every affected artifact.
  • Match the platform-specific Netty JAR names and the Guava JRE variant shown in the captured failure.
  • Retry the complete Gradle command once with the existing delay and dependency metadata refresh. Compilation and test failures continue to fail immediately.

Validation

  • Passed ShellCheck, Bash syntax, and the complete Gradle dependency recovery contract.
  • Replayed the captured fatal Gradle body offline. The previous wrapper exited after one call. The new wrapper made one bounded retry and returned the fixture's success.
  • Native GitHub validation will run on this PR.

Notes

The real retry on #3451 reached its tests after Maven Central recovered. Those tests exposed a separate shared Account fixture inventory issue, fixed on #3451.

LOC Impact

FireMUD LOC impact

Compared 7f4f3578176b → 1e85900b85b9 (PR merge-base → head).
PR scope: 2 changed files · 151 added textual lines / 39 deleted textual lines.

Section Base LOC Head LOC Δ LOC Change
Overall 1,653,094 1,653,192 +98 +<0.1%
 Source 1,552,922 1,553,020 +98 +<0.1%
  ↳ Code 681,632 681,656 +24 +<0.1%
  ↳ Tests 871,290 871,364 +74 +<0.1%
 Markdown 65,294 65,294 0 0.0%
 Design 68,232 68,232 0 0.0%
  ↳ Architecture 46,461 46,461 0 0.0%
  ↳ Project management 6,131 6,131 0 0.0%
  ↳ Observability 2,147 2,147 0 0.0%
  ↳ Operator runbooks 579 579 0 0.0%
  ↳ gRPC API documentation 11,391 11,391 0 0.0%
  ↳ Product requirements and user journeys 926 926 0 0.0%
  ↳ Developer workflows 518 518 0 0.0%
  ↳ Other design 79 79 0 0.0%

Rows are hierarchical and overlapping views; do not add them together.
LOC means cloc code lines; blank and comment-only lines are excluded.

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Dev-tools only. No service, schema, or deployment change.

  • dev-tools/validation/run-gradle-with-dependency-recovery.sh (+70/-39): Replaces the annotation-processor JAR path with general Maven Central 429 JAR-download recognition, including fixture-classifier JARs. Maps fixture-resolver Guava -android coordinates to the matching -jre artifact. Recognizes same-module testFixturesCompileClasspath cache failures. Fixture JAR failures qualify only with exactly two additional cause lines. Retries the Gradle command once with --refresh-dependencies.
  • dev-tools/tests/gradle-dependency-recovery-contract.sh (+81): Adds contract tests. Covers the default 15–30 s delay and Retry-After: 08 (8 s). Adds negative cases that must not retry, including a 31 s retry value and changed module, configuration, or artifact URLs.

Contract: no exported or public API changes.

Validation gap: The PR author reports ShellCheck and Bash syntax passed. Native GitHub CI was pending when this summary was written.

The Gradle dependency recovery classifier now recognizes qualifying Maven Central 429 JAR download failures for testFixturesCompileClasspath. Contract tests check retry timing and reject failures that do not match the expected module, resolver, artifact chain, or execution state.

Changes: Test-fixtures dependency recovery

Layer / File(s) Summary
Recognize test-fixtures download failures
dev-tools/validation/run-gradle-with-dependency-recovery.sh
The classifier recognizes JAR downloads for fixture resolver failures, including fixture classifier JARs and the specified Guava Android-to-JRE filename mapping. It filters configuration-cache reports, warnings, progress, and Retry-After output when counting cause lines.
Gate retries and verify recovery
dev-tools/validation/run-gradle-with-dependency-recovery.sh, dev-tools/tests/gradle-dependency-recovery-contract.sh
The classifier checks matching download counts and cause-chain conditions before returning the pre-compile classification. Contract tests check one refresh retry and the delay for absent or 08 Retry-After values, and reject mutated failure cases.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Change: Bug fix

Possibly related PRs

  • benhook1013/FireMUD#3500: Adds Maven Central rate-limit recovery for annotation processor resolution in the same script and retry contract.
  • benhook1013/FireMUD#3430: Adds dependency refresh for matching pre-compilation artifact resolution failures in the same script and contract.
Merge Risk: Minimal · up to 1e859

This change lets the Gradle wrapper retry once when Maven Central rate-limits the test-fixture dependency downloads, while compilation and test failures still fail immediately. No merge-blocking issues were found, and the contract tests cover both the retry and the rejection cases.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: recovering Maven Central HTTP 429 failures during test fixture dependency resolution. The raw summary and objectives confirm the change adds a retry for that exact fai…
Description check Passed The description follows the repository template. It has Summary, What Changed, Validation, Notes, and the LOC Impact section with the generated markers. It explains the incident, the retry behavior, a…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: recovering Maven Central HTTP 429 failures during test fixture dependency resolution. The raw summary and objectives confirm the change adds a retry for that exact failure path, so the title is specific and matches the changeset.

Full details: Description check

Explanation

The description follows the repository template. It has Summary, What Changed, Validation, Notes, and the LOC Impact section with the generated markers. It explains the incident, the retry behavior, and the validation performed (ShellCheck, Bash syntax, the contract tests, and an offline replay). Native GitHub validation is noted as pending. It does not cite the design doc named in the template's Validation guidance, and it gives no explicit links to tracked issues beyond the PR numbers, but these gaps are minor.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • 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.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 7f4f357 and 1e85900.

Files selected for processing: 2

  • dev-tools/tests/gradle-dependency-recovery-contract.sh
  • dev-tools/validation/run-gradle-with-dependency-recovery.sh

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@benhook1013

Copy link
Copy Markdown
Owner Author

@coderabbitai rate limit

@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Your plan includes PR reviews subject to rate limits. Reviews are available now.

@benhook1013

Copy link
Copy Markdown
Owner Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Action performed

Full review finished.

@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Smoke Summary

⚠️ 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)

@benhook1013

Copy link
Copy Markdown
Owner Author

CodeRabbit Hosted — 0 Found, 0/0/0 Accepted (Major/Minor/Trivial), 0 Routed
2 files · 5m 16s · 1322f82

@benhook1013

Copy link
Copy Markdown
Owner Author

@coderabbitai rate limit

@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Your plan includes PR reviews subject to rate limits. More reviews will be available in 53 minutes.

@github-actions

Copy link
Copy Markdown
Contributor

Security Summary

✅ Security checks passed or were intentionally skipped

  • ✅ Security gate: success
  • ✅ Trivy filesystem scan: success
  • ✅ Secret compliance validation: success

@github-actions

Copy link
Copy Markdown
Contributor

Static Analysis Summary

✅ Static analysis checks passed

  • ✅ CodeQL gate: success
  • ✅ License gate: success

CodeQL breakdown

  • ⏭️ CodeQL analysis (java): skipped
  • ⏭️ CodeQL analysis (javascript-typescript): skipped

@codecov

codecov Bot commented Nov 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@benhook1013

Copy link
Copy Markdown
Owner Author

CodeRabbit CLI — 0 Found, 0/0/0 Accepted (Major/Minor/Trivial), 0 Routed
2 files · 2m 18s · 1322f82

@benhook1013

Copy link
Copy Markdown
Owner Author

@coderabbitai rate limit

@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Your plan includes PR reviews subject to rate limits. More reviews will be available in 18 minutes.

@benhook1013

Copy link
Copy Markdown
Owner Author

@coderabbitai rate limit

@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Your plan includes PR reviews subject to rate limits. Reviews are available now.

@benhook1013

Copy link
Copy Markdown
Owner Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Action performed

Full review finished.

@benhook1013

Copy link
Copy Markdown
Owner Author

CodeRabbit Hosted — 0 Found, 0/0/0 Accepted (Major/Minor/Trivial), 0 Routed
2 files · 3m 46s · 1e85900

@github-actions

Copy link
Copy Markdown
Contributor

Validation Summary

✅ All validation checks passed

  • ✅ Validation gate: success
  • ✅ Buf generation: success
  • ✅ Dockerfile lint: success
  • ✅ ShellCheck: success
  • ✅ Python script validation: success
  • ✅ Dev tool contract checks: success
  • ⏭️ Dev Tools README contract: skipped
  • ✅ YAML lint: success
  • ✅ Metrics cardinality policy check: success
  • ✅ Flyway migration sanity checks: success
  • ✅ gRPC transport configuration sanity checks: success
  • ✅ GitHub workflow lint: success
  • ✅ Helm chart lint: success
  • ✅ Helm render validation: success
  • ✅ Helm transaction proof: success
  • ✅ Validate Documentation: success
  • ✅ Frontend checks: success
  • ✅ Dev tool validation contracts: success
  • ✅ Service build/test matrix: success
  • ✅ Account coverage aggregation: success
  • ✅ Game Session coverage aggregation: success
  • ✅ World coverage aggregation: success

Coverage reports and failure logs are available in the workflow artifacts.

@benhook1013
benhook1013 merged commit b7764da into develop Nov 23, 2026
86 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant