Skip to content

Conversation

@ajanikow
Copy link
Collaborator

@ajanikow ajanikow commented Dec 1, 2025

Note

Adds automatic upgrade handling for failed Helm releases and standardizes Helm status typing across APIs and helpers.

  • Platform Service Handler (pkg/handlers/platform/service/handler.go):
    • Update release status when it changes; if status.Release.Info.Status is Failed, attempt Helm upgrade; no-op on Deployed; stop on unknown status.
  • API:
    • pkg/apis/platform/v1alpha1/service_status_release.go: change Status to helmRelease.Status.
    • pkg/apis/platform/v1beta1/service_status_release.go: change Status to helmRelease.Status; add Compare methods for release and info structs.
  • Helm Util (pkg/util/k8sutil/helm/types.go):
    • Use helmRelease.* types (Release, Info, Status) throughout converters and ReleaseInfo.
  • Scheduler V2 Helpers (integrations/scheduler/v2/definition/helpers.go):
    • Switch to helmRelease.Status and update status mapping helpers accordingly.
  • Tooling/Docs:
    • .golangci.yaml: add importas alias helmRelease for helm.sh/helm/v3/pkg/release.
    • CHANGELOG.md: add entry “(Feature) (Platform) Update Failed Releases”.

Written by Cursor Bugbot for commit e04693f. This will update automatically on new commits. Configure here.

@cla-bot cla-bot bot added the cla-signed label Dec 1, 2025
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This PR is being reviewed by Cursor Bugbot

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

@ajanikow ajanikow force-pushed the feature/platform/update_failed_releases branch from b8c1073 to e04693f Compare December 1, 2025 09:42
@ajanikow ajanikow merged commit b73c242 into master Dec 1, 2025
4 checks passed
@ajanikow ajanikow deleted the feature/platform/update_failed_releases branch December 1, 2025 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants