Title: Support for running a script on workspace delete · Issue #13387 · coder/coder · GitHub
Open Graph Title: Support for running a script on workspace delete · Issue #13387 · coder/coder
X Title: Support for running a script on workspace delete · Issue #13387 · coder/coder
Description: Right now there's support to run scripts on workspace startup and stop, but it would also be nice to run a script when a workspace is deleted. For example we have workspaces that are persistent VMs, when they are started they install an ...
Open Graph Description: Right now there's support to run scripts on workspace startup and stop, but it would also be nice to run a script when a workspace is deleted. For example we have workspaces that are persistent VMs...
X Description: Right now there's support to run scripts on workspace startup and stop, but it would also be nice to run a script when a workspace is deleted. For example we have workspaces that are persistent...
Opengraph URL: https://github.com/coder/coder/issues/13387
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support for running a script on workspace delete","articleBody":"Right now there's support to run scripts on workspace startup and stop, but it would also be nice to run a script when a workspace is deleted. \r\n\r\nFor example we have workspaces that are persistent VMs, when they are started they install an register an XDR agent. We'd like to run a script to uninstall the agent which also unregisters it when they are deleted. We can run a script to do so when the workspace is stopped, but then we have to reinstall it on start and uninstall it on stop, and that creates a lot of unnecessary churn. ","author":{"url":"https://github.com/evilhamsterman","@type":"Person","name":"evilhamsterman"},"datePublished":"2024-05-28T19:43:57Z","url":"https://github.com/coder/coder/issues/13387"}
| 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:2472fe4b-26c7-67a5-22a2-a927d3f717f2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DFD6:31E99C:26D471F:33D9E9B:6B01AB25 |
| html-safe-nonce | e76c8af26f8ffc0e8761bf9e1bd97ec29f57acc1441d0fe06d70df713f630d47 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkQ2OjMxRTk5QzoyNkQ0NzFGOjMzRDlFOUI6NkIwMUFCMjUiLCJ2aXNpdG9yX2lkIjoiNzg3NTc0NjgzMjEzMDgxMzgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 71f6a994245bf487201f03cee1f8ecfe18032c88935194a9bd8a49e90017b4b7 |
| hovercard-subject-tag | issue:2321795873 |
| 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/13387/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6d808a41d1050a3426b533d30b79160f29924cd1553231990493762169d010b2/coder/coder/issues/13387 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6d808a41d1050a3426b533d30b79160f29924cd1553231990493762169d010b2/coder/coder/issues/13387 |
| og:image:alt | Right now there's support to run scripts on workspace startup and stop, but it would also be nice to run a script when a workspace is deleted. For example we have workspaces that are persistent VMs... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | evilhamsterman |
| 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