8000 Make distribution startup timeout configurable by mabartos · Pull Request #39143 · keycloak/keycloak · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Make distribution startup timeout configurable #39143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 23, 2025

Conversation

mabartos
Copy link
Contributor

Closes #39142

@keycloak/cloud-native Could you please check it? Thanks!

Copy link
Contributor
@vmuzikar vmuzikar left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

Having configurable timeout might seem handy, however I wonder if it's the best approach for our CIs. Since we do not want to have code differences in our repos, this would have to be hooked up to some GHA variable (so it's configured at the repo settings level and not on the code / workflow definition level).

I wonder if it wouldn't be simpler to just increase the timeout so it works for all our repos / CI envs?

@mabartos
Copy link
Contributor Author

Having configurable timeout might seem handy, however I wonder if it's the best approach for our CIs. Since we do not want to have code differences in our repos, this would have to be hooked up to some GHA variable (so it's configured at the repo settings level and not on the code / workflow definition level).
I wonder if it wouldn't be simpler to just increase the timeout so it works for all our repos / CI envs?

Ok, if we'd like to minimize code differences, I'd vote to set the different timeout only for the store integration tests. As the RawKeycloakDistribution is used in many places where we do not expect big startup delays, it might bring some additional tradeoffs. To be more specific, if there's an issue at the startup, we wait much longer for the server and the overall CI spent time is much bigger.

Closes keycloak#39142

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
@mabartos
Copy link
Contributor Author

@vmuzikar Does it work for you to have changes like in the current state of this PR?

@mabartos mabartos marked this pull request as ready for review April 23, 2025 11:16
@mabartos mabartos requested review from a team as code owners April 23, 2025 11:16
@vmuzikar vmuzikar enabled auto-merge (squash) April 23, 2025 14:02
@stianst stianst disabled auto-merge April 23, 2025 14:19
@stianst stianst merged commit b5fa1d0 into keycloak:main Apr 23, 2025
79 of 81 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make distribution startup timeout configurable
3 participants
0