Repository navigation
feat(workspaces): add thin helpers and completed-task cleanup - #350
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Hive preview — PR #350🧹 torn-down — preview Application is being deleted. Triage: inspect Argo CD sync details and namespace events for Helm render errors, missing repo credentials or image tags, GHCR pull Secret /
|
Make helper workspaces cheaper to keep available and retire only task-created disposables whose results have been preserved. Browser Testing reserves 1 CPU/4 GiB and Infrastructure 500m CPU/2 GiB, with existing limits and storage sizes retained. Both omit editor/File Browser services; new Infrastructure homes seed only k8s-cluster.
New disposables receive a two-hour Coder autostop deadline. A primary-only scheduled reaper stops and deletes signed, explicitly completed tasks, verifies preserved evidence, and retains any workspace whose build changes after completion. Active, reused, persistent, and unmanaged workspaces remain outside automatic deletion.
Upgrade Claude Code's official registry module from 1.1.0 to 5.5.2, replace its legacy Tasks app with native Claude/Codex launchers, and add an opt-in OpenCode CLI pinned to 1.19.4 for first installation. Upgrade code-server to canonical coder/code-server 1.6.0 for settings preservation and primary-only coder-login to 1.1.1. Keep git-config 1.0.33 to avoid a competing startup writer. Keep Codex's current installer until configuration-preserving support proposed in coder/registry#1208 is released. Document the deployment audit, native Agents setup, module choices, and cleanup workflow in docs/workspace-agents.md.
Validation: 71 template checks, including 17 lifecycle regressions; all 2,020 Vitest tests; typecheck, Biome checks/format, scaffold sync, Bash syntax, Terraform initialization/format/validation in the Infrastructure workspace, and Coder import of inactive template versions. Live provider inference needs configured credentials. No running workspaces were rebuilt, and no storage was shrunk.
Live scheduling: Browser Testing and Infrastructure templates now default to two-hour autostop for future workspaces. Primary scheduling remains persistent. Dormancy-based deletion stays disabled.
Rollout: review and merge, then activate the staged
agents-85b0d05version on all five Coder templates (template contents match commit 85b0d05; subsequent commits update tests/docs only) and deliberately update idle workspaces. Keep ai-dev persistent. Coder control-plane upgrade is tracked separately in kethalia/k8s-cluster#471; navigation changes are in #349.