Title: Decide upon and document agent shutdown behavior and guarantees · Issue #6179 · coder/coder · GitHub
Open Graph Title: Decide upon and document agent shutdown behavior and guarantees · Issue #6179 · coder/coder
X Title: Decide upon and document agent shutdown behavior and guarantees · Issue #6179 · coder/coder
Description: If our users are to rely on the coder agent shutdown_script and graceful shutdown in general, we need to document how it behaves in different circumstances and what guarantees we provide. Some initial thoughts on the matter: Should agent...
Open Graph Description: If our users are to rely on the coder agent shutdown_script and graceful shutdown in general, we need to document how it behaves in different circumstances and what guarantees we provide. Some init...
X Description: If our users are to rely on the coder agent shutdown_script and graceful shutdown in general, we need to document how it behaves in different circumstances and what guarantees we provide. Some init...
Opengraph URL: https://github.com/coder/coder/issues/6179
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Decide upon and document agent shutdown behavior and guarantees","articleBody":"If our users are to rely on the coder agent `shutdown_script` and graceful shutdown in general, we need to document how it behaves in different circumstances and what guarantees we provide.\r\n\r\nSome initial thoughts on the matter:\r\n\r\n- Should agent shutdown failure prevent de-provisioning?\r\n- How long do we wait? Forever? Configuration options?\r\n- What happens if an agent is disconnected and we can't initiate pre-provision shutdown request\r\n - Do we wait for X time before de-provision?\r\n - Do we wait indefinitely, but give users the option to shutdown anyway (with caveats of shutdown script may not be run, etc.)\r\n- It's possible to `coder start ws` on an already started workspace, what should happen in this scenario?\r\n - Ideally, we would request the agent to shut down, but it may not be possible or may fail, what then?\r\n- Should shutdown script run if startup script failed?\r\n- Should startup script failure affect if we allow de-provisioning or not?\r\n\r\nRelated: #4677, #5914, #6139, #6175","author":{"url":"https://github.com/mafredri","@type":"Person","name":"mafredri"},"datePublished":"2023-02-13T12:51:06Z","url":"https://github.com/coder/coder/issues/6179"}
| 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:93631704-7e4d-e4fc-5185-4864db9d51dd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C66C:3DA1E8:813488:AC1DCC:6B01AF62 |
| html-safe-nonce | 3cd085f87de6d284dea489939d34b003b760975a0896b09fa7cc9021a1996542 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjZDOjNEQTFFODo4MTM0ODg6QUMxRENDOjZCMDFBRjYyIiwidmlzaXRvcl9pZCI6Ijc3ODYwODE0OTY2OTkzNTA4ODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7de8af03f055bc8ecfbe1c1df8bb5243cd83fa4245b0a5cae73678bd0d50e6ff |
| hovercard-subject-tag | issue:1582295115 |
| 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/6179/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c26560cf95e13c57cf2159d9f00621eae1060e29acb34b2b24f218a191fdd20f/coder/coder/issues/6179 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c26560cf95e13c57cf2159d9f00621eae1060e29acb34b2b24f218a191fdd20f/coder/coder/issues/6179 |
| og:image:alt | If our users are to rely on the coder agent shutdown_script and graceful shutdown in general, we need to document how it behaves in different circumstances and what guarantees we provide. Some init... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mafredri |
| 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