Skip to content

[main] Fix CI client-creds integration tests#3797

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

[main] Fix CI client-creds integration tests#3797
prkalle merged 2 commits into
cloudfoundry:mainfrom
prkalle:fix/client-creds_tests

Conversation

@prkalle

@prkalle prkalle commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Description of the Change

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 [main] Use embedded process instances for "cf apps" summary #3726 (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?

@prkalle prkalle changed the title Fix CI client-creds integration tests [main] Fix CI client-creds integration tests Jun 16, 2026
@prkalle

prkalle commented Jun 16, 2026

Copy link
Copy Markdown
Contributor Author

Verified the fixes in CI: https://github.com/cloudfoundry/cli/actions/runs/27580638591

@prkalle prkalle marked this pull request as ready for review June 16, 2026 20:36

@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 7c0c8db into cloudfoundry:main 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