Title: Run script before workspace stop · Issue #4677 · coder/coder · GitHub
Open Graph Title: Run script before workspace stop · Issue #4677 · coder/coder
X Title: Run script before workspace stop · Issue #4677 · coder/coder
Description: 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 ...
Open Graph Description: 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 ...
X Description: 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 ...
Opengraph URL: https://github.com/coder/coder/issues/4677
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Run script before workspace stop","articleBody":"The Coder agent has a [startup_script](https://registry.terraform.io/providers/coder/coder/latest/docs/resources/agent#startup_script) to run arbitrary actions when it is started.\r\n\r\nA `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.","author":{"url":"https://github.com/bpmct","@type":"Person","name":"bpmct"},"datePublished":"2022-10-21T13:21:52Z","url":"https://github.com/coder/coder/issues/4677"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6ca68609-035a-199d-c2b5-3bfe5c15920c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 95DC:311640:26ACA22:3125484:6B019746 |
| html-safe-nonce | e4c2eeb05c0e0b3d120a9a0adc2fba9a95472646c505ae8f2f56e6442c6d4e9d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NURDOjMxMTY0MDoyNkFDQTIyOjMxMjU0ODQ6NkIwMTk3NDYiLCJ2aXNpdG9yX2lkIjoiMzg4MDk2MzQwNDI5MDE2ODY0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1cfdb6427f47f2374f655bb61f4c55f1375e29b96c588239dcde67601dbec9dc |
| hovercard-subject-tag | issue:1418335223 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/4677/issue_layout |
| twitter:image | https://opengraph.githubassets.com/af827d7d4fbaff0527bc6e9ee2552f78d78873c99ad588eb8884eee1b04c5aa6/coder/coder/issues/4677 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/af827d7d4fbaff0527bc6e9ee2552f78d78873c99ad588eb8884eee1b04c5aa6/coder/coder/issues/4677 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bpmct |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width