Skip to content

[release/v2.30.x] Add Maven Central release recovery mode#19299

Merged
trask merged 3 commits into
open-telemetry:release/v2.30.xfrom
trask:release/2.30.0-central-recovery
Jul 22, 2026
Merged

[release/v2.30.x] Add Maven Central release recovery mode#19299
trask merged 3 commits into
open-telemetry:release/v2.30.xfrom
trask:release/2.30.0-central-recovery

Conversation

@trask

@trask trask commented Jul 22, 2026

Copy link
Copy Markdown
Member

Adds an opt-in recover_maven_central mode to the release workflow so a failed Central deployment can be rebuilt and uploaded without recreating outputs that were already published.

Recovery mode:

  • verifies that the GitHub release already exists
  • refuses to run if the javaagent artifact is already available from Maven Central
  • rebuilds the main Maven Central bundle without uploading it
  • verifies byte-for-byte that the rebuilt javaagent matches the existing GitHub release attachment
  • uploads the already-verified bundle without regenerating it
  • skips Gradle plugin publication, SBOM attachment, attestation, and GitHub release creation
  • preserves the release outputs so the normal post-release updates can complete

This is intended to recover the failed 2.30.0 Central deployment after the duplicate publication coordinates were fixed in #19298.

Validation:

  • actionlint .github/workflows/release.yml
  • Rebuilt javaagent SHA-256: 9d6bc2ad8dd8fb7f730984988e57b8ac0a82d81c7b3b8ae795378718733a509d
  • Existing GitHub release javaagent SHA-256: 9d6bc2ad8dd8fb7f730984988e57b8ac0a82d81c7b3b8ae795378718733a509d
  • Direct byte comparison: identical

@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Jul 22, 2026

Copy link
Copy Markdown

Pull request dashboard status

Status last refreshed: 2026-07-22 22:11:31 UTC.

  • Status: Merged.

This automated status or its linked feedback items may be incorrect. If something looks wrong, please report it with the result you expected.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an opt-in Maven Central recovery path for existing releases.

Changes:

  • Validates recovery eligibility and artifact identity.
  • Rebuilds and uploads only the Central bundle.
  • Skips already-completed release publication steps.

Comment thread .github/workflows/release.yml Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@trask
trask marked this pull request as ready for review July 22, 2026 21:32
@trask
trask requested a review from a team as a code owner July 22, 2026 21:32
@trask
trask merged commit 54ac747 into open-telemetry:release/v2.30.x Jul 22, 2026
98 checks passed
@trask
trask deleted the release/2.30.0-central-recovery branch July 22, 2026 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants