Skip to content

Conversation

mtojek
Copy link
Member

@mtojek mtojek commented Nov 24, 2022

Issue: coder/coder#4677

This PR introduces a new parameter - the shutdown script. The script is intended to be executed before the agent is stopped, before the networking is shut down.

@mtojek mtojek self-assigned this Nov 24, 2022
@mtojek mtojek marked this pull request as ready for review November 24, 2022 09:13
@mtojek mtojek requested a review from a team November 24, 2022 09:27
Copy link
Member

@mafredri mafredri left a comment

Choose a reason for hiding this comment

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

Do you think we will need a shutdown_script_timeout as well? I think it'd be fine to wait indefinitely until shutdown script has completed, at least to start with. Most likely someone will want to debug something if the shutdown script has hung.

@mtojek
Copy link
Member Author

mtojek commented Nov 24, 2022

Yes, the idea is to come back quickly with basic feature. Then, I can extend it with extras like configurable execution timeout, retries, etc.

@mtojek mtojek requested a review from kylecarbs November 25, 2022 09:27
@mtojek
Copy link
Member Author

mtojek commented Nov 25, 2022

Hey @kylecarbs, it seems that I'm not authorized to merge this PR. Could you please help with this?

@mafredri mafredri merged commit e9305f5 into coder:main Nov 25, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Nov 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy