Skip to content

refactor(execution): remove unused prototype migrations - #2159

Merged
JAORMX merged 1 commit into
mainfrom
cleanup/remove-prototype-execution-migration-20261007
Oct 8, 2026
Merged

JAORMX merged 1 commit into
mainfrom
cleanup/remove-prototype-execution-migration-20261007

Conversation

@JAORMX

@JAORMX JAORMX commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The prototype execution-environment format has no users. Remove its upgrade path instead of retaining an unused alpha compatibility feature.

  • Remove MigrateEnvironment from the execution-provider protocol, generated contracts, client, handler, and controller.
  • Remove migration conversion/receipt code and the dedicated legacy fixture/test files.
  • Simplify production Kind setup: install the current CRD directly, without seeding legacy environments or stopping/restarting the provider to perform an upgrade.
  • Require the current execution-environment format and preserve fail-closed handling of unsupported/malformed objects. No automatic workspace reset or deletion.
  • Retain current lifecycle, authentication, restart, and workspace-persistence coverage; strengthen CRD admission and incompatible-state assertions.
  • Remove the obsolete operator migration procedure from the owning documentation.

This intentionally drops the prototype migration API and schema-0/1 support. Other versioned formats are unchanged.

Verification

Rebased onto dcf1ea4a2 (main) as the single commit ecf487ba9. No local tests or linters were rerun after the rebase, as requested. CI on the rebased revision passed: 33 successful checks, 4 skipped, no failures or pending checks. The unchanged Studio auth test failed once and passed when only its failed job was rerun.

Passed before the rebase:

  • task generate

  • task docs

  • Focused execution-controller/client, execution Helm chart, and Kind runner tests

  • kind_execution_e2e compilation

  • Offline mecademo tool-call/permission-approval/result smoke test

  • git diff --check

  • Independent spec, standards, security, architecture, Kubernetes, reuse, and test-adequacy reviews; review findings addressed

  • task test

  • task lint

  • task --concurrency 2 test:race (GOFLAGS=-p=2, GOMAXPROCS=4, disk-backed Go build temporary storage)

  • All 30 applicable draft-PR CI checks, including the production execution-provider Kind suite

Local full-suite verification used a short, real checkout to avoid terminal socket path limits. Reduced build concurrency and disk-backed build storage resolved host temporary-space pressure. No unrelated test code was changed.

@JAORMX
JAORMX marked this pull request as ready for review October 7, 2026 16:50
Remove schema-0/1 migration RPCs, conversion code, receipts and legacy Kind fixtures. Require the current format, preserve fail-closed validation, and retain current lifecycle and workspace persistence coverage.

Co-authored-by: Mecatl <[email protected]>
@JAORMX
JAORMX force-pushed the cleanup/remove-prototype-execution-migration-20261007 branch from 74b29c4 to ecf487b Compare October 8, 2026 06:04
@JAORMX
JAORMX merged commit 0ccf581 into main Oct 8, 2026
64 of 65 checks passed
@JAORMX
JAORMX deleted the cleanup/remove-prototype-execution-migration-20261007 branch October 8, 2026 07:04
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Oct 8, 2026
2 tasks

This branch was successfully deployed

1 active deployment
Preview — ecf487ba Deployed Oct 8, 2026 by vercel[bot]
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