René's URL Explorer Experiment


Title: fix: derive running ws stop time from deadline by greyscaled · Pull Request #1920 · coder/coder · GitHub

Open Graph Title: fix: derive running ws stop time from deadline by greyscaled · Pull Request #1920 · coder/coder

X Title: fix: derive running ws stop time from deadline by greyscaled · Pull Request #1920 · coder/coder

Description: Secure environments for developers and their agents - fix: derive running ws stop time from deadline by greyscaled · Pull Request #1920 · coder/coder

Open Graph Description: Summary: When a workspace is on, the remaining time until shutdown needs to be derived from the deadline timestamp, not implied from the TTL. A utility is function is added that answers the questio...

X Description: Summary: When a workspace is on, the remaining time until shutdown needs to be derived from the deadline timestamp, not implied from the TTL. A utility is function is added that answers the questio...

Opengraph URL: https://github.com/coder/coder/pull/1920

X: @github

direct link

Domain: github.com

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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:b87a7d23-6fd6-57bc-bdc2-f7dca6751dc0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB886:1DA122:ACA9C:E85AC:6B015E2F
html-safe-noncefb2b18c7d082536d9eb02a7b271fb897f884cf6f5dd221b51062140e8bf2834b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODg2OjFEQTEyMjpBQ0E5QzpFODVBQzo2QjAxNUUyRiIsInZpc2l0b3JfaWQiOiI2OTEzMzc4NTEwNDgwNDMyNjg3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf73abddd795abdda4545862a40cc22620055733880940df10de0e1db15879c8a
hovercard-subject-tagpull_request:952102564
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/coder/coder/1920/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6fe37bee7e267917d1fcf29e574bd2e35d49e384c3465d9527f3cdc269bede7f/coder/coder/pull/1920
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6fe37bee7e267917d1fcf29e574bd2e35d49e384c3465d9527f3cdc269bede7f/coder/coder/pull/1920
og:image:altSummary: When a workspace is on, the remaining time until shutdown needs to be derived from the deadline timestamp, not implied from the TTL. A utility is function is added that answers the questio...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegreyscaled
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
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-namepull-requests

Links:

Skip to contenthttps://github.com/coder/coder/pull/1920#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F1920
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%2Fpull%2F1920
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/pull/1920
Reloadhttps://github.com/coder/coder/pull/1920
Reloadhttps://github.com/coder/coder/pull/1920
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
greyscaledhttps://github.com/greyscaled
mainhttps://github.com/coder/coder/tree/main
vapurrmaid/gh-1779/workspace-shutdown-displayhttps://github.com/coder/coder/tree/vapurrmaid/gh-1779/workspace-shutdown-display
Conversationhttps://github.com/coder/coder/pull/1920
Commits11 (11)https://github.com/coder/coder/pull/1920/commits
Checkshttps://github.com/coder/coder/pull/1920/checks
Files changedhttps://github.com/coder/coder/pull/1920/files
fix: derive running ws stop time from deadlinehttps://github.com/coder/coder/pull/1920#top
greyscaledhttps://github.com/greyscaled
mainhttps://github.com/coder/coder/tree/main
vapurrmaid/gh-1779/workspace-shutdown-displayhttps://github.com/coder/coder/tree/vapurrmaid/gh-1779/workspace-shutdown-display
https://github.com/greyscaled
greyscaledhttps://github.com/greyscaled
May 31, 2022https://github.com/coder/coder/pull/1920#issue-1254018483
Please reload this pagehttps://github.com/coder/coder/pull/1920
greyscaledhttps://github.com/greyscaled
May 31, 2022 15:08https://github.com/coder/coder/pull/1920#commits-pushed-a72b187
https://github.com/greyscaled
refactor: isWorkspaceOn utilityhttps://github.com/coder/coder/pull/1920/commits/a72b18798021524e8f91894789735d9c2fea8c54
a72b187https://github.com/coder/coder/pull/1920/commits/a72b18798021524e8f91894789735d9c2fea8c54
https://github.com/greyscaled
fix: derive running ws stop time from deadlinehttps://github.com/coder/coder/pull/1920/commits/24ccaeefea14604edc1fa1cf0fa98448208930c7
24ccaeehttps://github.com/coder/coder/pull/1920/commits/24ccaeefea14604edc1fa1cf0fa98448208930c7
https://github.com/greyscaled
greyscaledhttps://github.com/greyscaled
johnstcnhttps://github.com/johnstcn
May 31, 2022 15:11https://github.com/coder/coder/pull/1920#event-6710530525
https://github.com/greyscaled
greyscaledhttps://github.com/greyscaled
code ownerhttps://github.com/coder/coder/blob/6f7b7f0248b456c273f174fe6db0d3084ad60d61/.github/CODEOWNERS#L1
May 31, 2022 15:11https://github.com/coder/coder/pull/1920#event-6710530565
https://github.com/greyscaled
greyscaledhttps://github.com/greyscaled
May 31, 2022https://github.com/coder/coder/pull/1920#event-6710530577
https://github.com/greyscaled
fixup! fix: derive running ws stop time from deadlinehttps://github.com/coder/coder/pull/1920/commits/0f72a6d05df663cb399dfdaf393efcca0fc4e502
0f72a6dhttps://github.com/coder/coder/pull/1920/commits/0f72a6d05df663cb399dfdaf393efcca0fc4e502
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
May 31, 2022 https://github.com/coder/coder/pull/1920#pullrequestreview-990643243
View reviewed changes https://github.com/coder/coder/pull/1920/files/0f72a6d05df663cb399dfdaf393efcca0fc4e502
johnstcnhttps://github.com/johnstcn
https://github.com/coder/coder/pull/1920#pullrequestreview-990643243
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1920
site/src/util/workspace.test.tshttps://github.com/coder/coder/pull/1920/files/24ccaeefea14604edc1fa1cf0fa98448208930c7#diff-622a4202429d20529dba547c02e7570226ff5292e8bd8baaf78ce5766f76db2f
johnstcnhttps://github.com/johnstcn
May 31, 2022https://github.com/coder/coder/pull/1920#discussion_r885766825
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1920
site/src/util/workspace.tshttps://github.com/coder/coder/pull/1920/files/0f72a6d05df663cb399dfdaf393efcca0fc4e502#diff-46ce05d14402854a3999da903dcf3949351172316989f053196857f93fcc6d57
johnstcnhttps://github.com/johnstcn
May 31, 2022https://github.com/coder/coder/pull/1920#discussion_r885783468
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1920
greyscaledhttps://github.com/greyscaled
May 31, 2022 15:32https://github.com/coder/coder/pull/1920#commits-pushed-c5c5f4f
https://github.com/greyscaled
fixup! fix: derive running ws stop time from deadlinehttps://github.com/coder/coder/pull/1920/commits/c5c5f4fb26ac46cd7d73120a58cc634fbff323c1
c5c5f4fhttps://github.com/coder/coder/pull/1920/commits/c5c5f4fb26ac46cd7d73120a58cc634fbff323c1
https://github.com/greyscaled
fixup! fix: derive running ws stop time from deadlinehttps://github.com/coder/coder/pull/1920/commits/11fe7f2d42eef431ce6c0e7b7528a8df57b00be8
11fe7f2https://github.com/coder/coder/pull/1920/commits/11fe7f2d42eef431ce6c0e7b7528a8df57b00be8
https://github.com/greyscaled
Merge origin/mainhttps://github.com/coder/coder/pull/1920/commits/538bbe8ec32e2f84e813c0c0ed0e6aa2a5df8b67
538bbe8https://github.com/coder/coder/pull/1920/commits/538bbe8ec32e2f84e813c0c0ed0e6aa2a5df8b67
https://github.com/greyscaled
fixup! Merge origin/mainhttps://github.com/coder/coder/pull/1920/commits/5e6472d6da45b7ecc27d5ff1a620f458f61c6c7e
5e6472dhttps://github.com/coder/coder/pull/1920/commits/5e6472d6da45b7ecc27d5ff1a620f458f61c6c7e
https://github.com/greyscaled
fixup! Merge origin/mainhttps://github.com/coder/coder/pull/1920/commits/d0a965636ff9011abf46eb5fb32bae13e65a7429
d0a9656https://github.com/coder/coder/pull/1920/commits/d0a965636ff9011abf46eb5fb32bae13e65a7429
https://github.com/greyscaled
Update storieshttps://github.com/coder/coder/pull/1920/commits/df54df093b803654bc7c104ca8621dd85b38070b
df54df0https://github.com/coder/coder/pull/1920/commits/df54df093b803654bc7c104ca8621dd85b38070b
https://github.com/greyscaled
Merge origin/mainhttps://github.com/coder/coder/pull/1920/commits/f825f2ddaa27c9b589e984bbf856cd142218310f
f825f2dhttps://github.com/coder/coder/pull/1920/commits/f825f2ddaa27c9b589e984bbf856cd142218310f
https://github.com/greyscaled
fixup! Merge origin/mainhttps://github.com/coder/coder/pull/1920/commits/6a48ea6e62a11b1f824aaa61eb8bc43a50d542d2
6a48ea6https://github.com/coder/coder/pull/1920/commits/6a48ea6e62a11b1f824aaa61eb8bc43a50d542d2
https://github.com/greyscaled
greyscaledhttps://github.com/greyscaled
56ec53dhttps://github.com/coder/coder/commit/56ec53d04b5c2231b11358d80f4b0c11d94b4a8b
May 31, 2022https://github.com/coder/coder/pull/1920#event-6712693102
https://github.com/greyscaled
greyscaledhttps://github.com/greyscaled
May 31, 2022 19:50https://github.com/coder/coder/pull/1920#event-6712693171
https://github.com/greyscaled
greyscaledhttps://github.com/greyscaled
May 31, 2022https://github.com/coder/coder/pull/1920#issuecomment-1142580082
#1779https://github.com/coder/coder/issues/1779
Please reload this pagehttps://github.com/coder/coder/pull/1920
https://github.com/greyscaled
greyscaledhttps://github.com/greyscaled
May 31, 2022 https://github.com/coder/coder/pull/1920#ref-issue-1249685697
Bug: When a workspace is on, the UI should derive time remaining from build deadline, not TTL #1779 https://github.com/coder/coder/issues/1779
https://github.co/hiddenchars
https://github.com/coder/coder/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F1920
https://github.com/johnstcn
johnstcn https://github.com/johnstcn
https://github.com/coder/coder/pull/1920/files/0f72a6d05df663cb399dfdaf393efcca0fc4e502
Please reload this pagehttps://github.com/coder/coder/pull/1920
https://github.com/greyscaled
greyscaled https://github.com/greyscaled
Please reload this pagehttps://github.com/coder/coder/pull/1920
https://github.com/greyscaled
https://github.com/johnstcn
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.