Skip to content

Conversation

the-technat
Copy link
Collaborator

@the-technat the-technat commented Sep 19, 2025

Replaces #723, #729 since v3.1.2 also fixed the error and we already test against v3.1 in CI (and tests were somehow failing when using v3.0.14).

The related code changes still need to be verified if that's the way to adapt to the changes in the library.

Signed-off-by: Nathanael Liechti <technat@technat.ch>
runtime.ErrorHandlers = runtimeErrorHandlers
}

err := headless.MaybeStartLocalServer(ctx, opts, "", nil, nil, nil)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This sounds interesting that there's now a proper shutdown function for the server. I suppose this could be related to #616, but have to verify over there. For now I suggest doing a no-op to keep the current behavior.

}
}

func newApplicationHealthStatus(hs *v1alpha1.AppHealthStatus) *applicationHealthStatus {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm not sure if this is the way to do it. Alternative would be to not duplicate this function and create some sort of interface as HealthStatus and AppHealthStatus contain almost the same fields. Only difference is that Message is now deprecated and that's probably the reason why they created a second type that's almost identical but haven't yet migrated to this new one in every place...

k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.32.2
k8s.io/sample-cli-plugin => k8s.io/sample-cli-plugin v0.32.2
k8s.io/sample-controller => k8s.io/sample-controller v0.32.2
k8s.io/api => k8s.io/api v0.33.1
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copied from the go.mod file of Argo CD

@the-technat the-technat marked this pull request as ready for review September 19, 2025 13:04
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.

1 participant