René's URL Explorer Experiment


Title: If you update 'time until shutdown' in a running workspace, the workspace UI has the old value · Issue #1783 · coder/coder · GitHub

Open Graph Title: If you update 'time until shutdown' in a running workspace, the workspace UI has the old value · Issue #1783 · coder/coder

X Title: If you update 'time until shutdown' in a running workspace, the workspace UI has the old value · Issue #1783 · coder/coder

Description: In #1778 we added support for setting a deadline on a single workspace build. In that implementation, the deadline can only increase monotonically. Changes to workspace TTL do not affect the deadline of an active workspace build. So what...

Open Graph Description: In #1778 we added support for setting a deadline on a single workspace build. In that implementation, the deadline can only increase monotonically. Changes to workspace TTL do not affect the deadli...

X Description: In #1778 we added support for setting a deadline on a single workspace build. In that implementation, the deadline can only increase monotonically. Changes to workspace TTL do not affect the deadli...

Opengraph URL: https://github.com/coder/coder/issues/1783

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"If you update 'time until shutdown' in a running workspace, the workspace UI has the old value","articleBody":"In https://github.com/coder/coder/pull/1778 we added support for setting a deadline on a single workspace build. In that implementation, the deadline can only increase monotonically. Changes to workspace TTL do not affect the deadline of an active workspace build.\r\n\r\n> So what will be the behavior when the user changes the TTL on a running workspace? Will you add functionality to the CLI so we also update the deadline to be closer to the new TTL?\r\n\r\n_Originally posted by @deansheather in https://github.com/coder/coder/pull/1778#pullrequestreview-986196037_ (paraphrased)\r\n\r\nSeems like this would be useful behaviour, but there are some ins and outs to this we need to think through:\r\n\r\n- If the workspace is not running, there is nothing to do here.\r\n- If the workspace is running and the build does not have a deadline set, we would need to set the deadline. Users would need to be warned that this would affect running builds of their workspace.\r\n  - Time should be measured from the workspace start time.\r\n  - In the client interfaces (UI/CLI), show a message \"This operation will cause the workspace to shut down at HH:MM\".\r\n- If the workspace is running and the build has a deadline set and the new deadline based on the TTL would cause the workspace to stop (i.e. new deadline would be at or before now), the user should DEFINITELY be warned of this.\r\n  - Time should be measured from the workspace start time.\r\n  - In the client interfaces (UI/CLI), show a message \"This operation will cause the workspace to shut down immediately\".\r\n- If the workspace is running and the build has a deadline set and the new deadline based on the TTL would cause the user to hit the 30-minute notifcation, that's probably fine.\r\n- (New issue): Make applying the updated deadline *optional* (i.e. prompt the user) (Edit: #2229)\r\n\r\n\r\n## Acceptance Criteria:\r\n\r\n1) Given a user has a workspace with no deadline/TTL set and the workspace is not running\r\n  When the user updates the workspace TTL\r\n  Then: the TTL is updated\r\n\r\n2) Given a user has a workspace with a deadline set and the workspace is running\r\n  When the user updates the workspace TTL such that the updated deadline would affect a running workspace \r\n  Then: the user is notified about the effect of the change (workspace will be stopped at X time) and be prompted to confirm.\r\n\r\n3) Given a user has a workspace with a deadline set and the workspace is running\r\n  When: the user updates the workspace TTL such at the updated deadline would cause the running workspace to be stopped\r\n  Then: the user is notified about the effect of the change (workspace will be stopped immediately) and be prompted to confirm.\r\n\r\n## Implementation Notes:\r\n\r\n- WorkspaceScheduleForm\r\n  - Pass in workspace to WorkspaceScheduleFormValues\r\n  - Add function to (workspace, startTime) -> use dayJS to check next schedule\r\n  - Add a warning message to the `ttl` TextField\r\n  - Use `Language` component of WorkspaceSchedule","author":{"url":"https://github.com/johnstcn","@type":"Person","name":"johnstcn"},"datePublished":"2022-05-26T15:57:41Z","url":"https://github.com/coder/coder/issues/1783"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:2b485c12-80be-2ed4-2146-3977c6f7ff53
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEBDC:134361:1C6FEB8:2560446:6B01547C
html-safe-noncefc121b053d07c61e9b72165aa5983a0af7c81ead363cd1bf48e01e10e7f406e5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkRDOjEzNDM2MToxQzZGRUI4OjI1NjA0NDY6NkIwMTU0N0MiLCJ2aXNpdG9yX2lkIjoiMjIzMjU0NDcxNjg4MzMxNzg4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacaa632a770cc3785a6f9e78948b2ee6cc385c77168d0027b176d82f6ae78a3826
hovercard-subject-tagissue:1249752189
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/1783/issue_layout
twitter:imagehttps://opengraph.githubassets.com/044d34a1949f6ac29cbd1a2eeaf2d47523663b3d732f3d24de7a68fea0f4c194/coder/coder/issues/1783
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/044d34a1949f6ac29cbd1a2eeaf2d47523663b3d732f3d24de7a68fea0f4c194/coder/coder/issues/1783
og:image:altIn #1778 we added support for setting a deadline on a single workspace build. In that implementation, the deadline can only increase monotonically. Changes to workspace TTL do not affect the deadli...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejohnstcn
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/coder/coder/issues/1783#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F1783
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F1783
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/issues/1783
Reloadhttps://github.com/coder/coder/issues/1783
Reloadhttps://github.com/coder/coder/issues/1783
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests470 (470)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/1783
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/1783
#2165https://github.com/coder/coder/pull/2165
If you update 'time until shutdown' in a running workspace, the workspace UI has the old valuehttps://github.com/coder/coder/issues/1783#top
#2165https://github.com/coder/coder/pull/2165
https://github.com/johnstcn
apiArea: HTTP APIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22api%22
siteArea: frontend dashboardhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22site%22
Community MVPhttps://github.com/coder/coder/milestone/2
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
on May 26, 2022https://github.com/coder/coder/issues/1783#issue-1249752189
#1778https://github.com/coder/coder/pull/1778
@deansheatherhttps://github.com/deansheather
#1778 (review)https://github.com/coder/coder/pull/1778#pullrequestreview-986196037
TTL/Workspace Schedule is too coupled #2229https://github.com/coder/coder/issues/2229
johnstcnhttps://github.com/johnstcn
missing details 👀https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22missing%20details%20%3Aeyes%3A%22
siteArea: frontend dashboardhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22site%22
apiArea: HTTP APIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22api%22
needs grooming 🪒https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22needs%20grooming%20%3Arazor%3A%22
on May 26, 2022https://github.com/coder/coder/issues/1783#event-6686719234
johnstcnhttps://github.com/johnstcn
on May 26, 2022https://github.com/coder/coder/issues/1783#event-6686747796
johnstcnhttps://github.com/johnstcn
on May 26, 2022https://github.com/coder/coder/issues/1783#event-6686749399
https://github.com/ketang
ketanghttps://github.com/ketang
on May 26, 2022https://github.com/coder/coder/issues/1783#issuecomment-1139001502
https://github.com/greyscaled
greyscaledhttps://github.com/greyscaled
on May 26, 2022https://github.com/coder/coder/issues/1783#issuecomment-1139007963
#1779https://github.com/coder/coder/issues/1779
@johnstcnhttps://github.com/johnstcn
https://github.com/greyscaled
greyscaledhttps://github.com/greyscaled
on Jun 6, 2022https://github.com/coder/coder/issues/1783#issuecomment-1147540913
#2055https://github.com/coder/coder/issues/2055
https://user-images.githubusercontent.com/2022166/172027547-011094d7-ea65-490e-bb8a-34e377727555.png
https://user-images.githubusercontent.com/2022166/172027552-924bee2a-d11d-495a-911e-269e58441aeb.png
https://github.com/greyscaled
greyscaledhttps://github.com/greyscaled
on Jun 6, 2022https://github.com/coder/coder/issues/1783#issuecomment-1147541347
@ketanghttps://github.com/ketang
greyscaledhttps://github.com/greyscaled
on Jun 6, 2022https://github.com/coder/coder/issues/1783#event-6753748619
greyscaledhttps://github.com/greyscaled
missing details 👀https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22missing%20details%20%3Aeyes%3A%22
needs grooming 🪒https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22needs%20grooming%20%3Arazor%3A%22
on Jun 6, 2022https://github.com/coder/coder/issues/1783#event-6753749585
greyscaledhttps://github.com/greyscaled
johnstcnhttps://github.com/johnstcn
greyscaledhttps://github.com/greyscaled
johnstcnhttps://github.com/johnstcn
greyscaledhttps://github.com/greyscaled
on Jun 6, 2022https://github.com/coder/coder/issues/1783#event-6753750707
https://github.com/greyscaled
greyscaledhttps://github.com/greyscaled
on Jun 6, 2022https://github.com/coder/coder/issues/1783#issuecomment-1147814369
add your planning poker estimatehttps://app.zenhub.com/workspaces/Workspaces-V2-Hub-62019e46b7e29b0014a7f850/issues/coder/coder/1783?planning-poker
@johnstcnhttps://github.com/johnstcn
greyscaledhttps://github.com/greyscaled
needs grooming 🪒https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22needs%20grooming%20%3Arazor%3A%22
on Jun 6, 2022https://github.com/coder/coder/issues/1783#event-6755536034
kylecarbshttps://github.com/kylecarbs
on Jun 7, 2022https://github.com/coder/coder/issues/1783#event-6757239238
kylecarbshttps://github.com/kylecarbs
bughttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22bug%22
on Jun 7, 2022https://github.com/coder/coder/issues/1783#event-6757239251
johnstcnhttps://github.com/johnstcn
needs groominghttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22needs%20grooming%22
on Jun 7, 2022https://github.com/coder/coder/issues/1783#event-6762881712
johnstcnhttps://github.com/johnstcn
on Jun 8, 2022https://github.com/coder/coder/issues/1783#event-6773285821
johnstcnhttps://github.com/johnstcn
completedhttps://github.com/coder/coder/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#2165https://github.com/coder/coder/pull/2165
on Jun 9, 2022https://github.com/coder/coder/issues/1783#event-6781073374
nadzeyavhttps://github.com/nadzeyav
verifiedhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22verified%22
on Jun 10, 2022https://github.com/coder/coder/issues/1783#event-6786675814
missknisshttps://github.com/misskniss
Community MVPhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22Community%20MVP%22
on Jun 14, 2022https://github.com/coder/coder/issues/1783#event-6800440296
missknisshttps://github.com/misskniss
Community MVPhttps://github.com/coder/coder/milestone/2
on Jun 14, 2022https://github.com/coder/coder/issues/1783#event-6800440660
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/coder/issues/1783
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/coder/issues/1783
johnstcnhttps://github.com/johnstcn
apiArea: HTTP APIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22api%22
siteArea: frontend dashboardhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22site%22
Community MVPhttps://github.com/coder/coder/milestone/2
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.