fix: sync versions to 0.7.2 and migrate to .cz.yaml config#70
fix: sync versions to 0.7.2 and migrate to .cz.yaml config#70OzBenSimhonTraceloop merged 4 commits intomainfrom
Conversation
WalkthroughRemoved the old Commitizen TOML config, added a new Changes
Sequence Diagram(s)sequenceDiagram
participant Dev as Developer
participant CI as CI / Release job
participant CZ as Commitizen (.cz.yaml)
participant Files as Version files
rect rgb(230, 248, 230)
Note right of CZ: New config tracks\nCargo.toml & helm/Chart.yaml
end
Dev->>CI: Trigger release (commit bump)
CI->>CZ: Run commitizen bump (provider: commitizen)
CZ->>Files: Update `Cargo.toml` (version)
CZ->>Files: Update `helm/Chart.yaml` (version)
Files-->>CI: Files updated
CI->>Dev: Release artifacts / changelog updated
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
Comment |
There was a problem hiding this comment.
Important
Looks good to me! 👍
Reviewed everything up to 6fff2d4 in 43 seconds. Click for details.
- Reviewed
38lines of code in3files - Skipped
0files when reviewing. - Skipped posting
3draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. .cz.toml:8
- Draft comment:
Good update: now both Cargo.toml and helm/Chart.yaml are listed for version bumps. Ensure documentation reflects this change. - Reason this comment was not posted:
Confidence changes required:0%<= threshold50%None
2. Cargo.toml:3
- Draft comment:
Bump package version to 0.7.2 for consistency with Helm chart and tag version. - Reason this comment was not posted:
Confidence changes required:0%<= threshold50%None
3. helm/Chart.yaml:5
- Draft comment:
Updated Helm chart version to 0.7.2. If the chart uses appVersion elsewhere, consider updating it too. - Reason this comment was not posted:
Confidence changes required:0%<= threshold50%None
Workflow ID: wflow_RYijB0kboV76vCO5
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
There was a problem hiding this comment.
Important
Looks good to me! 👍
Reviewed 5b31020 in 42 seconds. Click for details.
- Reviewed
19lines of code in1files - Skipped
0files when reviewing. - Skipped posting
2draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. .cz.yaml:4
- Draft comment:
Consider quoting 'v$version' to prevent any YAML parser misinterpretation of the dollar sign. - Reason this comment was not posted:
Confidence changes required:33%<= threshold50%None
2. .cz.yaml:7
- Draft comment:
Verify that using a regex (^version) for Cargo.toml and a plain key ('version') for helm/Chart.yaml is intentional and consistent. - Reason this comment was not posted:
Confidence changes required:33%<= threshold50%None
Workflow ID: wflow_hcV4hra4PcXufG11
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
.cz.yaml (1)
3-12: Confirm pre-1.0 bump semantics (major_version_zero).If you rely on 0.y.z semantics (no “major” bumps before 1.0), explicitly set major_version_zero; the TOML previously had this key. Omitting it may change bump behavior.
commitizen: name: cz_conventional_commits tag_format: v$version version: 0.7.2 + major_version_zero: true version_files:
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Disabled knowledge base sources:
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (2)
.cz.toml(0 hunks).cz.yaml(1 hunks)
💤 Files with no reviewable changes (1)
- .cz.toml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: build
- GitHub Check: Analyze (rust)
🔇 Additional comments (1)
.cz.yaml (1)
5-12: Versions are synchronized across files. All version declarations in.cz.yaml,Cargo.toml, andhelm/Chart.yamlmatch at 0.7.2.
| version_files: | ||
| - Cargo.toml:^version | ||
| - helm/Chart.yaml:version |
There was a problem hiding this comment.
🛠️ Refactor suggestion | 🟠 Major
Anchor regexes to avoid accidental matches in Chart.yaml (apiVersion/appVersion).
Pattern helm/Chart.yaml:version can match apiVersion and appVersion. Anchor and include the separator for precision; optionally keep appVersion in sync too.
version_files:
- - Cargo.toml:^version
- - helm/Chart.yaml:version
+ - Cargo.toml:^version\s*=
+ - helm/Chart.yaml:^version\s*:
+ # Optional: keep chart appVersion aligned with the released app/image tag
+ # - helm/Chart.yaml:^appVersion\s*:🤖 Prompt for AI Agents
In .cz.yaml around lines 6 to 8, the pattern "helm/Chart.yaml:version" is too
loose and may match apiVersion or appVersion; update it to anchor the key and
include the YAML key separator (e.g. use a regex like '^version:' for the
version key in Chart.yaml) and optionally add a separate anchored entry for
appVersion (e.g. '^appVersion:') so only the intended fields are matched.
There was a problem hiding this comment.
Important
Looks good to me! 👍
Reviewed c93188d in 34 seconds. Click for details.
- Reviewed
12lines of code in1files - Skipped
0files when reviewing. - Skipped posting
1draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. .cz.yaml:11
- Draft comment:
The addition of 'major_version_zero: true' is appropriate for managing 0.x versions; consider adding a brief inline comment explaining its purpose for clarity. - Reason this comment was not posted:
Confidence changes required:33%<= threshold50%None
Workflow ID: wflow_LoISxnrfL34Jm9U1
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
Changes
helm/Chart.yaml:versionto commitizenversion_files(was missing, causing version drift).cz.toml→.cz.yamlto align with other repos0.7.2(Cargo.toml, helm/Chart.yaml, .cz.yaml)version_provider: cargo→commitizen(required for updating multiple files)Problem This Fixes
There was a version mismatch between Docker images and Helm charts:
traceloop/hub: 0.7.2 ✅traceloop/helm-hub: 0.5.0 ❌ (outdated)This happened because the commitizen configuration was only updating
Cargo.tomlduring version bumps, leavinghelm/Chart.yamland.cz.tomlstuck at version 0.5.0 and 0.7.0.Important
Synchronize version to 0.7.2 across files and migrate commitizen config to YAML.
0.7.2inCargo.toml,helm/Chart.yaml, and.cz.yaml.helm/Chart.yaml:versiontoversion_filesin.cz.yamlto prevent version drift..cz.tomlto.cz.yamlfor commitizen configuration.version_providerfromcargotocommitizenin.cz.yamlto support multiple file updates.This description was created by
for c93188d. You can customize this summary. It will automatically update as commits are pushed.
Summary by CodeRabbit