🤖 CoderWorkspacePool: strategy Prebuilds after an upstream per-preset count API

Đang mở
#459 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
8/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
go, kubernetes
Lĩnh vực
infrastructure

Hướng nghiên cứu

This is blocked upstream and is not a first-timer task. Read the feasibility comment at coder/coder-k8s#153 and sections 2, 12 and 16 of plan workspace-13.md to see why. Nothing should be built until Coder ships a runtime per-preset count API, and the draft upstream proposal must not be posted without owner approval. Done means the blocker is cleared and a design is agreed with the maintainer.

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

Mô tả

Idea

spec.strategy: Prebuilds for CoderWorkspacePool: let a pool size a Coder prebuild preset instead of building its own workspaces (Design A). The value is reserved, and version 1 accepts only Managed.

Blocked upstream

Coder has no API that changes a preset's prebuild count without a new template version, and a new version rebuilds every prebuild of the template. See the feasibility result in https://github.com/coder/coder-k8s/issues/153#issuecomment-5964210861. Recheck trigger: a Coder release with a runtime per-preset count API.

Requirements when it unblocks

  • Prebuilds are a Premium feature, so the controller must check the license: GET /api/v2/entitlements returns workspace_prebuilds, usable when enabled is true and the entitlement is entitled or grace_period (#153).
  • The upstream API proposal in the comment above is a draft. Decision D11 is not approved: the repository owner approves any post outside this repository. Nothing is posted upstream.

Plan workspace-13.md sections 2 and 12 (D1, D11) and section 16 item 5.

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.