Skip to content

ci: release to PyPI with the xhandler-rust core of the same version - #4

Merged
carlosthe19916 merged 2 commits into
project-openubl:mainfrom
carlosthe19916:ci/release
Nov 15, 2026
Merged

carlosthe19916 merged 2 commits into
project-openubl:mainfrom
carlosthe19916:ci/release

Conversation

@carlosthe19916

Copy link
Copy Markdown
Member

Part of the coordinated release of xhandler (Rust, Go, Python, Java) from release-tools' new release-xhandler workflow, modeled on konveyor/operator's create-release: the tag is the version, and a library release carries exactly the core xhandler-rust released as the same version.

  • make sync CORE=<version> syncs the dist of an xhandler-rust release, checking it against the release's SHA256SUMS (hack/core.sh). make sync RUST_REPO=... stays for development.
  • make verify-core checks that the committed xhandler.wasm is the one xhandler-rust released as its VERSION. CI runs it; a development core only warns.
  • make verify-release TAG=vX is what a release requires: VERSION is X and the wasm matches, strictly. release-tools runs it before tagging, and this repo's release workflow runs it again.
  • release.yml runs when release-tools publishes the release.
    It verifies the core, tests, builds and publishes to PyPI with trusted publishing (environment pypi; it needs a pending publisher on pypi.org).
  • Package version: it's now the version of the core it carries (src/xhandler/_core/VERSION, via hatch), so 6.0.0-alpha.1 becomes 6.0.0a1.

🤖 Generated with Claude Code

carlosthe19916 and others added 2 commits November 14, 2026 14:33
- The package version is the core's (src/xhandler/_core/VERSION):
  6.0.0-alpha.1 becomes 6.0.0a1.
- make sync CORE=<version> syncs the dist of an xhandler-rust release,
  checksum verified (hack/core.sh); make sync RUST_REPO=... stays for
  development.
- make verify-core checks that the committed xhandler.wasm is the one
  xhandler-rust released as its VERSION; CI runs it (a development core
  only warns).
- The release workflow runs on a published release (release-tools creates
  it): it requires the core of the same version, tests, builds and
  publishes to PyPI with trusted publishing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The tag-versus-VERSION check moves from a Makefile one-liner into
core.sh verify-release, next to verify, so the release logic lives in one
script that xhandler-go, xhandler-python and xhandler-java share.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@carlosthe19916
carlosthe19916 merged commit 5cdc87a into project-openubl:main Nov 15, 2026
9 checks passed
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.

1 participant