mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-30 04:06:34 +09:00
The first run of this branch died 30 minutes into the install with Helm upgrade failed for release cozy-system/cozystack-platform: timeout waiting for: [Package/cozystack.backupstrategy-controller status: 'InProgress'] cozystack.backupstrategy-controller is a default package whose PackageSource dependsOn both cozystack.velero and cozystack.backup-controller. Disabling either leaves it DependenciesNotReady forever, and the platform Helm upgrade waits on every Package it emits, so one stuck dependency stalls the whole release. Nothing dependsOn backupstrategy-controller in turn, so disabling it closes the chain rather than moving the problem. This was avoidable twice over. packages/core/platform/tests/ bundles_velero_default_test.yaml documents the hazard in its own header comment, and it is the file I read to copy an assertion idiom from; I took the syntax and missed the warning. Separately I had checked values-isp-full.yaml for an enabledPackages entry and concluded backupstrategy-controller was not enabled under this variant, but that check ran against the stale base this branch was originally cut from. The dependency closure is now computed rather than reasoned about, over every PackageSource in packages/core/platform/sources, against the full disable set (paas, naas, the four system packages and both keycloak packages). It reports exactly two remaining edges, cozystack.cozystack-engine and cozystack.monitoring-application on cozystack.keycloak-operator, and both live only on those sources' `oidc` variants. With authentication.oidc.enabled off the `default` variants are selected and neither carries a keycloak dependency, so the set is clean. The system-bundle test now asserts backupstrategy-controller is absent alongside the rest. Platform suite: 36 suites, 144 tests, all passing. Assisted-By: Claude <noreply@anthropic.com> Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>