Skip to content

release: v0.10.1-beta.1 - #1602

Merged
thepagent merged 1 commit into
mainfrom
release/v0.10.1-beta.1
Nov 15, 2026
Merged

thepagent merged 1 commit into
mainfrom
release/v0.10.1-beta.1

Conversation

@openab-app

@openab-app openab-app Bot commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

Merge this PR to tag v0.10.1-beta.1 and trigger the build pipeline.

Review Contract

Goal

Set charts/openab/Chart.yaml (version, appVersion) to 0.10.1-beta.1 and Cargo.toml to 0.10.1, so that merging tags v0.10.1-beta.1 and starts the release build.

Non-goals

No source, chart template, or workflow changes. The release notes are written separately on the GitHub release.

Accepted Residual Risks

This PR does not test the release contents. The pre-release images are validated after the build, before any stable promotion.

Acceptance Criteria

  • The diff only changes version fields in charts/openab/Chart.yaml and Cargo.toml.
  • CI checks pass.

Follow-ups

Verify the published images and update the GitHub release notes after the build completes.

@thepagent
thepagent enabled auto-merge (squash) November 15, 2026 21:37

@chaodu-agent chaodu-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approved at owner's request (release: v0.10.1-beta.1).

@thepagent
thepagent merged commit 054a53a into main Nov 15, 2026
28 checks passed
@chaodu-agent

Copy link
Copy Markdown
Collaborator

Important

CHANGES REQUESTED ⚠️ - The version bump is correct, but Cargo.lock was not updated to match the new Cargo.toml version, so the release tag would carry an inconsistent lockfile.

What This PR Does

Generated release PR that bumps charts/openab/Chart.yaml (version, appVersion) to 0.10.1-beta.1 and the root Cargo.toml package version to 0.10.1. Merging it tags v0.10.1-beta.1 and starts the release build.

How It Works

  • release-pr.yml:67-79 writes the full version (0.10.1-beta.1) into Chart.yaml and only the stable part (${VERSION%%-*} = 0.10.1) into Cargo.toml. RELEASING.md:234 documents the same rule.
  • Earlier betas (release: v0.10.0-beta.7 #1581 beta.7, release: v0.10.0 #1587 v0.10.0) only touched Chart.yaml because Cargo.toml was already 0.10.0. This PR starts the 0.10.1 train, so Cargo.toml moves as designed.
  • tag-on-merge.yml:26-35 derives the git tag v0.10.1-beta.1 from the head branch name release/v0.10.1-beta.1, not from Chart.yaml.
  • build-operator.yml:57-70 treats any version containing - as a prerelease and builds 0.10.1-beta.1-<agent> image tags; release.yml:44-49 reads Chart.yaml and publishes chart release openab-0.10.1-beta.1.

Findings

# Severity Finding Location
1 🟡 Cargo.lock still records openab 0.10.0 after Cargo.toml moved to 0.10.1 Cargo.toml:7, Cargo.lock:2482
2 🟢 Version split (Chart full prerelease, Cargo stable target) matches the workflow and RELEASING.md release-pr.yml:67-79
3 🟢 Beta tag handling verified end to end for v0.10.1-beta.1 tag-on-merge.yml, build-operator.yml, release.yml
Finding Details

🟡 F1: Cargo.lock is out of sync with Cargo.toml

Cargo.toml:7 now has version = "0.10.1", but the root package entry at Cargo.lock:2482 is still version = "0.10.0".

Evidence: on the PR head, cargo metadata --locked --format-version 1 fails with cannot update the lock file ... because --locked was passed. Without --locked, the only lockfile change Cargo makes is:

 name = "openab"
-version = "0.10.0"
+version = "0.10.1"

Impact: current CI and the release Dockerfiles use plain cargo build/check/test (no --locked), so nothing fails today. The only --locked use is platform-schema-conformance.yml:57, which builds the excluded crates/platform-schema crate and is not affected. However, this commit becomes the source of the v0.10.1-beta.1 tag, and any --locked/--frozen build from that tag would fail. The committed lockfile would also not be the exact build input.

Requested change: update the root openab entry in Cargo.lock to 0.10.1 (for example cargo update -p openab --offline or cargo metadata --offline), and update the Review Contract acceptance criteria to allow Cargo.lock.

The generator is the root cause: release-pr.yml runs sed on Cargo.toml and Chart.yaml but never refreshes the lockfile. See Follow-ups.

🟢 F2: Version strategy is consistent

Keeping Cargo.toml at the stable target (0.10.1) while the chart carries 0.10.1-beta.1 is the documented policy, not an exception. The 0.10.0-beta.1 release made the same Cargo.toml jump from 0.9.0 to 0.10.0.

🟢 F3: Beta tag handling works

Replaying the workflow parsing for release/v0.10.1-beta.1 gives tag=v0.10.1-beta.1 chart_version=0.10.1-beta.1 is_prerelease=true. 0.10.1-beta.1 is valid SemVer and a valid Helm chart version.

Baseline Check
  • PR opened: 2026-11-15
  • Head SHA: f71237aa4864f05218f408a6aae431416707067f
  • Base: main, merge-base 049b0dac8c0d2d2e4b4006acdbeb8f252583b0e3
  • Diff: 2 files, +3/-3 (Cargo.toml, charts/openab/Chart.yaml); git diff --check clean
  • Main already has: 0.10.0 in both files, released as v0.10.0
  • Net-new value: starts the 0.10.1 beta train. v0.10.0..main contains fixes, a security Docker bump, a dependency chore and an internal refactor, so a patch bump is appropriate.

Follow-ups (not blocking this PR)

  1. release-pr.yml: refresh Cargo.lock after editing Cargo.toml, and add a lockfile consistency gate (for example cargo metadata --locked) to root CI.
  2. Binary self-report: openab --version uses CARGO_PKG_VERSION (src/main.rs:72-74), so beta builds report 0.10.1 instead of 0.10.1-beta.1. Consider injecting release/channel metadata at build time, or setting the Cargo version to the full prerelease for beta PRs.
  3. tag-on-merge.yml: assert that v$(Chart.yaml version) equals the release/ branch suffix, and anchor the version regex to full SemVer so values like v1.2.3garbage are rejected. The generated branch, chart and title are consistent today.
  4. Pre-existing: the chart defaults the gateway image to Chart.AppVersion, while openab-gateway ships on a separate gateway-v* cycle. Enabling the gateway may reference a non-existent image unless that tag is synced.

CI

At review time: 21 checks passed, 6 pending (check, build-builder, and 4 Docker smoke tests), 1 skipped, none failed. Per the Review Contract, wait for all checks to pass before merging.

5. Three Reasons We Might Not Need This PR

  1. Cargo version does not drive deployment - images, chart and tag all come from Chart.yaml and the branch name, so the Cargo.toml bump has little direct runtime effect.
  2. The beta train may be premature - if 0.10.1 content is not settled, tagging now produces an immutable beta artifact nobody has asked to validate.
  3. It extends version drift - version now lives in Cargo.toml, Cargo.lock, Chart.yaml and the branch name. Without automated sync and a gate, every release PR repeats this review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants