Skip to content

test KC upgrade#4411

Draft
aledegano wants to merge 4 commits into
masterfrom
test_fix_init_kc+upgrade
Draft

test KC upgrade#4411
aledegano wants to merge 4 commits into
masterfrom
test_fix_init_kc+upgrade

Conversation

@aledegano
Copy link
Copy Markdown
Contributor

When a modified client is recreated, get_client_service_account_user
was called unconditionally on all clients. This caused the script to
blow up for clients that do not use the client_credentials OAuth flow
and therefore have no service account. Guard the call (and the
subsequent role-assignment logic) behind an oauth_flow check, mirroring
the pattern already used in the 'client not found' branch.

Fixes #4373

/deploy

RenkuBot and others added 3 commits March 10, 2026 16:02
When a modified client is recreated, get_client_service_account_user
was called unconditionally on all clients. This caused the script to
blow up for clients that do not use the client_credentials OAuth flow
and therefore have no service account. Guard the call (and the
subsequent role-assignment logic) behind an oauth_flow check, mirroring
the pattern already used in the 'client not found' branch.

Fixes #4373
@RenkuBot
Copy link
Copy Markdown
Collaborator

You can access the deployment of this PR at https://ci-renku-4411.dev.renku.ch

@aledegano aledegano changed the title fix: guard service account user fetch behind client_credentials check test KC upgrade Mar 23, 2026
Base automatically changed from release-2.16.0 to master April 15, 2026 14:17
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