🤖 CoderWorkspacePool: strategy Prebuilds after an upstream per-preset count API
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 8/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 活跃
- 技术栈
- go, kubernetes
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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/entitlementsreturnsworkspace_prebuilds, usable whenenabledis true and the entitlement isentitledorgrace_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
- 主要语言
- Go
- 星标
- 5
- 派生
- 3
- 平均合并
- 2 小时 49 分钟
- 30 天内合并 PR
- 206
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
coder/coder-k8s 的其他 Issue
-
难度 3/5 半天 新手友好度 62/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
维护者通常 1 天内回复
-
难度 3/5 半天 新手友好度 45/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 30/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 40/100
维护者通常 1 天内回复
相似的 Issue
-
date_time, url_encode, html_escape, to_unix_time, contains_all and contains_any panic when called without arguments可能已有人在做 @antcybersec 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
projectdiscovery/dsl#372 ·
维护者通常 1 天内回复
-
blocked-needs-validation
难度 2/5 1-3 小时 新手友好度 62/100
projectcapsule/capsule#2265 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
JuliusBrussee/caveman#1449 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
维护者通常 1 天内回复
-
bot-found bug priority: P3
难度 2/5 1-3 小时 新手友好度 72/100
madenvel/KalinkaPlayer#498 ·