René's URL Explorer Experiment


Title: fix: consistent workspace status b/w CLI and UI by AbhineetJain · Pull Request #2743 · coder/coder · GitHub

Open Graph Title: fix: consistent workspace status b/w CLI and UI by AbhineetJain · Pull Request #2743 · coder/coder

X Title: fix: consistent workspace status b/w CLI and UI by AbhineetJain · Pull Request #2743 · coder/coder

Description: Secure environments for developers and their agents - fix: consistent workspace status b/w CLI and UI by AbhineetJain · Pull Request #2743 · coder/coder

Open Graph Description: This PR uses the same logic to show workspace status in CLI as the one used in UI. Subtasks add a util method to compute workspace status and use it add unit tests Fixes #2717

X Description: This PR uses the same logic to show workspace status in CLI as the one used in UI. Subtasks add a util method to compute workspace status and use it add unit tests Fixes #2717

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

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:20da05b5-aa55-857d-aedb-658930030a04
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD778:31D532:23ECC9:2F9239:6B018BA0
html-safe-nonce9356862897a9b80bdbf1d9df027bafc7f986f4764dfebecfc3bbc2a3866e5f96
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzc4OjMxRDUzMjoyM0VDQzk6MkY5MjM5OjZCMDE4QkEwIiwidmlzaXRvcl9pZCI6IjE3ODI1Njg1MzUyNDM5ODM3NzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac509e24dd906d441471c336b8464fcb3b63a759e608aff63b6a181c649d7424ac
hovercard-subject-tagpull_request:983208174
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/2743/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/04b5b0b06622b2072a004395b4a0b9d7fb29f17256bc6478b2e6d2e572e27c4a/coder/coder/pull/2743
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/04b5b0b06622b2072a004395b4a0b9d7fb29f17256bc6478b2e6d2e572e27c4a/coder/coder/pull/2743
og:image:altThis PR uses the same logic to show workspace status in CLI as the one used in UI. Subtasks add a util method to compute workspace status and use it add unit tests Fixes #2717
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAbhineetJain
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/2743#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F2743
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%2F2743
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/2743
Reloadhttps://github.com/coder/coder/pull/2743
Reloadhttps://github.com/coder/coder/pull/2743
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
AbhineetJainhttps://github.com/AbhineetJain
mainhttps://github.com/coder/coder/tree/main
abhineetjain/2717-workspace-status-clihttps://github.com/coder/coder/tree/abhineetjain/2717-workspace-status-cli
Conversationhttps://github.com/coder/coder/pull/2743
Commits2 (2)https://github.com/coder/coder/pull/2743/commits
Checkshttps://github.com/coder/coder/pull/2743/checks
Files changedhttps://github.com/coder/coder/pull/2743/files
fix: consistent workspace status b/w CLI and UIhttps://github.com/coder/coder/pull/2743#top
AbhineetJainhttps://github.com/AbhineetJain
mainhttps://github.com/coder/coder/tree/main
abhineetjain/2717-workspace-status-clihttps://github.com/coder/coder/tree/abhineetjain/2717-workspace-status-cli
https://github.com/AbhineetJain
AbhineetJainhttps://github.com/AbhineetJain
Jun 29, 2022https://github.com/coder/coder/pull/2743#issue-1289408071
#2717https://github.com/coder/coder/issues/2717
Please reload this pagehttps://github.com/coder/coder/pull/2743
https://github.com/AbhineetJain
AbhineetJainhttps://github.com/AbhineetJain
June 30, 2022 00:06https://github.com/coder/coder/pull/2743#event-6906542410
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Jun 30, 2022 https://github.com/coder/coder/pull/2743#pullrequestreview-1024498095
View reviewed changes https://github.com/coder/coder/pull/2743/files
cli/workspacestatus.gohttps://github.com/coder/coder/pull/2743/files#diff-d6e93ba9a2a1d5c1676c04eca0304c29ad1b434b5fe4aeaa899dbc0ef214360a
Please reload this pagehttps://github.com/coder/coder/pull/2743
cli/workspacestatus_internal_test.gohttps://github.com/coder/coder/pull/2743/files#diff-3b75ef98e8f9adc9b5b0d657ec19db1d434de60a55c60e9a3f236b3fa70528cf
johnstcnhttps://github.com/johnstcn
Jun 30, 2022https://github.com/coder/coder/pull/2743#discussion_r910768456
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/2743
cli/workspacestatus_internal_test.gohttps://github.com/coder/coder/pull/2743/files#diff-3b75ef98e8f9adc9b5b0d657ec19db1d434de60a55c60e9a3f236b3fa70528cf
Please reload this pagehttps://github.com/coder/coder/pull/2743
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Jun 30, 2022 https://github.com/coder/coder/pull/2743#pullrequestreview-1024868365
View reviewed changes https://github.com/coder/coder/pull/2743/files
https://github.com/Emyrk
Emyrkhttps://github.com/Emyrk
Jun 30, 2022 https://github.com/coder/coder/pull/2743#pullrequestreview-1024927184
View reviewed changes https://github.com/coder/coder/pull/2743/files
cli/workspacestatus.gohttps://github.com/coder/coder/pull/2743/files#diff-d6e93ba9a2a1d5c1676c04eca0304c29ad1b434b5fe4aeaa899dbc0ef214360a
Please reload this pagehttps://github.com/coder/coder/pull/2743
cli/workspacestatus.gohttps://github.com/coder/coder/pull/2743/files#diff-d6e93ba9a2a1d5c1676c04eca0304c29ad1b434b5fe4aeaa899dbc0ef214360a
Please reload this pagehttps://github.com/coder/coder/pull/2743
cli/workspacestatus.gohttps://github.com/coder/coder/pull/2743/files#diff-d6e93ba9a2a1d5c1676c04eca0304c29ad1b434b5fe4aeaa899dbc0ef214360a
Please reload this pagehttps://github.com/coder/coder/pull/2743
cli/workspacestatus.gohttps://github.com/coder/coder/pull/2743/files#diff-d6e93ba9a2a1d5c1676c04eca0304c29ad1b434b5fe4aeaa899dbc0ef214360a
Please reload this pagehttps://github.com/coder/coder/pull/2743
https://github.com/AbhineetJain
fix: consistent workspace status b/w CLI and UIhttps://github.com/coder/coder/pull/2743/commits/558ef9645b8188df2d9134663ee0194ed65c6b72
558ef96https://github.com/coder/coder/pull/2743/commits/558ef9645b8188df2d9134663ee0194ed65c6b72
https://github.com/AbhineetJain
AbhineetJainhttps://github.com/AbhineetJain
force-pushedhttps://github.com/coder/coder/compare/107f412541b5debe2a07ba8e0c64794bb4ada4a9..6e6b7a32c4c74e6aa04de4694757d080957de1ee
107f412https://github.com/coder/coder/commit/107f412541b5debe2a07ba8e0c64794bb4ada4a9
6e6b7a3https://github.com/coder/coder/commit/6e6b7a32c4c74e6aa04de4694757d080957de1ee
Compare https://github.com/coder/coder/compare/107f412541b5debe2a07ba8e0c64794bb4ada4a9..6e6b7a32c4c74e6aa04de4694757d080957de1ee
July 1, 2022 07:18https://github.com/coder/coder/pull/2743#event-6916214913
https://github.com/AbhineetJain
move util to codersdk packagehttps://github.com/coder/coder/pull/2743/commits/28d0f4cae95374b094c8fdad7582ad1c4e471d83
28d0f4chttps://github.com/coder/coder/pull/2743/commits/28d0f4cae95374b094c8fdad7582ad1c4e471d83
https://github.com/AbhineetJain
AbhineetJainhttps://github.com/AbhineetJain
force-pushedhttps://github.com/coder/coder/compare/6e6b7a32c4c74e6aa04de4694757d080957de1ee..28d0f4cae95374b094c8fdad7582ad1c4e471d83
6e6b7a3https://github.com/coder/coder/commit/6e6b7a32c4c74e6aa04de4694757d080957de1ee
28d0f4chttps://github.com/coder/coder/commit/28d0f4cae95374b094c8fdad7582ad1c4e471d83
Compare https://github.com/coder/coder/compare/6e6b7a32c4c74e6aa04de4694757d080957de1ee..28d0f4cae95374b094c8fdad7582ad1c4e471d83
July 1, 2022 07:22https://github.com/coder/coder/pull/2743#event-6916237433
https://github.com/AbhineetJain
AbhineetJainhttps://github.com/AbhineetJain
Jul 1, 2022 https://github.com/coder/coder/pull/2743#ref-issue-1291025101
Send workspace display status in API response #2772 https://github.com/coder/coder/issues/2772
https://github.com/AbhineetJain
AbhineetJainhttps://github.com/AbhineetJain
Emyrkhttps://github.com/Emyrk
johnstcnhttps://github.com/johnstcn
July 1, 2022 07:29https://github.com/coder/coder/pull/2743#event-6916278465
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Jul 1, 2022 https://github.com/coder/coder/pull/2743#pullrequestreview-1025949961
View reviewed changes https://github.com/coder/coder/pull/2743/files/28d0f4cae95374b094c8fdad7582ad1c4e471d83
https://github.com/Emyrk
Emyrkhttps://github.com/Emyrk
Jul 1, 2022 https://github.com/coder/coder/pull/2743#pullrequestreview-1026298682
View reviewed changes https://github.com/coder/coder/pull/2743/files/28d0f4cae95374b094c8fdad7582ad1c4e471d83
codersdk/workspacedisplaystatus.gohttps://github.com/coder/coder/pull/2743/files/28d0f4cae95374b094c8fdad7582ad1c4e471d83#diff-9b7b62771deec00f292ed66fbfdf5e9c31a42a441a29bc646142ff8dbc3e57a1
Please reload this pagehttps://github.com/coder/coder/pull/2743
https://github.com/AbhineetJain
AbhineetJainhttps://github.com/AbhineetJain
July 1, 2022 14:34https://github.com/coder/coder/pull/2743#event-6919031448
https://github.com/AbhineetJain
AbhineetJainhttps://github.com/AbhineetJain
de1fc40https://github.com/coder/coder/commit/de1fc400000819d8fd60a9ba1d59030ed5ac09b1
Jul 1, 2022https://github.com/coder/coder/pull/2743#event-6919069717
https://github.com/AbhineetJain
AbhineetJainhttps://github.com/AbhineetJain
July 1, 2022 14:40https://github.com/coder/coder/pull/2743#event-6919069862
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%2F2743
https://github.com/johnstcn
johnstcn https://github.com/johnstcn
https://github.com/coder/coder/pull/2743/files/28d0f4cae95374b094c8fdad7582ad1c4e471d83
https://github.com/Emyrk
Emyrk https://github.com/Emyrk
https://github.com/coder/coder/pull/2743/files/28d0f4cae95374b094c8fdad7582ad1c4e471d83
Please reload this pagehttps://github.com/coder/coder/pull/2743
CLI displays workspace status as Running when Start was canceled and it was not started https://github.com/coder/coder/issues/2717
Please reload this pagehttps://github.com/coder/coder/pull/2743
https://github.com/AbhineetJain
https://github.com/johnstcn
https://github.com/Emyrk
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.