| 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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:20da05b5-aa55-857d-aedb-658930030a04 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D778:31D532:23ECC9:2F9239:6B018BA0 |
| html-safe-nonce | 9356862897a9b80bdbf1d9df027bafc7f986f4764dfebecfc3bbc2a3866e5f96 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzc4OjMxRDUzMjoyM0VDQzk6MkY5MjM5OjZCMDE4QkEwIiwidmlzaXRvcl9pZCI6IjE3ODI1Njg1MzUyNDM5ODM3NzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 509e24dd906d441471c336b8464fcb3b63a759e608aff63b6a181c649d7424ac |
| hovercard-subject-tag | pull_request:983208174 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/coder/coder/2743/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/04b5b0b06622b2072a004395b4a0b9d7fb29f17256bc6478b2e6d2e572e27c4a/coder/coder/pull/2743 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/04b5b0b06622b2072a004395b4a0b9d7fb29f17256bc6478b2e6d2e572e27c4a/coder/coder/pull/2743 |
| og:image:alt | 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 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AbhineetJain |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-cache |
| 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 | pull-requests |
| Skip to content | https://github.com/coder/coder/pull/2743#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F2743 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F2743 |
| Sign up | https://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 |
| Reload | https://github.com/coder/coder/pull/2743 |
| Reload | https://github.com/coder/coder/pull/2743 |
| Reload | https://github.com/coder/coder/pull/2743 |
| coder | https://github.com/coder |
| coder | https://github.com/coder/coder |
| Code | https://github.com/coder/coder |
| Issues320 (320) | https://github.com/coder/coder/issues |
| Pull requests470 (470) | https://github.com/coder/coder/pulls |
| Discussions | https://github.com/coder/coder/discussions |
| Actions | https://github.com/coder/coder/actions |
| Projects | https://github.com/coder/coder/projects |
| Security and quality49 (49) | https://github.com/coder/coder/security |
| Insights | https://github.com/coder/coder/insights |
| https://github.com/coder/coder |
| AbhineetJain | https://github.com/AbhineetJain |
| main | https://github.com/coder/coder/tree/main |
| abhineetjain/2717-workspace-status-cli | https://github.com/coder/coder/tree/abhineetjain/2717-workspace-status-cli |
| Conversation | https://github.com/coder/coder/pull/2743 |
| Commits2 (2) | https://github.com/coder/coder/pull/2743/commits |
| Checks | https://github.com/coder/coder/pull/2743/checks |
| Files changed | https://github.com/coder/coder/pull/2743/files |
| fix: consistent workspace status b/w CLI and UI | https://github.com/coder/coder/pull/2743#top |
| AbhineetJain | https://github.com/AbhineetJain |
| main | https://github.com/coder/coder/tree/main |
| abhineetjain/2717-workspace-status-cli | https://github.com/coder/coder/tree/abhineetjain/2717-workspace-status-cli |
|
| https://github.com/AbhineetJain |
| AbhineetJain | https://github.com/AbhineetJain |
| Jun 29, 2022 | https://github.com/coder/coder/pull/2743#issue-1289408071 |
| #2717 | https://github.com/coder/coder/issues/2717 |
| Please reload this page | https://github.com/coder/coder/pull/2743 |
| https://github.com/AbhineetJain |
| AbhineetJain | https://github.com/AbhineetJain |
| June 30, 2022 00:06 | https://github.com/coder/coder/pull/2743#event-6906542410 |
| https://github.com/johnstcn |
| johnstcn | https://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.go | https://github.com/coder/coder/pull/2743/files#diff-d6e93ba9a2a1d5c1676c04eca0304c29ad1b434b5fe4aeaa899dbc0ef214360a |
| Please reload this page | https://github.com/coder/coder/pull/2743 |
| cli/workspacestatus_internal_test.go | https://github.com/coder/coder/pull/2743/files#diff-3b75ef98e8f9adc9b5b0d657ec19db1d434de60a55c60e9a3f236b3fa70528cf |
| johnstcn | https://github.com/johnstcn |
| Jun 30, 2022 | https://github.com/coder/coder/pull/2743#discussion_r910768456 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/2743 |
| cli/workspacestatus_internal_test.go | https://github.com/coder/coder/pull/2743/files#diff-3b75ef98e8f9adc9b5b0d657ec19db1d434de60a55c60e9a3f236b3fa70528cf |
| Please reload this page | https://github.com/coder/coder/pull/2743 |
| https://github.com/johnstcn |
| johnstcn | https://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 |
| Emyrk | https://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.go | https://github.com/coder/coder/pull/2743/files#diff-d6e93ba9a2a1d5c1676c04eca0304c29ad1b434b5fe4aeaa899dbc0ef214360a |
| Please reload this page | https://github.com/coder/coder/pull/2743 |
| cli/workspacestatus.go | https://github.com/coder/coder/pull/2743/files#diff-d6e93ba9a2a1d5c1676c04eca0304c29ad1b434b5fe4aeaa899dbc0ef214360a |
| Please reload this page | https://github.com/coder/coder/pull/2743 |
| cli/workspacestatus.go | https://github.com/coder/coder/pull/2743/files#diff-d6e93ba9a2a1d5c1676c04eca0304c29ad1b434b5fe4aeaa899dbc0ef214360a |
| Please reload this page | https://github.com/coder/coder/pull/2743 |
| cli/workspacestatus.go | https://github.com/coder/coder/pull/2743/files#diff-d6e93ba9a2a1d5c1676c04eca0304c29ad1b434b5fe4aeaa899dbc0ef214360a |
| Please reload this page | https://github.com/coder/coder/pull/2743 |
|
| https://github.com/AbhineetJain |
| fix: consistent workspace status b/w CLI and UI | https://github.com/coder/coder/pull/2743/commits/558ef9645b8188df2d9134663ee0194ed65c6b72 |
| 558ef96 | https://github.com/coder/coder/pull/2743/commits/558ef9645b8188df2d9134663ee0194ed65c6b72 |
| https://github.com/AbhineetJain |
| AbhineetJain | https://github.com/AbhineetJain |
| force-pushed | https://github.com/coder/coder/compare/107f412541b5debe2a07ba8e0c64794bb4ada4a9..6e6b7a32c4c74e6aa04de4694757d080957de1ee |
| 107f412 | https://github.com/coder/coder/commit/107f412541b5debe2a07ba8e0c64794bb4ada4a9 |
| 6e6b7a3 | https://github.com/coder/coder/commit/6e6b7a32c4c74e6aa04de4694757d080957de1ee |
|
Compare
| https://github.com/coder/coder/compare/107f412541b5debe2a07ba8e0c64794bb4ada4a9..6e6b7a32c4c74e6aa04de4694757d080957de1ee |
| July 1, 2022 07:18 | https://github.com/coder/coder/pull/2743#event-6916214913 |
|
| https://github.com/AbhineetJain |
| move util to codersdk package | https://github.com/coder/coder/pull/2743/commits/28d0f4cae95374b094c8fdad7582ad1c4e471d83 |
| 28d0f4c | https://github.com/coder/coder/pull/2743/commits/28d0f4cae95374b094c8fdad7582ad1c4e471d83 |
| https://github.com/AbhineetJain |
| AbhineetJain | https://github.com/AbhineetJain |
| force-pushed | https://github.com/coder/coder/compare/6e6b7a32c4c74e6aa04de4694757d080957de1ee..28d0f4cae95374b094c8fdad7582ad1c4e471d83 |
| 6e6b7a3 | https://github.com/coder/coder/commit/6e6b7a32c4c74e6aa04de4694757d080957de1ee |
| 28d0f4c | https://github.com/coder/coder/commit/28d0f4cae95374b094c8fdad7582ad1c4e471d83 |
|
Compare
| https://github.com/coder/coder/compare/6e6b7a32c4c74e6aa04de4694757d080957de1ee..28d0f4cae95374b094c8fdad7582ad1c4e471d83 |
| July 1, 2022 07:22 | https://github.com/coder/coder/pull/2743#event-6916237433 |
| https://github.com/AbhineetJain |
| AbhineetJain | https://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 |
| AbhineetJain | https://github.com/AbhineetJain |
| Emyrk | https://github.com/Emyrk |
| johnstcn | https://github.com/johnstcn |
| July 1, 2022 07:29 | https://github.com/coder/coder/pull/2743#event-6916278465 |
| https://github.com/johnstcn |
| johnstcn | https://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 |
| Emyrk | https://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.go | https://github.com/coder/coder/pull/2743/files/28d0f4cae95374b094c8fdad7582ad1c4e471d83#diff-9b7b62771deec00f292ed66fbfdf5e9c31a42a441a29bc646142ff8dbc3e57a1 |
| Please reload this page | https://github.com/coder/coder/pull/2743 |
| https://github.com/AbhineetJain |
| AbhineetJain | https://github.com/AbhineetJain |
| July 1, 2022 14:34 | https://github.com/coder/coder/pull/2743#event-6919031448 |
| https://github.com/AbhineetJain |
| AbhineetJain | https://github.com/AbhineetJain |
| de1fc40 | https://github.com/coder/coder/commit/de1fc400000819d8fd60a9ba1d59030ed5ac09b1 |
| Jul 1, 2022 | https://github.com/coder/coder/pull/2743#event-6919069717 |
| https://github.com/AbhineetJain |
| AbhineetJain | https://github.com/AbhineetJain |
| July 1, 2022 14:40 | https://github.com/coder/coder/pull/2743#event-6919069862 |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://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 page | https://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 page | https://github.com/coder/coder/pull/2743 |
|
| https://github.com/AbhineetJain |
|
| https://github.com/johnstcn |
|
| https://github.com/Emyrk |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |