Goal: a CRD that creates a throwaway workspace from a template version, waits until its agent is healthy, records Succeeded or Failed, and deletes the workspace.
Uses: gate template promotion in GitOps (Argo CD and Flux read the condition); nightly template checks.
First slice: provisioning and agent health only. Running a command inside the workspace is a later, separate security slice.
Open points: cleanup after controller crashes (finalizer plus labels), timeouts, which Coder user owns the test workspace, cost of leaked workspaces.
Acceptance: envtest for the state machine and cleanup; Kind dogfood with a passing and a failing template; docs.
Owner: maintainer desk.
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: medium
Goal: a CRD that creates a throwaway workspace from a template version, waits until its agent is healthy, records Succeeded or Failed, and deletes the workspace.
Uses: gate template promotion in GitOps (Argo CD and Flux read the condition); nightly template checks.
First slice: provisioning and agent health only. Running a command inside the workspace is a later, separate security slice.
Open points: cleanup after controller crashes (finalizer plus labels), timeouts, which Coder user owns the test workspace, cost of leaked workspaces.
Acceptance: envtest for the state machine and cleanup; Kind dogfood with a passing and a failing template; docs.
Owner: maintainer desk.
Generated with
xum• Model:anthropic:claude-opus-5-5• Thinking:medium