fix(rustfs): keep stable definition identity for e2e - #3289
Draft
weicao wants to merge 10 commits into
Draft
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## jessica/rustfs-remove-dp-runtime-baseline #3289 +/- ##
=========================================================================
Coverage 0.00% 0.00%
=========================================================================
Files 162 163 +1
Lines 24748 24806 +58
=========================================================================
- Misses 24748 24806 +58 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
added 6 commits
August 2, 2026 12:03
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.
Problem
A retained test environment attempted to install a chart that changed the immutable
spec.serviceVersionof the existingComponentDefinition/rustfs-0.1.0from1.0.0-beta.10to1.0.0-beta.8. The controller rejected the in-place change and the product test never started.Creating a new ComponentDefinition name for every E2E run is also the wrong lifecycle: ordinary tests should safely uninstall the previous release, wait for the release-owned objects to become absent, and then reinstall the current exact chart.
Change
rustfs-0.1.0even though the chart package advances to0.1.11.0.0-beta.10ComponentVersionselect only the stable definitionrustfs-0.1.0and1.0.0-beta.10extra.keepResource=false, so ordinary Helm uninstall owns deletion; add no migration/retention hook and no immutable-check bypass--is-upgrade, using Hash-only YAML streamsVerification
ordinary upgrade must not add migration hooksgit diff --check: PASSBoundary
This proves source/render behavior only. Test owns the safe environment reset: verify there is no live RustFS Cluster reference, ordinary Helm uninstall, bounded wait for the release and old install objects to become absent, then fresh install/readiness. A live reference must fail closed or use a clean environment; no force deletion. No runtime/product PASS is claimed here.
This is a stacked PR; its base is
jessica/rustfs-remove-dp-runtime-baselineat956dc71742cefae1f84b893201b4431c7c5d2aae.