CoderWorkspacePoolMember checkCreate: trust only Coder's own 404 on the name lookup (before PR 12)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 internal/controller/coderworkspacepoolmember_controller.go 中的 checkCreate 开始,其中 kwp- 名称查找会调用 isCoderNotFound。将它与 CoderTemplateTest 控制器中使用 isCoderResourceNotFound 的 #352 修复进行比较。为 HTML 404 和 Route not found. 404 添加控制器测试,并检查这两种情况下都不会发送创建请求。
由索引模型根据 Issue 内容生成。
描述
Summary
checkCreate in internal/controller/coderworkspacepoolmember_controller.go looks up the kwp- workspace name before the create with the plain isCoderNotFound. A 404 that Coder did not send (a proxy page, Route not found.) counts as a free name, and the member sends the create. #352 fixed the same lookup in the live CoderTemplateTest controller.
The pool member controller is dormant. Fix this before PR 12 of #153 registers it: use isCoderResourceNotFound and add tests for an HTML 404 and Route not found..
Refs #153
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: medium
- 主要语言
- Go
- 星标
- 5
- 派生
- 3
- 平均合并
- 3 小时
- 30 天内合并 PR
- 192
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
coder/coder-k8s 的其他 Issue
-
TestReconcile_LicenseRotationUploadsNewSecretValue fails at -count=3 (reuses a control plane name)未关闭
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
CoderMCPServer Kind E2E follow-ups可能已有人在做 @ThomasK33 于 5 天前认领。 未关闭
coder/coder-k8s#390 · 已指派 1 人 ·
维护者通常 1 天内回复
-
CoderMCPServer delete and RBAC test follow-ups可能已有人在做 @ThomasK33 于 5 天前认领。 未关闭
coder/coder-k8s#378 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Ownership proof for Coder IDs recorded in controller status (D11 B)可能已有人在做 @ThomasK33 于 5 天前认领。 未关闭
coder/coder-k8s#372 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Namespace deletion leaves AI Gateway keys and AI providers in Coder可能已有人在做 @ThomasK33 于 5 天前认领。 未关闭
coder/coder-k8s#353 · 4 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1 小时以内 新手友好度 82/100
维护者通常 1 天内回复
-
area/security kind/bug
难度 2/5 1-3 小时 新手友好度 76/100
agent-substrate/substrate#2935 ·
维护者通常 1 天内回复
-
100 points complexity: trivial documentation drips-wave good first issue help wanted
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
automation models
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
Guardian health server binds :8080 and collides with the Voltron proxy可能已有人在做 @denislemire 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
projectcalico/calico#14341 ·
维护者通常 1 天内回复