fix(release): sync subcrate versions and use YYYY.MM.0 calver#7516
Merged
Conversation
The independent subcrate versioning feature (#7402) had two issues: 1. No initial tags were created for existing published versions, causing `has_crate_changes()` to always detect changes and attempt republishing 2. The calver bump logic was complex and could produce versions that already exist on crates.io (e.g., bumping 2025.10.0 -> 2025.11.0 when 2025.11.0 was already published) This fix: - Updates subcrate Cargo.toml versions to match crates.io (2025.12.12) - Simplifies calver to use YYYY.MM.0 for first release of each month - Tags vfox-v2025.12.12 and aqua-registry-v2025.12.12 were pushed separately 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes the release-plz workflow by synchronizing subcrate versions with crates.io and simplifying the calver versioning scheme. The root issue was missing initial tags causing incorrect version bumps (2025.10.0 → 2025.11.0, which already existed on crates.io).
Key changes:
- Syncs
vfoxandaqua-registrycrate versions to2025.12.12(matching crates.io) - Simplifies calver logic to use
YYYY.MM.0for first release in a month, thenYYYY.MM.1,YYYY.MM.2, etc. for subsequent releases
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| xtasks/release-plz | Simplified calver bump logic to use YYYY.MM.0 for new months and remove the intermediate year-only check |
| crates/vfox/Cargo.toml | Updated version from 2025.10.0 to 2025.12.12 to sync with crates.io |
| crates/aqua-registry/Cargo.toml | Updated version from 2025.10.0 to 2025.12.12 to sync with crates.io |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Owner
Author
|
bugbot run |
Hyperfine Performance
|
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
mise-2025.12.12 x -- echo |
19.2 ± 0.3 | 18.6 | 21.7 | 1.00 |
mise x -- echo |
19.4 ± 0.4 | 18.8 | 24.5 | 1.01 ± 0.03 |
mise env
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
mise-2025.12.12 env |
18.8 ± 0.5 | 18.3 | 25.3 | 1.00 |
mise env |
18.9 ± 0.2 | 18.4 | 20.4 | 1.01 ± 0.03 |
mise hook-env
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
mise-2025.12.12 hook-env |
18.9 ± 0.2 | 18.5 | 20.0 | 1.00 |
mise hook-env |
19.1 ± 2.0 | 18.5 | 63.3 | 1.01 ± 0.11 |
mise ls
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
mise-2025.12.12 ls |
16.9 ± 0.9 | 16.3 | 27.8 | 1.00 |
mise ls |
16.9 ± 0.2 | 16.5 | 18.1 | 1.00 ± 0.05 |
xtasks/test/perf
| Command | mise-2025.12.12 | mise | Variance |
|---|---|---|---|
| install (cached) | 107ms | 109ms | -1% |
| ls (cached) | 65ms | 65ms | +0% |
| bin-paths (cached) | 72ms | 71ms | +1% |
| task-ls (cached) | 2268ms | ✅ 287ms | +690% |
✅ Performance improvement: task-ls cached is 690%
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Fixes the release-plz workflow failure caused by the independent subcrate versioning feature (#7402).
Root cause:
vfox-v*,aqua-registry-v*) were created when the feature was deployedhas_crate_changes()always detected changes since no tags existed2025.10.0→2025.11.0, but2025.11.0already existed on crates.ioThis fix:
2025.12.12)YYYY.MM.0for first release of each monthvfox-v2025.12.12andaqua-registry-v2025.12.12were pushed separatelyNew versioning scheme for subcrates:
YYYY.MM.0(e.g.,2025.12.0,2026.1.0)YYYY.MM.1,YYYY.MM.2, etc.Test plan
bash -n xtasks/release-plz🤖 Generated with Claude Code
Note
Aligns subcrate versions with crates.io and standardizes monthly calver behavior in the release script.
aqua-registryandvfoxto2025.12.12in theirCargo.tomlfiles andCargo.lockxtasks/release-plzto use calverYYYY.MM.0on new month/year and patch-bump within the sameYYYY.MM, applied in bothbump_subcrate_if_changedandbump_and_publish_subcrateWritten by Cursor Bugbot for commit cad4356. This will update automatically on new commits. Configure here.