Title: Bug: When a workspace is on, the UI should derive time remaining from build deadline, not TTL · Issue #1779 · coder/coder · GitHub
Open Graph Title: Bug: When a workspace is on, the UI should derive time remaining from build deadline, not TTL · Issue #1779 · coder/coder
X Title: Bug: When a workspace is on, the UI should derive time remaining from build deadline, not TTL · Issue #1779 · coder/coder
Description: Overview Right now, the UI derives time remaining for a running workspace from its ttl. This implies that if a user turns on a workspace that is scheduled to stop 8 hours later, then adjusts their ttl to 4 hours, the UI will present that...
Open Graph Description: Overview Right now, the UI derives time remaining for a running workspace from its ttl. This implies that if a user turns on a workspace that is scheduled to stop 8 hours later, then adjusts their ...
X Description: Overview Right now, the UI derives time remaining for a running workspace from its ttl. This implies that if a user turns on a workspace that is scheduled to stop 8 hours later, then adjusts their ...
Opengraph URL: https://github.com/coder/coder/issues/1779
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bug: When a workspace is on, the UI should derive time remaining from build deadline, not TTL","articleBody":"## Overview\r\n\r\nRight now, the UI derives time remaining for a running workspace from its ttl. This implies that if a user turns on a workspace that is scheduled to stop 8 hours later, then adjusts their ttl to 4 hours, the UI will present that the workspace will shutdown 4 hours later.\r\n\r\nHowever, the underlying model uses a deadline on the build. The deadline may be stickier than ttl - for example, updating your ttl while your workspace is live may or may not cascade to your build.\r\n\r\nTherefore it's best that the FE does the following:\r\n\r\n- for a running workspace, compute shutdown time from build deadline\r\n- for a non-running workspace, compute shutdown time from workspace ttl\r\n\r\n### Why It Matters\r\n\r\nWe want to accurately present when a workspace will shutdown, and not have a mismatch.","author":{"url":"https://github.com/greyscaled","@type":"Person","name":"greyscaled"},"datePublished":"2022-05-26T14:59:44Z","url":"https://github.com/coder/coder/issues/1779"}
| 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:8e442abe-2cbb-7f0a-3104-7b6fa25ecb5c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD3C:269AD9:1B0F8B5:241E2BE:6B015C01 |
| html-safe-nonce | 704ba8d2eacba24e9263677e4731709ac7d5cb28e1c43a0ce31003a2d806c68d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDNDOjI2OUFEOToxQjBGOEI1OjI0MUUyQkU6NkIwMTVDMDEiLCJ2aXNpdG9yX2lkIjoiNTkxNDUwOTIwMTA2MTU1MDA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ba3a505f313df3b6788fb92bb4f7c3593a441a4fd45ba764e776dea340af4826 |
| hovercard-subject-tag | issue:1249685697 |
| 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/1779/issue_layout |
| twitter:image | https://opengraph.githubassets.com/35133283a34b6d246f46af8e15af1ecd97bdf11e4a1cfe3bfe0486e326285608/coder/coder/issues/1779 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/35133283a34b6d246f46af8e15af1ecd97bdf11e4a1cfe3bfe0486e326285608/coder/coder/issues/1779 |
| og:image:alt | Overview Right now, the UI derives time remaining for a running workspace from its ttl. This implies that if a user turns on a workspace that is scheduled to stop 8 hours later, then adjusts their ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | greyscaled |
| 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