internal: Remove local deployment adapter #612
All Vouch review confidence checks passed
Residual risk 0.26 = Change Risk (0.65) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.65 · 336 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.348
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.065
Real PR Conversation Timeline
1 comments
"Review active on #612"
general
weight: 0.35
lcopi
Description
The local Docker deployment adapter was built for demos and directly managed
host Docker Compose state from the registry process. That coupling is unsafe to
present as a supported runtime and does not match the current Kubernetes-only
deployment model.
This continues the cleanup from #605, which made E2E coverage Kubernetes-only,
#606, which removed the CLI daemon manager, and #609, which repaired the
Kubernetes deployment suite. The remaining local adapter left an untested
standalone path that looked production-ready even though it was unsupported.
This removes the adapter and its materialization code, the
Localruntime typeand seed data, Docker socket and runtime configuration, UI deployment paths,
and now-unused dependencies and generated API fields. It also removes the
custom
arctl-agentgatewayimage and release wiring, which existed only tosupport the local adapter. Kubernetes is now the only built-in deployment
environment.
Existing databases receive a reversible forward migration that tombstones
active
Localruntime rows. Fresh and upgraded installations therefore exposethe same supported runtimes without destroying state needed by a rollback. The
server image also drops its now-unused Docker CLI and Compose plugin.
The integration and E2E fixtures now use the migration-seeded Kubernetes
runtime instead of reconstructing demo-era local runtime state. Kubernetes
materialization helpers now live with their sole owning runtime rather than in
a shared utility package.
Change Type
/kind breaking_change
Changelog
``
release-note
`Remove the demo-only local Docker deployment runtime; Kubernetes is now the only built-in deployment environment.
Additional Notes
The local arctl run
developer workflow is unaffected; this change removesonly server-managed local deployments.
The migration-seeded kubernetes-default
Runtime is temporary compatibilitybehavior, not a long-term bootstrap contract. Follow-up work will stop seeding
runtime instances by default, make environment setup configure them
explicitly, and replace the current generic Kubernetes materialization path
with a direct kagent runtime integration.
The Makefile still provisions kind-registry
as a Docker container on thehost. Replacing that with the native Kubernetes registry integration is worth a
separate follow-up and is intentionally outside this PR.
Verified with make verify
,make lint,go test ./...`, a targeted Postgresupgrade and rollback test, Dockerfile validation, the affected
PostgreSQL-backed controller and MCP integration suites, an E2E package
compile, and the two previously failing batch-apply E2E tests against Kind.