Title: Auto ON/OFF Support · Issue #269 · coder/coder · GitHub
Open Graph Title: Auto ON/OFF Support · Issue #269 · coder/coder
X Title: Auto ON/OFF Support · Issue #269 · coder/coder
Description: Note this is an "epic of epics" - it contains the beta and enterprise milestone epics. #272 #850 #1317 #851 Breakout Discussion March 24, 2022 RFC Note scheduled Auto On/Off is a PAID feature. Plan Data model : Columns to workspace table...
Open Graph Description: Note this is an "epic of epics" - it contains the beta and enterprise milestone epics. #272 #850 #1317 #851 Breakout Discussion March 24, 2022 RFC Note scheduled Auto On/Off is a PAID feature. Plan...
X Description: Note this is an "epic of epics" - it contains the beta and enterprise milestone epics. #272 #850 #1317 #851 Breakout Discussion March 24, 2022 RFC Note scheduled Auto On/Off is a PAID fea...
Opengraph URL: https://github.com/coder/coder/issues/269
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Auto ON/OFF Support","articleBody":"Note this is an \"epic of epics\" - it contains the beta and enterprise milestone epics.\r\n\r\n-----\r\n\r\n- [x] https://github.com/coder/coder/issues/272\r\n- [x] https://github.com/coder/coder/issues/850\r\n- [x] https://github.com/coder/coder/issues/1317\r\n- [x] https://github.com/coder/coder/issues/851\r\n-----\r\n\r\n## Breakout Discussion\r\nMarch 24, 2022\r\n[RFC](https://www.notion.so/coderhq/Workspaces-V2-Auto-on-Auto-off-e72bd8e92fe94fc4b4c32b2f2ec561a0)\r\n\r\nNote scheduled Auto On/Off is a PAID feature.\r\n\r\n## Plan\r\n\r\n- Data model : Columns to workspace table and additional table (see RFC)\r\n- workspace auto off \r\n- remove org level auto on/off table\r\n- add auto start enable, auto stop enable, auto start_at and autostop_at\r\n- workspace lifecycle job table \r\n- Add required methods for workspace auto start and auto stop\r\n- Auto start scheduler implementation \r\n- Auto start executor implementation \r\n- Implement workspace start - Done\r\n- implement workspace stop. - Done\r\n- support updating workspaces via HTTP API\r\n- support updating workspaces via CLI\r\nCli commands: \r\n- autostart enable\r\n- disable\r\n- some kind of scheduling command logic (cron syntax?) \r\n- extension command\r\n- user notifications and backoff timing (in coder agent to write to all connect sessions, polling coder trigger pgnotify) Write to all TTY that is connected. (if we do this for SSH it would not work for openssh. `wall` command . Warning - wall command is not for windows.)\r\n- CLI system notifications, tray notifications (if we do this we may not have to to the wall - write all - approach)\r\n- somesort of default auto off when you create a workspace so they do not stay forever on when a new one is created. \"This workspace will automatically turn of in 8 hours\". Maybe a daily shutoff point per workspace. Auto off job created as creation time + lease on create. Enable this globally? or User level? \r\n- Tyler: customers have expressed wanting to define things at the org level and users have the opportunity to override those org wide settings. \r\n- It is 8 hours and not changeable unless you upgrade?\r\n\r\nFrontend:\r\n- design the component for the Auto On/Off (workspaces/card that opens other forms /dialog for adding/editing schedules. Do we have this in the workspace creation modal and/or in settings for the workspace post-create.\r\n- Implement the user alert that the workspace is about to auto shut off\r\n- countdown visual component to show how much time is left before shut off - (with a snooze and/or dismiss? )\r\n- notifications, snack bars and toasts may need to be implemented\r\n\r\n\r\n\r\nPost MVP\r\n- Create a feature allowing an On/Off schedule to be suspended.\r\n- Reports view for costs. Could start in the CLI and later be added to frontend. Org and user level over some default or specifiable window of time. \r\n\r\n","author":{"url":"https://github.com/misskniss","@type":"Person","name":"misskniss"},"datePublished":"2022-02-11T16:41:43Z","url":"https://github.com/coder/coder/issues/269"}
| 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:a8b1226e-4de0-9f35-ff6c-fd8cabfff034 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EDE0:10DACD:19EFA2F:22547D5:6B014C03 |
| html-safe-nonce | 9bd85cfe6af5a7ec64522f628794889f295bae8d2587b9d78cf747a9d0c81d3b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREUwOjEwREFDRDoxOUVGQTJGOjIyNTQ3RDU6NkIwMTRDMDMiLCJ2aXNpdG9yX2lkIjoiNDQ0MTA2MjQwMzgyMDU0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 343df866b70e8f031846d8d3a9638e1e53104b75eaf04db93e0c3897f0d1c0de |
| hovercard-subject-tag | issue:1132839784 |
| 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/269/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f09e29a222c8edc4105310859082f558dc4a9a28b5cd7bd4222db9b430f7d0b4/coder/coder/issues/269 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f09e29a222c8edc4105310859082f558dc4a9a28b5cd7bd4222db9b430f7d0b4/coder/coder/issues/269 |
| og:image:alt | Note this is an "epic of epics" - it contains the beta and enterprise milestone epics. #272 #850 #1317 #851 Breakout Discussion March 24, 2022 RFC Note scheduled Auto On/Off is a PAID feature. Plan... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | misskniss |
| 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