Skip to content

[v8][cherry-pick]: Fix CI client-creds integration tests#3798

Merged
prkalle merged 2 commits into
cloudfoundry:v8from
prkalle:fix/client-creds_tests_v8
Jun 17, 2026
Merged

[v8][cherry-pick]: Fix CI client-creds integration tests#3798
prkalle merged 2 commits into
cloudfoundry:v8from
prkalle:fix/client-creds_tests_v8

Conversation

@prkalle

@prkalle prkalle commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Description of the Change

This PR is cherry-pick of #3797

Fixed the CI client-creds integration tests

  • Added--flake-attempts to integration-tests-ci-client-creds to retry transient BOSH Lite staging failures
  • Also fix a pre-existing regression in IsMinimumAPIVersionMet: when the current API version is empty (as in the selfcontained Kubernetes auth test, which sets up config manually without calling cf api),semver.Make("") was called and returned "Version string empty", causingcf apps to fail. Guard against empty current by returning false (minimum not met, use fallback path) instead of erroring. The test failure was introduced by [v8] Use embedded process instances for "cf apps" summary #3725 (embedded process instances for cf appssummary), which added the IsMinimumAPIVersionMet(actor.Config.APIVersion(), ...) call but did not account for contexts where APIVersion is unset.

Why Is This PR Valuable?

This helps to fix the CI checks.

Applicable Issues

List any applicable GitHub Issues here

How Urgent Is The Change?

Fairly urgent to fix the CI checks

Other Relevant Parties

Who else is affected by the change?

@anujc25 anujc25 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. Thanks

@prkalle prkalle merged commit 03b1d4c into cloudfoundry:v8 Jun 17, 2026
16 checks passed
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.

2 participants