René's URL Explorer Experiment


Title: Warn (or prevent) volumes from being deleted unintentionally · Issue #3386 · coder/coder · GitHub

Open Graph Title: Warn (or prevent) volumes from being deleted unintentionally · Issue #3386 · coder/coder

X Title: Warn (or prevent) volumes from being deleted unintentionally · Issue #3386 · coder/coder

Description: As a developer I expect my coder volume to stay around until my workspace is deleted so that I can trust my half-finished work is not lost. (Barring exceptional circumstance.) Scenario 1: Currently there is one way for a volume to be del...

Open Graph Description: As a developer I expect my coder volume to stay around until my workspace is deleted so that I can trust my half-finished work is not lost. (Barring exceptional circumstance.) Scenario 1: Currently...

X Description: As a developer I expect my coder volume to stay around until my workspace is deleted so that I can trust my half-finished work is not lost. (Barring exceptional circumstance.) Scenario 1: Currently...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Warn (or prevent) volumes from being deleted unintentionally","articleBody":"> As a developer I expect my coder volume to stay around until my workspace is _deleted_ so that I can trust my half-finished work is not lost. (Barring exceptional circumstance.)\r\n\r\n**Scenario 1:** Currently there is one way for a volume to be deleted unintentionally (with #3000 there are two):\r\n1. A template author updates a template and changes the volume name format\r\n2. The user sees their workspace is outdated and goes ahead and updates\r\n3. The workspace is re-created, during start the old volume will be deleted (no longer referenced in the TF template) and a new one will be created in its place\r\n\r\n**Scenario 2:** When #3000 is implemented, our current users will run into this scenario:\r\n1. The user renames their workspace\r\n2. The user (or autostart/stop) starts or stops the workspace\r\n3. The volume will be deleted and a new one created in its place\r\n\r\nTo avoid #3000, template authors should move to using `data.coder_workspace.me.id` instead of `data.coder_workspace.me.name`, which will prevent volume deletion due to a naming change. However, the migration path will mean that all existing coder workspaces will lose their volumes either due to the former case (rename in template + update), or due to workspace rename.\r\n\r\nThere are a few ways we could dampen this impact:\r\n1. We could detect when a template push would cause this and warn the operator\r\n2. We could detect when a workspace update would cause this and warn the user\r\n3. We could detect when a rename would cause this and warn the user\r\n4. We could consider workspace volume names immutable after creation (i.e. we compute the volume name and store it separately, re-use it for the lifetime of the workspace)\r\n\r\nIt could be argued that renaming volumes in the template is an operator error and we shouldn't care about it. On the flip-side, operator error or not, it's something we could've guarded against and prevented potential loss in developer productivity.\r\n\r\nI think option 4 would be best, as it lets us guard against data loss in all cases. It's also the one requiring least changes to our code to handle the edge cases.\r\n\r\nAt minimum, we should implement 1 and 2 so that operators and users are aware of the impact. It'd be great to have 3 too in this case but not mandatory if we consider all our users should migrate to using IDs.\r\n\r\n---\r\n\r\nI think this is something of a feature-bug, so I've labeled it as such. Depending on solutions it will also require CLI and frontend work (but I've omitted those tags for now).","author":{"url":"https://github.com/mafredri","@type":"Person","name":"mafredri"},"datePublished":"2022-08-05T09:06:02Z","url":"https://github.com/coder/coder/issues/3386"}

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:5fbd35cb-2cfe-7512-dbf0-f4423954ac90
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC93A:3DD488:26B009D:31200E4:6B019797
html-safe-nonce19ce0cd6d8b7f30533e2534f5ed662dd38f11a534ba56489ee9e567d2d9fb7d5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTNBOjNERDQ4ODoyNkIwMDlEOjMxMjAwRTQ6NkIwMTk3OTciLCJ2aXNpdG9yX2lkIjoiMTM3NDA4NjI1NTk4OTU5NDAwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6e8c75ab0120cb22d0c17363f3a09cff32600f27698625923a53306e9f9bd8a7
hovercard-subject-tagissue:1329663048
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/3386/issue_layout
twitter:imagehttps://opengraph.githubassets.com/bc22094cb4ec4008c2e354065159db3a8c3b742c4afd968a9050a167fd6ef145/coder/coder/issues/3386
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bc22094cb4ec4008c2e354065159db3a8c3b742c4afd968a9050a167fd6ef145/coder/coder/issues/3386
og:image:altAs a developer I expect my coder volume to stay around until my workspace is deleted so that I can trust my half-finished work is not lost. (Barring exceptional circumstance.) Scenario 1: Currently...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemafredri
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/3386#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F3386
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%2F3386
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/3386
Reloadhttps://github.com/coder/coder/issues/3386
Reloadhttps://github.com/coder/coder/issues/3386
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/3386
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/3386
Warn (or prevent) volumes from being deleted unintentionallyhttps://github.com/coder/coder/issues/3386#top
https://github.com/mafredri
apiArea: HTTP APIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22api%22
staleThis issue is like stale bread.https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22stale%22
EEhttps://github.com/coder/coder/milestone/9
https://github.com/mafredri
mafredrihttps://github.com/mafredri
on Aug 5, 2022https://github.com/coder/coder/issues/3386#issue-1329663048
#3000https://github.com/coder/coder/issues/3000
#3000https://github.com/coder/coder/issues/3000
#3000https://github.com/coder/coder/issues/3000
mafredrihttps://github.com/mafredri
bughttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22bug%22
featurehttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22feature%22
apiArea: HTTP APIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22api%22
on Aug 5, 2022https://github.com/coder/coder/issues/3386#event-7134313039
https://github.com/mafredri
mafredrihttps://github.com/mafredri
on Aug 9, 2022https://github.com/coder/coder/issues/3386#issuecomment-1209197830
https://github.com/kylecarbs
kylecarbshttps://github.com/kylecarbs
on Aug 9, 2022https://github.com/coder/coder/issues/3386#issuecomment-1209474667
https://github.com/mafredri
mafredrihttps://github.com/mafredri
on Aug 9, 2022https://github.com/coder/coder/issues/3386#issuecomment-1209495869
https://github.com/spikecurtis
spikecurtishttps://github.com/spikecurtis
on Aug 9, 2022https://github.com/coder/coder/issues/3386#issuecomment-1209560359
https://github.com/mafredri
mafredrihttps://github.com/mafredri
on Aug 10, 2022https://github.com/coder/coder/issues/3386#issuecomment-1210410813
@spikecurtishttps://github.com/spikecurtis
@Emyrkhttps://github.com/Emyrk
#802https://github.com/coder/coder/issues/802
https://github.com/bpmct
bpmcthttps://github.com/bpmct
on Aug 23, 2022https://github.com/coder/coder/issues/3386#issuecomment-1223947814
prevent_destroyhttps://www.terraform.io/language/meta-arguments/lifecycle#prevent_destroy
ignore_changeshttps://www.terraform.io/language/meta-arguments/lifecycle#ignore_changes
hashicorp/terraform#22544https://github.com/hashicorp/terraform/issues/22544
coder_metadatahttps://registry.terraform.io/providers/coder/coder/latest/docs/resources/metadata
#3384https://github.com/coder/coder/issues/3384
#3000https://github.com/coder/coder/issues/3000
ignore_changeshttps://www.terraform.io/language/meta-arguments/lifecycle#ignore_changes
bpmcthttps://github.com/bpmct
EEhttps://github.com/coder/coder/milestone/9
on Aug 23, 2022https://github.com/coder/coder/issues/3386#event-7245319886
https://github.com/mafredri
mafredrihttps://github.com/mafredri
on Aug 24, 2022https://github.com/coder/coder/issues/3386#issuecomment-1225528202
@bpmcthttps://github.com/bpmct
@deansheatherhttps://github.com/deansheather
kylecarbshttps://github.com/kylecarbs
mafredrihttps://github.com/mafredri
on Aug 24, 2022https://github.com/coder/coder/issues/3386#event-7250376935
mafredrihttps://github.com/mafredri
on Aug 24, 2022https://github.com/coder/coder/issues/3386#event-7250935403
fix: Use immutable names for volumes in example templateshttps://github.com/coder/coder/commit/9b49e37e8204464ab050ce2f1d2ab8114e391fe3
9b49e37https://github.com/coder/coder/commit/9b49e37e8204464ab050ce2f1d2ab8114e391fe3
https://github.com/bpmct
bpmcthttps://github.com/bpmct
on Aug 24, 2022https://github.com/coder/coder/issues/3386#issuecomment-1225901312
#3663https://github.com/coder/coder/pull/3663
https://github.com/bpmct
bpmcthttps://github.com/bpmct
on Aug 24, 2022https://github.com/coder/coder/issues/3386#issuecomment-1225904566
https://github.com/mafredri
mafredrihttps://github.com/mafredri
on Aug 24, 2022https://github.com/coder/coder/issues/3386#issuecomment-1225918234
#3663https://github.com/coder/coder/pull/3663
https://github.com/mafredri
mafredrihttps://github.com/mafredri
on Sep 22, 2022https://github.com/coder/coder/issues/3386#issuecomment-1254843822
@bpmcthttps://github.com/bpmct
@kylecarbshttps://github.com/kylecarbs
https://github.com/bpmct
bpmcthttps://github.com/bpmct
on Sep 22, 2022https://github.com/coder/coder/issues/3386#issuecomment-1254982794
https://github.com/mafredri
mafredrihttps://github.com/mafredri
on Sep 22, 2022https://github.com/coder/coder/issues/3386#issuecomment-1255046526
mafredrihttps://github.com/mafredri
on Nov 8, 2022https://github.com/coder/coder/issues/3386#event-7764172492
fix: Use immutable names for volumes in example templateshttps://github.com/coder/coder/commit/193e2b407e54fb941081eaed0c432d758f246a83
193e2b4https://github.com/coder/coder/commit/193e2b407e54fb941081eaed0c432d758f246a83
fix: Use immutable names for volumes in example templates (#4954)https://github.com/coder/coder/commit/ed7de90a55a81bbeeaca7cf1cf3d286d5a45ce22
#4954https://github.com/coder/coder/pull/4954
ed7de90https://github.com/coder/coder/commit/ed7de90a55a81bbeeaca7cf1cf3d286d5a45ce22
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Nov 28, 2022https://github.com/coder/coder/issues/3386#issuecomment-1328378243
github-actionshttps://github.com/apps/github-actions
staleThis issue is like stale bread.https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22stale%22
on Nov 28, 2022https://github.com/coder/coder/issues/3386#event-7898402790
github-actionshttps://github.com/apps/github-actions
not plannedhttps://github.com/coder/coder/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Anot-planned
on Dec 6, 2022https://github.com/coder/coder/issues/3386#event-7960436431
https://github.com/julianpoy
julianpoyhttps://github.com/julianpoy
on Sep 23, 2023https://github.com/coder/coder/issues/3386#issuecomment-1732205812
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/coder/issues/3386
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/coder/issues/3386
mafredrihttps://github.com/mafredri
apiArea: HTTP APIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22api%22
staleThis issue is like stale bread.https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22stale%22
EEhttps://github.com/coder/coder/milestone/9
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.