🤖 CoderWorkspacePoolMember: support the retain deletion policy

Aperta
#458 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
40/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go, kubernetes

Direzione di ricerca

Start with how CoderTemplateTest already handles the coder.com/deletion-policy: retain annotation and the control plane's allowRetain setting, then find the code path where a deleted CoderWorkspacePoolMember removes its workspace. Done means a member annotated retain leaves its workspace in Coder when deleted, the existing deletion exceptions still hold, and tests cover both cases. The referenced plan sections and cleanup docs are not in the issue, so read them first.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Idea

Support retain for CoderWorkspacePoolMember, as for CoderTemplateTest: with the control plane's allowRetain, the annotation coder.com/deletion-policy: retain keeps the workspace in Coder when the member is deleted. Today a deleted member always deletes its workspace, except in the cases that the cleanup docs name.

Plan workspace-13.md section 6.5 item 6 and section 16 item 4.

Refs #153


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: xhigh

Lingua principale
Go
Stelle
5
Fork
3
Merge medio
2h 49m
PR unite (30g)
206

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di coder/coder-k8s

Tutte le issue di coder/coder-k8s

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.