-
Notifications
You must be signed in to change notification settings - Fork 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
enhancement: UpdateTask when Task is waiting for ShutdownDelay #14775
Conversation
this looks good @DarthBenro008 ! Would you please provide instructions on how can I test it? |
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.
see #14775 (comment)
@cesarvspr , you can create a Task with shutdown delay and then run |
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.
Hi @DarthBenro008, this is great!
I've left some suggestions this could be made even better. Also, can you add a changelog entry file? It'll be a file at .changelog/14775.txt
that's in the format like this one. For the text, it can be something like:
client: Added a TaskEvent when task shutdown is waiting on shutdown_delay
This just missed the window for Nomad 1.4.0 GA, but once this is merged you can expect this to ship in the next regular release of Nomad. Thanks so much!
Signed-off-by: Hemanth Krishna <[email protected]>
a05923c
to
2879a66
Compare
Hi @tgross, thanks a lot for the detailed review! 😃 . I have made the necessary amendments! |
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.
LGTM! Thanks @DarthBenro008! This should ship in the next regular patch release of Nomad
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
Signed-off-by: Hemanth Krishna [email protected]
shutdown_delay
#14170TaskWaitingShuttingDownDelay
(Open to suggestions)