You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Coder agent has a startup_script to run arbitrary actions when it is started.
A shutdown_script could be added to run clean-up operations, collect stats, etc. before Coder actually changes the workspace state. A configurable timeout could be added to ensure a shutdown still occurs even if the script fails/hangs.