-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
[grid] Node flag register-shutdown-on-failure
#15297
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
CI Feedback 🧐(Feedback updated until commit f7ebb01)A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
|
7544113
to
18becb4
Compare
register-loopback
to shutdown after register period failedregister-shutdown-on-failure
Signed-off-by: Viet Nguyen Duc <[email protected]>
18becb4
to
f7ebb01
Compare
User description
Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Motivation and Context
register-shutdown-on-failure
- If this flag is enabled, the Node will shut down after the register period is completed. This is useful for container environments to restart and register again. If restarted multiple times, the Node container status will be CrashLoopBackOff.This also adds a message for the event
onFailure
inRetryPolicy
to clarify the behavior of--register-period
(After this period is completed, the Node will not attempt to register again), notify the user that needs to take action (e.g restart the Node, or spawn the process again for registration, or increase the default period 120 seconds) based on different situation.Enable
register-shutdown-on-failure
Types of changes
Checklist