René's URL Explorer Experiment


Title: bug: Workspaces occasionally get stuck in starting phase · Issue #18571 · coder/coder · GitHub

Open Graph Title: bug: Workspaces occasionally get stuck in starting phase · Issue #18571 · coder/coder

X Title: bug: Workspaces occasionally get stuck in starting phase · Issue #18571 · coder/coder

Description: Is there an existing issue for this? I have searched the existing issues Current Behavior When using the same template and creating the same workspaces, with the exception of the name, some workspaces (10 to 20% of the workspaces in my c...

Open Graph Description: Is there an existing issue for this? I have searched the existing issues Current Behavior When using the same template and creating the same workspaces, with the exception of the name, some workspa...

X Description: Is there an existing issue for this? I have searched the existing issues Current Behavior When using the same template and creating the same workspaces, with the exception of the name, some workspa...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: Workspaces occasionally get stuck in starting phase","articleBody":"### Is there an existing issue for this?\n\n- [x] I have searched the existing issues\n\n### Current Behavior\n\nWhen using the same template and creating the same workspaces, with the exception of the name, some workspaces (10 to 20% of the workspaces in my case) get stuck in starting phase (same happened to me during deletion phase of stopped workspace, but I don't have proof on hand):\n\n![Image](https://github.com/user-attachments/assets/5c3a0c47-fc6e-4090-81f1-72028cb268aa)\n\nThere's no logs explaining what is going on exactly, besides audit log for create action and there is no progress unless I cancel the build and wait for 5 minutes until the following message appears:\n\n![Image](https://github.com/user-attachments/assets/7266a4d2-2649-4f55-8a31-1d9efbc16e95)\n\nThen I can delete the workspace.\n\n### Relevant Log Output\n\n```shell\n2025-06-25 10:19:05.612 [info]  coderd: audit_log  ID=c4b9b12c-3f95-412d-9111-3bf371763106  Time=\"2025-06-25T10:19:05.506227Z\"  UserID=1af29cb0-af43-4741-b7de-57a1c05a0c28  OrganizationID=afc95229-f7e3-48af-a413-0d13f265f3fe  Ip=hidden  UserAgent=\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36\"  ResourceType=workspace  ResourceID=747b39bd-7779-4a32-a1ba-636df16456e2  ResourceTarget=rose-mouse-31  Action=create  Diff=\"{\\\"automatic_updates\\\":{\\\"Old\\\":\\\"\\\",\\\"New\\\":\\\"never\\\",\\\"Secret\\\":false},\\\"id\\\":{\\\"Old\\\":\\\"\\\",\\\"New\\\":\\\"747b39bd-7779-4a32-a1ba-636df16456e2\\\",\\\"Secret\\\":false},\\\"name\\\":{\\\"Old\\\":\\\"\\\",\\\"New\\\":\\\"rose-mouse-31\\\",\\\"Secret\\\":false},\\\"owner_id\\\":{\\\"Old\\\":\\\"\\\",\\\"New\\\":\\\"1af29cb0-af43-4741-b7de-57a1c05a0c28\\\",\\\"Secret\\\":false},\\\"template_id\\\":{\\\"Old\\\":\\\"\\\",\\\"New\\\":\\\"ef6f520c-c8bb-47a2-a479-16efdd352733\\\",\\\"Secret\\\":false},\\\"ttl\\\":{\\\"Old\\\":0,\\\"New\\\":10800000000000,\\\"Secret\\\":false}}\"  StatusCode=201  AdditionalFields=\"{\\\"workspace_name\\\":\\\"\\\",\\\"build_number\\\":\\\"\\\",\\\"build_reason\\\":\\\"\\\",\\\"workspace_owner\\\":\\\"hidden\\\",\\\"workspace_id\\\":\\\"00000000-0000-0000-0000-000000000000\\\"}\"  RequestID=6c23e9ce-548a-47b5-a603-a14374e4cd20  ResourceIcon=\"\"  actor=\"&{ID:1af29cb0-af43-4741-b7de-57a1c05a0c28 Email:hidden Username:hidden}\"\n2025-06-25 11:11:01.874 [info]  provisionerd-coder-5568dc94ff-6z6gx-0.runner: attempting graceful cancellation  job_id=4cbebb78-4ac9-47b5-aa18-6606d11976be  template_name=nodejs  template_version=nostalgic_lumiere2  workspace_build_id=303b2ba5-0df3-46b0-8f01-f247d81a3bff  workspace_id=747b39bd-7779-4a32-a1ba-636df16456e2  workspace_name=rose-mouse-31  workspace_owner=hidden  workspace_transition=start\n2025-06-25 11:21:02.025 [warn]  provisionerd-coder-5568dc94ff-6z6gx-0.runner: failed to call FailJob  job_id=4cbebb78-4ac9-47b5-aa18-6606d11976be  template_name=nodejs  template_version=nostalgic_lumiere2  workspace_build_id=303b2ba5-0df3-46b0-8f01-f247d81a3bff  workspace_id=747b39bd-7779-4a32-a1ba-636df16456e2  workspace_name=rose-mouse-31  workspace_owner=hidden  workspace_transition=start ...\n```\n\n### Expected Behavior\n\nAt the very least there should be an indication of what is going on during this scenario, then maybe some mechanism that detects that this have occurred and either retries the build process or fails it so that it won't get stuck in this state indefinitely.\n\n### Steps to Reproduce\n\n1. Create workspace from the template\n2. If the issue hasn't occurred, create another workspace, until it occurs.\n\n### Environment\n\n- Host OS: ghcr.io/coder/coder, kubernetes env\n- Coder version: v2.23.1\n\n\n### Additional Context\n\n_No response_","author":{"url":"https://github.com/ihruzdiev","@type":"Person","name":"ihruzdiev"},"datePublished":"2025-06-25T11:25:03Z","url":"https://github.com/coder/coder/issues/18571"}

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:6e50d573-d2f2-1e73-3635-7aadd84c98ef
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEC78:31B4CC:1BFAFC7:24C36AC:6B014E19
html-safe-nonce72914e8ac884f4a2a11b08912abc1415fcb94b90caf9cc23234623b13b0fb27e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzc4OjMxQjRDQzoxQkZBRkM3OjI0QzM2QUM6NkIwMTRFMTkiLCJ2aXNpdG9yX2lkIjoiNDc3NDg2NDYyNjgwMDIxNzYyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac727a6e20040d4bbc87e202eb6c09d7bcb0180d856532afd05ad8aecd5dd17fd5
hovercard-subject-tagissue:3175276320
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/18571/issue_layout
twitter:imagehttps://opengraph.githubassets.com/73761581e8a50c7d4af24c8ca089b487dfed34344569234f82267b3b2fa615b7/coder/coder/issues/18571
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/73761581e8a50c7d4af24c8ca089b487dfed34344569234f82267b3b2fa615b7/coder/coder/issues/18571
og:image:altIs there an existing issue for this? I have searched the existing issues Current Behavior When using the same template and creating the same workspaces, with the exception of the name, some workspa...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameihruzdiev
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/18571#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F18571
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%2F18571
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/18571
Reloadhttps://github.com/coder/coder/issues/18571
Reloadhttps://github.com/coder/coder/issues/18571
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests469 (469)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/18571
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/18571
Bughttps://github.com/coder/coder/issues?q=type:"Bug"
bug: Workspaces occasionally get stuck in starting phasehttps://github.com/coder/coder/issues/18571#top
needs-triageIssue that require triagehttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22needs-triage%22
https://github.com/ihruzdiev
ihruzdievhttps://github.com/ihruzdiev
on Jun 25, 2025https://github.com/coder/coder/issues/18571#issue-3175276320
https://private-user-images.githubusercontent.com/146008184/458841802-5c3a0c47-fc6e-4090-81f1-72028cb268aa.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50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zdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MTEyMVQwNzU0MDJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xOTViOWRhNTczZjIxYjRiYTEzMGUwNDFjNzNmMTVhZWY5YjdkMWUzMWMyMWYzOGM2ZmQyMzM0Yzc1YmQwZjJkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.CfRz4Xj8_pHDqNSl0pzLTh9xoO6DwigFVhgJmDe6jDI
ihruzdievhttps://github.com/ihruzdiev
needs-triageIssue that require triagehttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22needs-triage%22
on Jun 25, 2025https://github.com/coder/coder/issues/18571#event-18314702396
ihruzdievhttps://github.com/ihruzdiev
Bughttps://github.com/coder/coder/issues?q=type:"Bug"
on Jun 25, 2025https://github.com/coder/coder/issues/18571#event-18314702534
https://github.com/wyrickre
wyrickrehttps://github.com/wyrickre
on May 15, 2026https://github.com/coder/coder/issues/18571#issuecomment-4462676173
chore: Initial GHA workflow #1https://github.com/coder/coder/pull/1
chore: Initial GHA workflow #1https://github.com/coder/coder/pull/1
chore: Initial database scaffolding #2https://github.com/coder/coder/pull/2
chore: Add golangci-lint and codecov #3https://github.com/coder/coder/pull/3
chore: Add golangci-lint and codecov #3https://github.com/coder/coder/pull/3
https://github.com/wyrickre
wyrickrehttps://github.com/wyrickre
on May 15, 2026https://github.com/coder/coder/issues/18571#issuecomment-4463508915
#25406https://github.com/coder/coder/pull/25406
in my earlier commenthttps://github.com/coder/coder/issues/18571#issuecomment-4462676173
https://github.com/zenithwolf1000
zenithwolf1000https://github.com/zenithwolf1000
on Nov 16, 2026https://github.com/coder/coder/issues/18571#issuecomment-6909064782
Linear Codehttps://linear.app
zenithwolf1000https://github.com/zenithwolf1000
not plannedhttps://github.com/coder/coder/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Anot-planned
on Nov 16, 2026https://github.com/coder/coder/issues/18571#event-36244622576
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/coder/issues/18571
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/coder/issues/18571
needs-triageIssue that require triagehttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22needs-triage%22
Bughttps://github.com/coder/coder/issues?q=type:"Bug"
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.