Skip to content

fix(wait): ensure cluster is connectable in loop#4616

Merged
brandtkeller merged 3 commits intomainfrom
ensure-cluster-is-connectable
Feb 19, 2026
Merged

fix(wait): ensure cluster is connectable in loop#4616
brandtkeller merged 3 commits intomainfrom
ensure-cluster-is-connectable

Conversation

@AustinAbro321
Copy link
Copy Markdown
Member

Description

In #4567 we added a cluster to check to mimic the kubectl get on a loop behavior that would wait if the cluster was not available, however since the loop continues when a rest config is found, and not when a cluster connection is successful, it's possible to continue on a bad rest config then be in an unrecoverable state.

Checklist before merging

Signed-off-by: Austin Abro <austinabro321@gmail.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 19, 2026

Deploy Preview for zarf-docs canceled.

Name Link
🔨 Latest commit b542f41
🔍 Latest deploy log https://app.netlify.com/projects/zarf-docs/deploys/699776ceb9555b0007710f0a

Signed-off-by: Austin Abro <austinabro321@gmail.com>
@AustinAbro321 AustinAbro321 changed the title fix(wait): ensure cluster is connectable fix(wait): ensure cluster is connectable in loop Feb 19, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 19, 2026

Codecov Report

❌ Patch coverage is 0% with 12 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/pkg/wait/wait.go 0.00% 12 Missing ⚠️
Files with missing lines Coverage Δ
src/pkg/wait/wait.go 15.92% <0.00%> (-0.37%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@AustinAbro321 AustinAbro321 marked this pull request as ready for review February 19, 2026 20:09
@AustinAbro321 AustinAbro321 requested review from a team as code owners February 19, 2026 20:09
Copy link
Copy Markdown
Member

@brandtkeller brandtkeller left a comment

Choose a reason for hiding this comment

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

one super minor go-back otherwise lgtm

Comment thread src/pkg/wait/wait.go Outdated
@github-project-automation github-project-automation Bot moved this to In progress in Zarf Feb 19, 2026
Co-authored-by: Brandt Keller <43887158+brandtkeller@users.noreply.github.com>
Signed-off-by: Austin Abro <37223396+AustinAbro321@users.noreply.github.com>
Copy link
Copy Markdown
Member

@brandtkeller brandtkeller left a comment

Choose a reason for hiding this comment

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

I appreciate the distinct cluster connectivity check. lgtm.

@brandtkeller brandtkeller added this pull request to the merge queue Feb 19, 2026
Merged via the queue into main with commit ade37d0 Feb 19, 2026
31 checks passed
@brandtkeller brandtkeller deleted the ensure-cluster-is-connectable branch February 19, 2026 21:42
@github-project-automation github-project-automation Bot moved this from In progress to Done in Zarf Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants