Skip to content

fix(release): drop leftovers of the internal release tag - #1032

Merged
jbachorik merged 3 commits into
developfrom
claude/happy-allen-50e6ka
Nov 17, 2026
Merged

jbachorik merged 3 commits into
developfrom
claude/happy-allen-50e6ka

Conversation

@jbachorik

@jbachorik jbachorik commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

What does this change do?

Removes two leftovers of the internal vX.Y.Z_RC release tag that #1031 retired.

  • Build Distributions: "Update version for dry run" step. Dry runs used to build commit_sha, which lacks the version commit, so this step re-applied the version. Since fix(release): push no intermediate tag and name deb/rpm assets without '~' #1031 every run, dry runs included, checks out the release commit from the release-commit bundle, and that commit already carries the version. The step re-applies the same value, and no later step reads the VERSION_FILE it exports.
  • Release checklist: the candidate-identity row "RC tag" names a tag that no longer exists. It becomes "Release commit (Prepare Release output)".

This is the remainder of the closed #1030, which implemented the same fix as #1031.

Related issue

N/A. Follow-up to #1031.

Scope and compatibility

  • I identified the affected module(s) and kept unrelated changes out of this PR.
  • This preserves the supported Java/runtime compatibility tiers, or the change is documented below.
  • This does not change the masked-JAR layout, class-loader boundary, or wire protocol.
  • If it does, I updated the relevant architecture documentation and verification plan.

Compatibility or migration notes: release workflow and docs only.

Testing

  • Unit tests
  • Integration tests (if applicable)
  • spotlessCheck
  • Documentation/link or sample verification (if applicable)

Commands and results:

python3 -c "import yaml; yaml.safe_load(open('.github/workflows/release.yml'))"  -> parses
git diff --stat origin/develop  -> release.yml 12 deletions, ReleaseChecklist.md 1 line changed
awk '/^  build-distributions:/,/^  release-smoke:/' .github/workflows/release.yml | grep VERSION_FILE
  -> only inside the removed step (nothing later reads it)
Build Distributions' bundle checkout steps have no dry_run condition -> dry runs build the release commit
Release #28 (run 44079324043): 3.0.0-RC2 dry run of release.yml without this step -> success,
  Build Distributions included (same bundle checkout as on develop)

Documentation and release impact

  • User-facing documentation is updated, or no documentation change is needed.
  • Release notes/changelog are updated, or no release-note entry is needed.
  • Samples, distribution contents, or published coordinates are updated if affected.
  • This change is safe to merge independently of a release, or the dependency is explained below.

Release notes / follow-up work: none.

Final checklist

  • I reviewed the complete diff and removed unrelated changes.
  • New or changed behavior has appropriate tests, or the reason for not adding them is explained above.
  • User-facing behavior, APIs, samples, and documentation are consistent with this change.
  • I did not include generated build output, local configuration, credentials, or other accidental files.

Generated by Claude Code


This change is Reviewable

…al tag

Prepare Release tagged the version commit vX.Y.Z_RC so that later jobs
(Stage to Maven Central, Publish Gradle Plugins, Build Distributions,
Release smoke, Finalize Release Tag, container images) could check it out
before the final tag exists; a release candidate has no branch to carry
it. Finalize Release Tag then deleted the internal tag, but the
repository's tag rules forbid that: for 3.0.0-RC1 (run 44069366261) the
push was rejected with "GH013 ... Cannot delete this tag", `|| true`
hid it, and v3.0.0-RC1_RC stayed behind. Every release would leave one.

Prepare Release now bundles the commits GitHub does not have
(`git bundle create ... HEAD --not --remotes=origin`), before the release
branch push, and uploads the bundle as the release-commit artifact. The
jobs that need the release commit check out commit_sha with full history
(so the bundle's prerequisites are present), fetch the bundle, and check
out release_sha. Finalize Release Tag pushes the final tag, which uploads
the commit. Dry runs use the same path, so Build Distributions no longer
needs a separate dry-run checkout.

Removes the leftover-_RC-tag checks from validate and release.sh, and the
internal tag from the docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qr5KugNMySpdUw3Uivh4UB
Dry runs used to build commit_sha, which lacks the version commit, so
Build Distributions re-applied the version. Every run now builds the
release commit from the release-commit bundle, which already carries it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qr5KugNMySpdUw3Uivh4UB
develop gained #1031, which replaces the internal vX.Y.Z_RC tag with a
release-commit bundle, the same fix as the closed #1030; this merge takes
develop's version of every file. Two leftovers remain and are removed:

- Build Distributions' "Update version for dry run" step. Dry runs used to
  build commit_sha, which lacks the version commit; every run now checks
  out the release commit from the bundle, which already carries it, and
  no later step reads the VERSION_FILE it exported.
- The "RC tag" row of the release checklist's candidate identity, now the
  release commit that Prepare Release outputs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qr5KugNMySpdUw3Uivh4UB
@jbachorik
jbachorik merged commit ecf6090 into develop Nov 17, 2026
22 checks passed
@jbachorik
jbachorik deleted the claude/happy-allen-50e6ka branch November 17, 2026 17:36
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.

2 participants