Skip to content

fix: reflect blocked teardown as Blocked in featureSummaries status - #1953

Merged
gianlucam76 merged 1 commit into
projectsveltos:mainfrom
gianlucam76:bug-1950
Sep 9, 2026
Merged

fix: reflect blocked teardown as Blocked in featureSummaries status#1953
gianlucam76 merged 1 commit into
projectsveltos:mainfrom
gianlucam76:bug-1950

Conversation

@gianlucam76

Copy link
Copy Markdown
Member

ClusterSummary.status.featureSummaries[].status stayed did not move to Removing whenever teardown was deferred by either a still-existing DependsOn dependent, or a TransitionFrom successor not yet Provisioned.
status.dependencies correctly explained the wait, but status kept implying active work, which is misleading.

Adds a FeatureStatusBlocked value to the shared FeatureStatus and sets it.

The ClusterSummary Status will explain whats happening

status:
  dependencies: ClusterProfile deploy-kyverno-v2 is replacing this profile on this
    cluster but is not fully deployed yet
  featureSummaries:
  - featureID: Helm
    lastAppliedTime: "2026-09-09T14:20:22Z"
    resourceSummaryDeployed: false
    status: Blocked

Fixes #1950.

ClusterSummary.status.featureSummaries[].status stayed did not move to Removing whenever teardown
was deferred by either a still-existing DependsOn dependent, or a TransitionFrom successor not yet
Provisioned.
status.dependencies correctly explained the wait, but status kept implying active work, which is misleading.

Adds a FeatureStatusBlocked value to the shared FeatureStatus and sets it.

The ClusterSummary Status will explain whats happening

```yaml
status:
  dependencies: ClusterProfile deploy-kyverno-v2 is replacing this profile on this
    cluster but is not fully deployed yet
  featureSummaries:
  - featureID: Helm
    lastAppliedTime: "2026-09-09T14:20:22Z"
    resourceSummaryDeployed: false
    status: Blocked
```

Fixes projectsveltos#1950.
@gianlucam76
gianlucam76 merged commit 4683ac4 into projectsveltos:main Sep 9, 2026
18 of 22 checks passed
@gianlucam76
gianlucam76 deleted the bug-1950 branch September 9, 2026 17:51
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.

ClusterSummary featureSummaries status is stale/misleading while teardown is blocked (DependsOn / TransitionFrom)

1 participant