Skip to content

fix: check only the major version against the Helm Chart - #73

Merged
desaintmartin merged 1 commit into
mainfrom
fix/check-major-version-only
Oct 20, 2026
Merged

desaintmartin merged 1 commit into
mainfrom
fix/check-major-version-only

Conversation

@desaintmartin

Copy link
Copy Markdown
Member

Summary

ensure_safe_run compares the package version with the Helm Chart appVersion (HELM_CHART_APP_VERSION). It compared major.minor:

  • a chart upgrade within the same major forced a backend upgrade;
  • a package upgrade forced a chart upgrade.

A minor release keeps the Helm Chart contract (environment variables, configuration file). The check now compares the major version only. A different major still aborts.

Follows #72.

  • Release as 7.1.1.
  • The README and the tests follow the new rule.

Tests

  • Unit tests: 107 passed.

@desaintmartin
desaintmartin force-pushed the fix/check-major-version-only branch from f870b85 to 6f78156 Compare October 20, 2026 14:15

@nahuel11500 nahuel11500 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, please adapt the changelog before merging and tagging

Comment thread CHANGELOG.md Outdated
@desaintmartin
desaintmartin force-pushed the fix/check-major-version-only branch from 6f78156 to ccea36c Compare October 20, 2026 14:19
A minor or patch release of the package keeps the Helm Chart contract.
The check compared major.minor, so a chart upgrade forced a backend
upgrade, and a package upgrade forced a chart upgrade. Chartreuse 7.1.0
refuses to start with the Helm Chart appVersion 7.0.0.
@desaintmartin
desaintmartin force-pushed the fix/check-major-version-only branch from ccea36c to 3c33261 Compare October 20, 2026 14:23
@desaintmartin
desaintmartin merged commit 98ec0fb into main Oct 20, 2026
6 checks passed
@desaintmartin
desaintmartin deleted the fix/check-major-version-only branch October 20, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants