Skip to content

Tidy up: verify artifact checksums in the release idempotency guard (release-on-tag.yml) #195

Open

Description

@simbo1905

Sub-issue 16 of 26 from the 2026-11-21 bot-review-comment audit. Parent issue: #179 (Bot review comment tidy up).
Audited origin/main HEAD: 2e5cf37. Audit date: 2026-11-21.

== Finding 16 (verbatim from the audit findings file) ==

  1. PR Make release Central deploy idempotent for already-published versions #161 — Release idempotency guard accepts a force-moved tag without artifact verification.
    Author: chatgpt-codex-connector[bot], 2026-08-30. Comment: Make release Central deploy idempotent for already-published versions #161 (comment)
    Source: .github/workflows/release-on-tag.yml:88. Current: .github/workflows/release-on-tag.yml:88-99 (guard still only HTTP-200-checks parent and java.util.json POMs and treats that as success; no checksum comparison with locally built artifacts).
    Flagged: "When a release tag is force-moved after fixes, the original version's POMs can still return HTTP 200 even though the new tag builds different artifacts... allowing the Docker job to publish the new commit under the same version while Maven Central continues serving the old code. Compare the locally built artifacts with the published checksums, or reject a moved tag".
    Still applies: the merged idempotency guard implements exactly the POM-200 shortcut the comment warns about.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions