Title: Activity Based Auto-stop · Issue #2995 · coder/coder · GitHub
Open Graph Title: Activity Based Auto-stop · Issue #2995 · coder/coder
X Title: Activity Based Auto-stop · Issue #2995 · coder/coder
Description: Edit from @bpmct: see the RFC here Allow workspaces to remain "on" if the user is active in the workspace (e.g. writing code, typing in the terminal, etc). Archive Proposal I think we should resolve #2987 first as it affects how this fea...
Open Graph Description: Edit from @bpmct: see the RFC here Allow workspaces to remain "on" if the user is active in the workspace (e.g. writing code, typing in the terminal, etc). Archive Proposal I think we should resolv...
X Description: Edit from @bpmct: see the RFC here Allow workspaces to remain "on" if the user is active in the workspace (e.g. writing code, typing in the terminal, etc). Archive Proposal I think we sho...
Opengraph URL: https://github.com/coder/coder/issues/2995
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Activity Based Auto-stop","articleBody":"Edit from @bpmct: [see the RFC here](https://www.notion.so/coderhq/RFC-Workspace-activity-13d47178a6a148e182781f73b8cf229f)\r\n\r\nAllow workspaces to remain \"on\" if the user is active in the workspace (e.g. writing code, typing in the terminal, etc).\r\n\r\n\r\n\r\n\u003cdetails>\r\n\u003csummary>Archive\u003c/summary>\r\n\u003cbr>\r\n\r\n## Proposal\r\n\r\nI think we should resolve #2987 first as it affects how this feature is exposed to the template admin. Without templates as code, we can expose the feature in the same way as we do `min_autostart_interval` and `max_ttl` today.\r\n\r\n## Activity Rules\r\nWe should discuss which values we want to make knobs immediately. The more we lean into templates as code, the more configurable this can get.\r\n\r\nFor each of these events, bump the auto-stop by 1h:\r\n* `coder_app` HTTP request\r\n* DevURL HTTP request\r\n* SSH access\r\n\r\nPossible knobs:\r\n* Bump amount\r\n* Which `coder_app`s trigger bump\r\n* Which access types trigger bumps \r\n\r\nTo help the user debug why their workspace isn't shutting down, we could add a tooltip to the UI that explains the last bump source. The options could be \"Manual\", \\\u003capp name\\>, \\\u003cdev url name\\>, or \"SSH\".\r\n\r\n\u003cimg width=\"1083\" alt=\"Screen Shot 2022-07-14 at 12 56 51 PM\" src=\"https://user-images.githubusercontent.com/7416144/179050669-2977496e-ae2b-49c8-8570-ea1d7d333dcb.png\">\r\n\r\nPretty much all of our early scheduling feedback suggests that activity-based auto-stop should be enabled by default. So I propose that it is default with all of the knobs selected. \r\n\r\nhttps://github.com/coder/coder/issues/3191 is user feedback that shows the value of combining schedule-based auto stop with activity-based auto-stop. If the user just wants activity-based, they can set the schedule to stop one hour after start.\u003c/details>\r\n\r\n\r\n\r\n----\r\n\r\n### Affected / Related Issues\r\n\r\n#2942 \r\n#2752","author":{"url":"https://github.com/ammario","@type":"Person","name":"ammario"},"datePublished":"2022-07-14T18:01:51Z","url":"https://github.com/coder/coder/issues/2995"}
| 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:ce6cfaac-11be-ddfa-f628-80d6710933f6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A01E:24A0A:1BE4923:232F948:6B0186E1 |
| html-safe-nonce | 1a5cba3cd29428c60ffb3afc270646e3c41506523977f7df733fa7493eece384 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDFFOjI0QTBBOjFCRTQ5MjM6MjMyRjk0ODo2QjAxODZFMSIsInZpc2l0b3JfaWQiOiI0MDMwNTU3NTI3NTI2NzA0ODY1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b170598215f56c39607e19d4706f5d7b22c3c6178fd9fee87d87901cf601d44e |
| hovercard-subject-tag | issue:1305122638 |
| 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/2995/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b5973a0e2eff3062f68b1ca75b06673f752742a84132e9b70028488b26c83cf3/coder/coder/issues/2995 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b5973a0e2eff3062f68b1ca75b06673f752742a84132e9b70028488b26c83cf3/coder/coder/issues/2995 |
| og:image:alt | Edit from @bpmct: see the RFC here Allow workspaces to remain "on" if the user is active in the workspace (e.g. writing code, typing in the terminal, etc). Archive Proposal I think we should resolv... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ammario |
| 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