Skip to content

refac(ske): Use new WaitHelper for waiters#7725

Open
Fyusel wants to merge 1 commit into
mainfrom
refactor-ske-wait-handler
Open

refac(ske): Use new WaitHelper for waiters#7725
Fyusel wants to merge 1 commit into
mainfrom
refactor-ske-wait-handler

Conversation

@Fyusel
Copy link
Copy Markdown
Contributor

@Fyusel Fyusel commented Jun 3, 2026

STACKITSDK-393

Description

Checklist

  • Issue was linked above
  • No generated code was adjusted manually (check comments in file header)
  • Changelogs
    • Changelog in the root directory was adjusted (see here)
    • Changelog(s) of the service(s) were adjusted (see e.g. here)
  • VERSION file(s) of the service(s) were adjusted
  • Code format was applied: make fmt
  • Examples were added / adjusted (see examples/ directory)
  • Unit tests got implemented or updated
  • Unit tests are passing: make test (will be checked by CI)
  • No linter issues: make lint (will be checked by CI)

@Fyusel Fyusel requested a review from a team as a code owner June 3, 2026 08:54
@Fyusel Fyusel force-pushed the refactor-ske-wait-handler branch 2 times, most recently from ee98c1c to 772fb60 Compare June 3, 2026 10:19
STACKITSDK-393

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
@Fyusel Fyusel force-pushed the refactor-ske-wait-handler branch from 772fb60 to 27de359 Compare June 3, 2026 11:31
}

// createOrUpdateClusterWaitHandler will wait for cluster creation or update
func createOrUpdateClusterWaitHandler(ctx context.Context, a ske.DefaultAPI, projectId, region, name string) *wait.AsyncActionHandler[ske.Cluster] {
Copy link
Copy Markdown
Member

@rubenhoenle rubenhoenle Jun 3, 2026

Choose a reason for hiding this comment

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

That's a breaking change, you can't do this.

You must keep CreateOrUpdateClusterWaitHandler with public visibility, you can just deprecate it and mark it for removal ("removal" from user perspective, actually we will be changing it to private visibility) in 6 months. Deprecation should contain instructions to migrate to CreateClusterWaitHandler and UpdateClusterWaitHandler.

Copy link
Copy Markdown
Member

@rubenhoenle rubenhoenle left a comment

Choose a reason for hiding this comment

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

No breaking change pls

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.

2 participants