fix(build): verify annotation processor metadata #19

Open
pistonmaster wants to merge 2 commits from fix/ci-gradle-verification-metadata into main
Owner

Summary

Add Gradle dependency-verification metadata for artifacts introduced by the annotation-processor and SpotBugs dependency graphs:

  • Guava 33.8.0-jre and its parent POM
  • JSpecify 1.0.1
  • JUnit BOM module metadata for 5.14.1 and 5.14.4
  • Log4j 2.26.1 POM and BOM POM

Fixes the verification failures in the current CI run and the subsequent SpotBugs resolution failure.

Validation

  • verified each checksum directly against the exact Maven Central/Mojang artifact
  • parsed verification-metadata.xml successfully
  • repository hooks passed

A full local Gradle run could not download the Gradle wrapper because outbound access to services.gradle.org is unavailable in this runner. Remote CI remains the authoritative build and gametest validation.

AI assistance

Codex investigated the failing job logs, verified the artifact checksums, and prepared the metadata update.

Summary by CodeRabbit

  • Chores
    • Added verification checks for updated dependency metadata, covering additional library, logging, and test-platform artifacts.
    • Builds now verify checksums for these artifacts, alongside their associated metadata, helping detect unexpected changes.
## Summary Add Gradle dependency-verification metadata for artifacts introduced by the annotation-processor and SpotBugs dependency graphs: - Guava 33.8.0-jre and its parent POM - JSpecify 1.0.1 - JUnit BOM module metadata for 5.14.1 and 5.14.4 - Log4j 2.26.1 POM and BOM POM Fixes the verification failures in the current [CI run](https://github.com/6b6t/AnarchyClient/actions/runs/44957064000) and the subsequent SpotBugs resolution failure. ## Validation - verified each checksum directly against the exact Maven Central/Mojang artifact - parsed `verification-metadata.xml` successfully - repository hooks passed A full local Gradle run could not download the Gradle wrapper because outbound access to `services.gradle.org` is unavailable in this runner. Remote CI remains the authoritative build and gametest validation. ## AI assistance Codex investigated the failing job logs, verified the artifact checksums, and prepared the metadata update. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Chores** * Added verification checks for updated dependency metadata, covering additional library, logging, and test-platform artifacts. * Builds now verify checksums for these artifacts, alongside their associated metadata, helping detect unexpected changes. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
coderabbitai[bot] commented 2026-11-23 08:19:56 +00:00 (Migrated from github.com)

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Gradle verification metadata adds checksum records for Guava 33.8.0-JRE, Log4j 2.26.1, JSpecify 1.0.1, and JUnit BOM versions 5.14.1 and 5.14.4.

Changes: Dependency checksum verification

Layer / File(s) Summary
Add dependency checksum records
gradle/verification-metadata.xml
Adds checksum records for Guava 33.8.0-JRE artifacts and parent POM, Log4j 2.26.1 and its BOM POM, the JSpecify 1.0.1 POM, and JUnit BOM module files for versions 5.14.1 and 5.14.4.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Merge Risk: Minimal · up to 3972d

This change adds checksum records so that dependency verification passes for additional build artifacts. It has no runtime impact, and any incorrect checksum would show up as a build failure in CI.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "fix(build): verify annotation processor metadata" is related to the changeset. The change adds Gradle dependency-verification checksums for Guava 33.8.0-JRE and its parent POM, JSpecify 1.0…
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.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title "fix(build): verify annotation processor metadata" is related to the changeset. The change adds Gradle dependency-verification checksums for Guava 33.8.0-JRE and its parent POM, JSpecify 1.0.1, Log4j, and JUnit BOM files in gradle/verification-metadata.xml. The objectives describe these as POMs from the annotation-processor dependency graph, so the title matches the stated intent. The title does not name the specific artifacts. The commit message says "verify SpotBugs metadata", which conflicts with the PR description, but the title itself fits the metadata change. The summary also lists Log4j and JUnit entries that the title does not mention, which is expected for a short title.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Fix failing CI checks

  • 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

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 70cc9303-e6ee-46c1-9d18-898773bc5195
Commits

Reviewing files that changed from the base of the PR and between 7283738a44 and 3972dc784a.

Files selected for processing: 1

  • gradle/verification-metadata.xml

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

<!-- coderabbit-ai-generated:v1 --> <!-- This is an auto-generated comment: summarize by coderabbit.ai --> <!-- review_stack_entry_start --> <a href="https://app.coderabbit.ai/change-stack/6b6t/AnarchyClient/pull/19?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&amp;cs_source=review_comment"><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change.svg" alt="Explain Change →" height="32"></picture></a> <!-- review_stack_entry_end --> <!-- recent_review_status_start --> No actionable comments were generated in the recent review. <!-- recent_review_status_end --> <!-- walkthrough_start --> <details> <summary><strong>Walkthrough</strong></summary> <dl> <dd> <br> Gradle verification metadata adds checksum records for Guava 33.8.0-JRE, Log4j 2.26.1, JSpecify 1.0.1, and JUnit BOM versions 5.14.1 and 5.14.4. **Changes: Dependency checksum verification** |Layer / File(s)|Summary| |:---|:---| |**Add dependency checksum records** <br> `gradle/verification-metadata.xml`|Adds checksum records for Guava 33.8.0-JRE artifacts and parent POM, Log4j 2.26.1 and its BOM POM, the JSpecify 1.0.1 POM, and JUnit BOM module files for versions 5.14.1 and 5.14.4.| <!-- change_assessment_start --> **Estimated code review effort:** 1 (Trivial) | ~5 minutes <!-- change_assessment_commit:"3972dc784ae459f756d1448da904b0f8e54ee2ec" --> <!-- change_assessment_priority:{"version":1,"urgency":"p2","manual":false} --> **Change:** Other <!-- change_assessment_end --> </dd> </dl> </details> <!-- walkthrough_end --> <details> <summary><strong>Merge Risk:</strong> <strong><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/risk-unassessed-16.svg" width="16" height="16" align="absmiddle" alt=""></picture> Minimal</strong> · up to <code>3972d</code></summary> <dl> <dd> <br> <!-- final_review_risk_start --> <!-- final_review_risk_label **Merge Risk:** **⚪ Minimal** · up to `3972d` --> <!-- final_review_risk_coverage:{"sourceCommitId":"3972dc784ae459f756d1448da904b0f8e54ee2ec","coveredCommitId":"3972dc784ae459f756d1448da904b0f8e54ee2ec","kind":"reviewed"} --> This change adds checksum records so that dependency verification passes for additional build artifacts. It has no runtime impact, and any incorrect checksum would show up as a build failure in CI. <!-- final_review_risk_end --> </dd> </dl> </details> <!-- pre_merge_checks_walkthrough_start --> <details> <summary><strong>Pre-merge checks: <sup><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-counter-passed-14-v2.svg" width="14" height="14" align="middle" alt="Passed" title="Passed"></picture></sup> 4</strong></summary> <dl> <dd> <br> | Check name | Status | Explanation | | :------------------------ | :--------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Title check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | The title "fix(build): verify annotation processor metadata" is related to the changeset. The change adds Gradle dependency-verification checksums for Guava 33.8.0-JRE and its parent POM, JSpecify 1.0… | | Linked Issues check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | Check skipped because no linked issues were found for this pull request. | | Out of Scope Changes check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | Check skipped because no linked issues were found for this pull request. | | Description Check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | Check skipped - CodeRabbit’s high-level summary is enabled. | <details> <summary><strong>Full details: Title check</strong></summary> <dl> <dd> <br> **Explanation** The title "fix(build): verify annotation processor metadata" is related to the changeset. The change adds Gradle dependency-verification checksums for Guava 33.8.0-JRE and its parent POM, JSpecify 1.0.1, Log4j, and JUnit BOM files in gradle/verification-metadata.xml. The objectives describe these as POMs from the annotation-processor dependency graph, so the title matches the stated intent. The title does not name the specific artifacts. The commit message says "verify SpotBugs metadata", which conflicts with the PR description, but the title itself fits the metadata change. The summary also lists Log4j and JUnit entries that the title does not mention, which is expected for a short title. </dd> </dl> </details> </dd> </dl> </details> <!-- pre_merge_checks_walkthrough_end --> <!-- finishing_touch_checkbox_start --> <details> <summary><strong>Finishing Touches</strong></summary> <dl> <dd> <br> <details open> <summary><strong>Generate unit tests (beta)</strong></summary> <dl> <dd> <br> - [ ] <!-- {"checkboxId": "6ba7b810-9dad-11d1-80b4-00c04fd430c8", "radioGroupId": "utg-output-choice-group-unknown_comment_id"} --> Commit to this branch - [ ] <!-- {"checkboxId": "f47ac10b-58cc-4372-a567-0e02b2c3d479", "radioGroupId": "utg-output-choice-group-unknown_comment_id"} --> Create a new PR </dd> </dl> </details> <!-- finishing_touch_suggestion:fix_ci --> <details open> <summary><strong>Fix failing CI checks</strong></summary> <dl> <dd> <br> - [ ] <!-- {"checkboxId": "9f0d24fb-b419-4f01-baf0-8b26b6424f34", "radioGroupId": "fix-ci-output-choice-group-7095322240"} --> Commit to this branch - [ ] <!-- {"checkboxId": "6d21cfe8-ec3f-40e2-9222-b8318b64d3b0", "radioGroupId": "fix-ci-output-choice-group-7095322240"} --> Create a new PR </dd> </dl> </details> </dd> </dl> </details> <!-- finishing_touch_checkbox_end --> <!-- autopilot:start --> - [ ] <!-- {"checkboxId":"2708ad07-9f24-4260-9c11-7dc76a49f2e3"} --> <strong title="Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts">Autofix</strong> · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts <!-- autopilot:end --> <!-- tips_start --> Thanks for using [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=6b6t/AnarchyClient&utm_content=19)! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. <details> <summary><strong>Share</strong></summary> <dl> <dd> <br> - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code) </dd> </dl> </details> <!-- tips_end --> <!-- recent_review_start --> <h6> <details> <summary><strong><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/info.svg" width="12" height="12" align="absmiddle" alt=""></picture> Recent review info</strong></summary> <dl> <dd> <br> <!-- review_info_content --> <details> <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog.svg" width="16" height="16" align="absmiddle" alt=""></picture> Run configuration</strong></summary> <dl> <dd> <br> - **Source mode**: Auto - **Repository**: Unavailable - **Branch**: Unavailable - **File**: No configuration file from this repository applied - **Commit**: Unavailable - **Layers**: defaults - **Review profile**: CHILL - **Plan**: Advanced - **Run ID**: `70cc9303-e6ee-46c1-9d18-898773bc5195` </dd> </dl> </details> <details> <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal.svg" width="16" height="16" align="absmiddle" alt=""></picture> Commits</strong></summary> <dl> <dd> <br> Reviewing files that changed from the base of the PR and between 7283738a44d699abee9e14038dfebe0a01fad34b and 3972dc784ae459f756d1448da904b0f8e54ee2ec. </dd> </dl> </details> <details> <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner.svg" width="16" height="16" align="absmiddle" alt=""></picture> Files selected for processing: 1</strong></summary> <dl> <dd> <br> * `gradle/verification-metadata.xml` </dd> </dl> </details> **Included review availability:** This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. </dd> </dl> </details> </h6> <!-- recent_review_end -->
approval-bot left a comment

Automatic approval. Required checks still have to pass before merging.

Automatic approval. Required checks still have to pass before merging.
This pull request has changes conflicting with the target branch.
  • gradle/verification-metadata.xml
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'fix/ci-gradle-verification-metadata:fix/ci-gradle-verification-metadata'
git switch 'fix/ci-gradle-verification-metadata'
Sign in to join this conversation.
No description provided.