Skip to content

chore(manifest): prune to 4 actively-supported runtimes - #2536

Merged
HongmingWang-Rabbit merged 1 commit into
stagingfrom
chore/prune-manifest-to-4-runtimes
May 3, 2026
Merged

HongmingWang-Rabbit merged 1 commit into
stagingfrom
chore/prune-manifest-to-4-runtimes

Conversation

@HongmingWang-Rabbit

Copy link
Copy Markdown
Contributor

Summary

  • Removes 5 unsupported workspace_templates from manifest.json: `langgraph`, `crewai`, `autogen`, `deepagents`, `gemini-cli`. Active runtime matrix is now claude-code / hermes / openclaw / codex (the four templates with shipping images + working A2A integration + active CI publish-image cascades).
  • Mirrors the prune in workspace-server's runtime_registry fallback list, sanitizeRuntime default ("`langgraph`" → "`claude-code`"), and removes the dead langgraph/deepagents `runtime_config` skip branch.
  • Updates 8 unit tests that pinned langgraph/deepagents as defaults (renames + value updates; full handlers suite still green).

Why now

Per user mandate ("we only need to support these 4 runtimes for now, can remove other ones from manifest"). The removed runtimes haven't shipped working images for ≥1 release cycle. Any provision request naming one now coerces to `claude-code` (with a log line) instead of returning a runtime with no functioning template repo.

Test plan

  • `go test ./workspace-server/...` — all packages green (handlers + 18 others)
  • All five `TestEnsureDefaultConfig_` and the two `TestResolveRestartTemplate_` failures fixed in this commit
  • After merge: provision a new workspace with `runtime: ""` and confirm it lands as claude-code, not langgraph
  • Confirm staging `/cp/admin/runtimes` (or equivalent) returns the 4-runtime list

🤖 Generated with Claude Code

Deletes the 5 unsupported workspace_templates from manifest.json
(langgraph, crewai, autogen, deepagents, gemini-cli). The runtime
matrix is now claude-code / hermes / openclaw / codex — the four
templates with shipping images, working A2A integration, and active
CI publish-image cascades.

Mirrors the prune in:
  - workspace-server/internal/handlers/runtime_registry.go
    (fallbackRuntimes for dev/test contexts that boot without the
    manifest mounted)
  - workspace-server/internal/handlers/workspace_provision.go
    (sanitizeRuntime: empty/unknown → "claude-code", was "langgraph";
    removes the langgraph/deepagents-specific runtime_config skip
    branch — they're no longer supported, so the block is dead)
  - tests for both: rename TestEnsureDefaultConfig_LangGraph →
    _Hermes, TestEnsureDefaultConfig_EmptyRuntimeDefaultsToLangGraph
    → _ClaudeCode, drop TestEnsureDefaultConfig_DeepAgents,
    update TestSanitizeRuntime_Allowlist + the two
    TestResolveRestartTemplate_* cases that pinned langgraph-default
    as the safe-default name

Why this is safe: production reads manifest.json at boot and uses it
as the authoritative allowlist; the 5 removed runtimes have not
shipped working images for ≥1 release cycle. Any provision request
naming one will now coerce to claude-code (with a log line) instead
of returning a runtime that has no functioning template repo.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@HongmingWang-Rabbit
HongmingWang-Rabbit added this pull request to the merge queue May 3, 2026
Merged via the queue into staging with commit 1b75fdd May 3, 2026
23 checks passed
@HongmingWang-Rabbit
HongmingWang-Rabbit deleted the chore/prune-manifest-to-4-runtimes branch May 3, 2026 02:29
HongmingWang-Rabbit added a commit that referenced this pull request May 3, 2026
The cascade-list-vs-manifest drift gate (PR #2556's behavior-based
test) caught my previous-commit cascade additions as 'extra-in-cascade'.
Manifest is the source of truth — restoring there.

All 5 templates have successful publish-image runs in the past 24h
(verified before the cascade fix), and continuous-synth-e2e defaults
to langgraph as its primary canary. None deprecated.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
HongmingWang-Rabbit pushed a commit that referenced this pull request Jun 12, 2026
CR2 verify-by-state merge: 2 distinct approvals + required CI green
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