You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
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)
release-pr.yml: refresh Cargo.lock after editing Cargo.toml, and add a lockfile consistency gate (for example cargo metadata --locked) to root CI.
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.
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.
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
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.
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge this PR to tag
v0.10.1-beta.1and trigger the build pipeline.Review Contract
Goal
Set
charts/openab/Chart.yaml(version,appVersion) to0.10.1-beta.1andCargo.tomlto0.10.1, so that merging tagsv0.10.1-beta.1and 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
charts/openab/Chart.yamlandCargo.toml.Follow-ups
Verify the published images and update the GitHub release notes after the build completes.