-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Change minRunners behavior and fix the new listener min runners #3139
Conversation
done | ||
kubectl wait --timeout=30s --for=condition=ready pod -n arc-systems -l actions.github.com/scale-set-name=$ARC_NAME | ||
kubectl get pod -n arc-systems | ||
- name: Ensure 5 runners are up |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this test is not sufficient, what I think the test should do is also to trigger one or more workflow runs and make sure we have 5 runners all the time
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't want to delay the release for an e2e test. I'm fine with this moving forward as long as we address the e2e right after
Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
@nikola-jokic will this also apply to legacy ARC? i'm guessing not but would it be easy enough to apply there also? |
@mumoshu do you think this would be an easy enough change in legacy ARC? happy to help if so... :) |
This PR implements the proposed ADR and changes its status.
Target runner count is now calculated as
min(assigned + minRunners, maxRunners)
where maxRunners is set to the maximum number that can fit in int32 if not configured.Also, this PR fixes a bug in the new listener that is not yet published, introduced by #3096
Fixes #2707