Skip to content

Forward-merge release/0.2 into main - #243

Merged
GPUtester merged 1 commit into
mainfrom
release/0.2
Aug 17, 2026
Merged

Forward-merge release/0.2 into main#243
GPUtester merged 1 commit into
mainfrom
release/0.2

Conversation

@rapids-bot

@rapids-bot rapids-bot Bot commented Aug 17, 2026

Copy link
Copy Markdown

Forward-merge triggered by push to release/0.2 that creates a PR to keep main up-to-date. If this PR is unable to be immediately merged due to conflicts, it will remain open for the team to manually merge. See forward-merger docs for more info.

#### Overview

Repairs beta/RC publication so release branches keep stable base versions while tag workflows stamp prerelease metadata only in disposable workflow checkouts.

The `v0.2.0-rc.1` Rust workflow called the project-wide version setter, which unnecessarily entered Python locking and failed because the publication checkout did not contain the Hermes submodule. The TypeScript workflow correctly produced tag-time metadata changes, then rejected those expected changes with `git diff --exit-code`.

#### Where should the reviewer start?

Start with `.github/workflows/publish_rust.yml` and the new `set-cargo-version` recipe in `justfile`, then review `.github/workflows/publish_typescript.yml` and the clarified prerelease model in `RELEASING.md`.

#### Details

- Add a narrow Cargo-only tag-time version setter that avoids unrelated Python and TypeScript locking.
- Shell-quote release tag inputs before Just interpolates them into publication commands.
- Allow expected TypeScript manifest and lockfile changes in the disposable publication checkout.
- Publish Rust crates with the stamped lockfile and wait up to two minutes for the core crate to become registry-visible before publishing the dependent CLI crate.
- Document that release branches retain stable versions such as `0.2.0`; RC-specific versions and internal pins are derived from tags and are never committed.

#### Validation

- `just --fmt --check`
- Release tag normalization/version tests: 23 passed
- Release tag interpolation regression tests: 14 targeted tests passed across the new quoting coverage and tag normalizer
- `cargo check --workspace --locked`
- Core crate `cargo publish --dry-run --locked --no-verify --allow-dirty` after disposable RC2 stamping
- Python release build after disposable RC2 stamping
- Node 22 TypeScript generation, tests, type check, dependency check, audit, pack, and consumer smoke test after disposable RC2 stamping
- `just docs` (passes; expected Fern authentication warning skips redirect validation)
- Pre-commit workflow lint and copyright checks on all changed files
- Rust, Python, and Node attribution checks; dependency-license diff showed no changes

#### Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)

Relates to: none. This follows up on the failed Rust and TypeScript publication jobs triggered by `v0.2.0-rc.1`.

- [x] I confirm this contribution is my own work, or I have the right to submit it under this project's license.
- [x] I searched existing issues and open pull requests, and this does not duplicate existing work.




## Summary by CodeRabbit

* **Release Process**
  * Improved Rust package publishing reliability with locked dependency checks and availability verification before dependent releases.
  * Added dedicated Cargo version management for release workflows.
  * Refined prerelease and release-tag handling for beta and RC versions.
  * Improved release command safety when processing tag values.

* **Documentation**
  * Updated release guidance to clarify stable versions, prerelease metadata, and tag-based workflows.

Authors:
  - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah)

Approvers:
  - Ajay Thorve (https://github.com/AjayThorve)

URL: #242
@rapids-bot
rapids-bot Bot requested a review from a team as a code owner August 17, 2026 19:19
@GPUtester
GPUtester merged commit 152034b into main Aug 17, 2026
1 check passed
@rapids-bot

rapids-bot Bot commented Aug 17, 2026

Copy link
Copy Markdown
Author

SUCCESS - forward-merge complete.

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