-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Selenium Grid | Fix latest browser version use case scaling #4922
Conversation
Thank you for your contribution! 🙏 We will review your PR as soon as possible.
While you are waiting, make sure to:
Learn more about: |
Signed-off-by: Brandon Wolfe <Wolfe1@gmail.com>
Signed-off-by: Brandon Wolfe <Wolfe1@gmail.com>
aae1fab
to
6004d53
Compare
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.
Thanks for the fix!
Could you rebase main to resolve the merge conflict?
/run-e2e selenium |
Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es> Signed-off-by: Brandon Wolfe <Wolfe1@gmail.com>
Signed-off-by: Brandon Wolfe <Wolfe1@gmail.com>
/skip-e2e |
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.
Thanks for your contributions! ❤️
…#4922) Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
…#4922) Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
…#4922) Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es> Signed-off-by: anton.lysina <alysina@gmail.com>
Pull request #4348 broke scaling for the default use case (using only latest browser version). Items coming into the queue do not have a version number and would get counted correctly. After those items become sessions they are assigned a version number and were no longer counted by KEDA in this scenario. After the initial scale up we would only be monitoring the queue which would lead to stalled scaling or scaling down prematurely. More details in #4858
The purposed solution is to ignore the version number on the sessions when we are using the DefaultBrowserVersion. All existing unit tests still pass and have not been modified so #4348's use case should still be in tact. Added a couple unit tests to cover this default scenario.
Checklist
When introducing a new scaler, I agree with the scaling governance policyA PR is opened to update our Helm chart (repo) (if applicable, ie. when deployment manifests are modified)A PR is opened to update the documentation on (repo) (if applicable)Fixes #4858
Relates to #4348