Skip to content

chore: bump version from 0.4.0 to 0.5.0#394

Merged
saturley-hall merged 2 commits into
mainfrom
harrison/chore-bump-mx-0.5.0
May 29, 2026
Merged

chore: bump version from 0.4.0 to 0.5.0#394
saturley-hall merged 2 commits into
mainfrom
harrison/chore-bump-mx-0.5.0

Conversation

@saturley-hall
Copy link
Copy Markdown
Member

@saturley-hall saturley-hall commented May 29, 2026

Summary

Two commits, matching the structure of #339 plus an agent skill.

Commit 1 — chore: bump version from 0.4.0 to 0.5.0

Same shape as #339. Bumps the workspace, Python client, and Helm chart versions in lockstep, refreshes the mx_version test fixtures, and updates the pinned mx_source_id cross-check hashes (Python ↔ Rust).

  • Cargo.toml, Cargo.lock (via cargo update --workspace)
  • modelexpress_client/python/pyproject.toml, modelexpress_client/python/uv.lock (via uv lock)
  • helm/Chart.yaml (version + appVersion)
  • docs/metadata.md (mx_version examples)
  • modelexpress_server/src/p2p/{source_identity,state,service}.rs + backend/redis.rs (test fixtures + 3 pinned hash assertions)
  • modelexpress_client/python/tests/test_{source_id,k8s_service_client}.py (test fixtures + 3 pinned hash assertions)

New pinned source-id hashes:

  • base identity: e2438ef16adcf6285a5f555570065064
  • with revision: 7b7803769825576ed0c184b2a9a34c82
  • case-colliding extra params: deecf6684507f09cbf71fb9340cd940a

Intentionally not bumped: examples/**/*.yaml image tags, helm/values*.yaml image.tag, helm/README.md image refs. Those stay at 0.4.0 until the 0.5.0 container is published to NGC, get bumped on the release/0.5.0 branch, and then cherry-picked back to main. See commit 2.

Commit 2 — docs(claude): add version-bump procedure to agent instructions

Adds a new ## Bumping the ModelExpress Version section to CLAUDE.md documenting the two-cadence model (workspace on main; public-image refs on the release branch post-publish → cherry-pick back). Includes the exact file list, the test-hash recapture command, and a note explaining why image-tag refs lag behind the workspace version. Future agents picking up the bump task have a single place to read instead of re-deriving the convention.

Test plan

  • cargo check --workspace --tests — passes on a clean Cargo.lock at 0.5.0
  • cd modelexpress_client/python && pytest tests/test_source_id.py tests/test_k8s_service_client.py — 42 passed (after updating the 3 pinned hashes; previously 2 failing, now green)
  • CI passes
  • Sanity-check that the new section in CLAUDE.md is visible at the right place (between "Adding gRPC Services" and "Git Workflow")

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores

    • Bumped version to 0.5.0 across workspace, Python client, Helm chart, and documentation examples.
  • Documentation

    • Added detailed version-bumping procedure documentation including guidance on fixture updates, dependency regeneration, hash synchronization, and verification commands.

Review Change Stack

saturley-hall and others added 2 commits May 29, 2026 13:40
Bumps the workspace, Python client, and Helm chart versions in lockstep,
and refreshes the mx_version test fixtures and their pinned source-id
cross-check hashes (Python <-> Rust).

The image-tag references in helm/values*.yaml, helm/README.md, and
examples/ are intentionally left at 0.4.0 — those track the public
release image and get bumped on the release branch, not on main.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Document the two-cadence version-bump model in CLAUDE.md so future
agent sessions don't have to re-discover it:

- On main: bump workspace, Python, Helm-chart versions and mx_version
  protocol fixtures, regenerate Cargo.lock and uv.lock, capture the
  new pinned source-id cross-check hashes.
- Public-image tag references (examples/, helm/values*.yaml,
  helm/README.md image tag) stay frozen on main during the workspace
  bump. They get bumped on the release/<X.Y.Z> branch after the release
  tag is set and the container is published on NGC, then cherry-picked
  back to main.

Pulling references at a tag that doesn't exist on NGC sends users at a
broken docker pull, which is what this separation guards against.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 29, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 898c9a5a-13a2-41b9-8563-aefd4c7a8aad

📥 Commits

Reviewing files that changed from the base of the PR and between 3dee097 and 043ea64.

⛔ Files ignored due to path filters (2)
  • Cargo.lock is excluded by !**/*.lock
  • modelexpress_client/python/uv.lock is excluded by !**/*.lock
📒 Files selected for processing (11)
  • CLAUDE.md
  • Cargo.toml
  • docs/metadata.md
  • helm/Chart.yaml
  • modelexpress_client/python/pyproject.toml
  • modelexpress_client/python/tests/test_k8s_service_client.py
  • modelexpress_client/python/tests/test_source_id.py
  • modelexpress_server/src/p2p/backend/redis.rs
  • modelexpress_server/src/p2p/service.rs
  • modelexpress_server/src/p2p/source_identity.rs
  • modelexpress_server/src/p2p/state.rs

Walkthrough

ModelExpress version is bumped from 0.4.0 to 0.5.0 across workspace, Helm chart, Python package, documentation, and test fixtures. Test fixtures and cross-check hash assertions are regenerated to match the updated version value.

Changes

Version Bump

Layer / File(s) Summary
Version bump procedure documentation
CLAUDE.md
New "Bumping the ModelExpress Version" section documents file update sequence, hash synchronization requirements, verification steps, and image-tag publication lifecycle. Documentation Updates table extended to map version-bump changes to this section.
Workspace and deployment manifest version updates
Cargo.toml, helm/Chart.yaml, docs/metadata.md, modelexpress_client/python/pyproject.toml
Workspace version, crate dependency versions, Helm chart version and appVersion, Python package version, and documented metadata examples all bumped to 0.5.0 in sync.
Python test fixture and cross-check hash updates
modelexpress_client/python/tests/test_k8s_service_client.py, modelexpress_client/python/tests/test_source_id.py
Test fixtures update mx_version to 0.5.0; expected hash assertions for _base_identity() base case, revision pinned case, and extra_parameters case collision test are regenerated with new hexadecimal strings.
Rust test fixture and cross-check hash updates
modelexpress_server/src/p2p/backend/redis.rs, modelexpress_server/src/p2p/service.rs, modelexpress_server/src/p2p/source_identity.rs, modelexpress_server/src/p2p/state.rs
Test fixtures across four modules update mx_version to 0.5.0; Python cross-check assertions in source_identity.rs regenerated with new hash strings for base identity, revision-pinned, and extra_parameters scenarios; redis.rs source attributes assertion updated to expect 0.5.0.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Poem

🐰 Bumping versions, one point oh more,
From 0.4.0 to what came before,
Hashes all dance, fixtures all align,
Cargo and Helm now perfectly shine!
A rabbit hops onward to versions unknown,
While ModelExpress grows stronger—full-grown. 🌿✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 33.33% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'chore: bump version from 0.4.0 to 0.5.0' clearly and directly summarizes the primary change across the changeset: a coordinated version bump across workspace, Python client, Helm chart, documentation, and test fixtures.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@saturley-hall saturley-hall merged commit 4dcda78 into main May 29, 2026
35 checks passed
@saturley-hall saturley-hall deleted the harrison/chore-bump-mx-0.5.0 branch May 29, 2026 19:58
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.

1 participant