Skip to content

feat(workspaces): add thin helpers and completed-task cleanup - #350

Merged
b00ste merged 3 commits into
mainfrom
codex/ephemeral-helper-workflows
Oct 25, 2026
Merged

b00ste merged 3 commits into
mainfrom
codex/ephemeral-helper-workflows

Conversation

@b00ste

@b00ste b00ste commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

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-85b0d05 version 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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-25T09:00:05.185933Z 0f7a7a3 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@k8s-preview-bot

k8s-preview-bot Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

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 / ImagePullBackOff, failed readiness/startup probes, TLS Secret or DNS wildcard-depth issues, app crash loops, and preview cleanup/finalizer failures.

@b00ste
b00ste merged commit 05bffd7 into main Oct 25, 2026
27 checks passed
@b00ste
b00ste deleted the codex/ephemeral-helper-workflows branch October 25, 2026 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant