Skip to content

Run script before workspace stop #4677

Closed
@bpmct

Description

@bpmct

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions