🤖 CoderWorkspacePoolMember: support the retain deletion policy

Đang mở
#458 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
40/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go, kubernetes
Lĩnh vực
backend, infrastructure

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Go
Star
5
Fork
3
Merge trung bình
2 giờ 49 phút
Pull request đã merge (30 ngày)
206

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của coder/coder-k8s

Tất cả issue của coder/coder-k8s

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.