René's URL Explorer Experiment


Title: Ability to disable unprivileged users from canceling workspace builds at the template level? · Issue #5035 · coder/coder · GitHub

Open Graph Title: Ability to disable unprivileged users from canceling workspace builds at the template level? · Issue #5035 · coder/coder

X Title: Ability to disable unprivileged users from canceling workspace builds at the template level? · Issue #5035 · coder/coder

Description: Our workspace templates use some Terraform tricks that we believe sometimes cause workspaces to be left in a bad state if a user clicks the "Cancel" button during a start or stop workspace build such that a subsequent "start" build alway...

Open Graph Description: Our workspace templates use some Terraform tricks that we believe sometimes cause workspaces to be left in a bad state if a user clicks the "Cancel" button during a start or stop workspace build su...

X Description: Our workspace templates use some Terraform tricks that we believe sometimes cause workspaces to be left in a bad state if a user clicks the "Cancel" button during a start or stop workspac...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Ability to disable unprivileged users from canceling workspace builds at the template level?","articleBody":"Our workspace templates use some Terraform tricks that we believe sometimes cause workspaces to be left in a bad state if a user clicks the \"Cancel\" button during a start or stop workspace build such that a subsequent \"start\" build always fails until an admin can manually fix the workspace's resources outside of Coder and Terraform.\r\n\r\nThis has happened a few times when a user thinks their workspace build is stuck and isn't familiar with how to access the workspace build logs on the Coder website or how to interpret the Terraform output to understand its progress, so they click the \"Cancel\" button thinking that a subsequent retry may be successful. I think the new workspace build progress bar may help users better understand how long a workspace build normally takes, but I also understand it may not always be able to provide that information to users (e.g. https://github.com/coder/coder/issues/4676).\r\n\r\nIdeally we could make our workspace templates robust to workspace build interruptions, but I think our use cases aren't really supported by Terraform and the provider plugin we use at the moment, and I'm nervous that there may always be aspects of any off-the-shelf Terraform provider plugin or external state that we can't control that would make Coder workspace build cancellations for particular templates/situations unsafe.\r\n\r\nWe're intrigued about the conversations around adding support to Coder for other workspace provisioners like Pulumi (https://github.com/coder/coder/issues/4528) which might support our use cases better than Terraform, but we're also nervous that Pulumi may not be any safer with respect to workspace build interruptions: https://www.pulumi.com/docs/reference/cli/pulumi_cancel/\r\n> This command cancels the update currently being applied to a stack if any exists. Note that this operation is very dangerous, and may leave the stack in an inconsistent state if a resource operation was pending when the update was canceled.\r\n\r\nWhat do you all think about introducing a configuration option for workspace templates that would allow template admins to disable the ability for unprivileged users to cancel workspace builds? In our case we'd rather force users to wait for their workspace build to reach a natural conclusion and, if the build really is stuck, to reach out to an admin who would still have the power to cancel it if that's the best course of action.","author":{"url":"https://github.com/kconley-sq","@type":"Person","name":"kconley-sq"},"datePublished":"2022-11-11T19:03:48Z","url":"https://github.com/coder/coder/issues/5035"}

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:ad14d815-036a-05da-1ba3-da2f9e0a3a5e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE7A2:24645:5B1446:77F673:6B019FE5
html-safe-noncecfe6e301f21f55446cf8fcaaf14ded939239fadb829eb16bfc8887614dd4309f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0EyOjI0NjQ1OjVCMTQ0Njo3N0Y2NzM6NkIwMTlGRTUiLCJ2aXNpdG9yX2lkIjoiNTI5MTg2MDE5MTA5MDk0MTkyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4892251189b0013c6e244cd2f39eb52cb4cf6e18ed01528dbb1c19d2132be5f0
hovercard-subject-tagissue:1445893500
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/5035/issue_layout
twitter:imagehttps://opengraph.githubassets.com/596dd4536f45d8ba403fd9f59f42873d6a02850cb1c6d98f0577ffcea2b4758d/coder/coder/issues/5035
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/596dd4536f45d8ba403fd9f59f42873d6a02850cb1c6d98f0577ffcea2b4758d/coder/coder/issues/5035
og:image:altOur workspace templates use some Terraform tricks that we believe sometimes cause workspaces to be left in a bad state if a user clicks the "Cancel" button during a start or stop workspace build su...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekconley-sq
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/5035#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F5035
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%2F5035
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/5035
Reloadhttps://github.com/coder/coder/issues/5035
Reloadhttps://github.com/coder/coder/issues/5035
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/5035
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/5035
#5115https://github.com/coder/coder/pull/5115
Ability to disable unprivileged users from canceling workspace builds at the template level?https://github.com/coder/coder/issues/5035#top
#5115https://github.com/coder/coder/pull/5115
https://github.com/mtojek
https://github.com/kconley-sq
kconley-sqhttps://github.com/kconley-sq
on Nov 11, 2022https://github.com/coder/coder/issues/5035#issue-1445893500
#4676https://github.com/coder/coder/issues/4676
#4528https://github.com/coder/coder/issues/4528
https://www.pulumi.com/docs/reference/cli/pulumi_cancel/https://www.pulumi.com/docs/reference/cli/pulumi_cancel/
kconley-sqhttps://github.com/kconley-sq
on Nov 11, 2022https://github.com/coder/coder/issues/5035#event-7794441073
https://github.com/bpmct
bpmcthttps://github.com/bpmct
on Nov 14, 2022https://github.com/coder/coder/issues/5035#issuecomment-1313859203
mtojekhttps://github.com/mtojek
on Nov 14, 2022https://github.com/coder/coder/issues/5035#event-7808057893
https://github.com/mtojek
mtojekhttps://github.com/mtojek
on Nov 16, 2022https://github.com/coder/coder/issues/5035#issuecomment-1316522789
https://github.com/mtojek
mtojekhttps://github.com/mtojek
on Nov 16, 2022https://github.com/coder/coder/issues/5035#issuecomment-1316883329
AWS IAMhttps://aws.amazon.com/iam/features/manage-permissions/
@bpmcthttps://github.com/bpmct
@mafredrihttps://github.com/mafredri
https://github.com/bpmct
bpmcthttps://github.com/bpmct
on Nov 16, 2022https://github.com/coder/coder/issues/5035#issuecomment-1317001041
@mtojekhttps://github.com/mtojek
@kylecarbshttps://github.com/kylecarbs
https://github.com/mtojek
mtojekhttps://github.com/mtojek
on Nov 16, 2022https://github.com/coder/coder/issues/5035#issuecomment-1317025338
https://github.com/mtojek
mtojekhttps://github.com/mtojek
on Nov 16, 2022https://github.com/coder/coder/issues/5035#issuecomment-1317256280
@bpmcthttps://github.com/bpmct
@kylecarbshttps://github.com/kylecarbs
separate issuehttps://github.com/coder/coder/issues/5106
mtojekhttps://github.com/mtojek
completedhttps://github.com/coder/coder/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#5115https://github.com/coder/coder/pull/5115
on Nov 21, 2022https://github.com/coder/coder/issues/5035#event-7856149077
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/coder/issues/5035
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/coder/issues/5035
mtojekhttps://github.com/mtojek
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.