Skip to content

fix(controlplane): clean up org config after deprovision#791

Draft
EDsCODE wants to merge 2 commits into
mainfrom
fix/deprovision-org-cleanup
Draft

fix(controlplane): clean up org config after deprovision#791
EDsCODE wants to merge 2 commits into
mainfrom
fix/deprovision-org-cleanup

Conversation

@EDsCODE

@EDsCODE EDsCODE commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • finalize managed warehouse deprovision by removing the org config rows after Duckling and Lakekeeper teardown succeeds
  • keep cleanup retryable by guarding the final transaction on deleting state
  • update the deprovision runbook to verify automatic org cleanup with a manual fallback

Test plan

  • go test -tags kubernetes ./controlplane/provisioner -run 'TestReconcileDeleting(DeletesCR|RetriesOnNonNotFoundError|_TearsDownLakekeeper)'
  • go test ./tests/configstore -run 'TestFinalizeWarehouseDeletion'
  • just test-controlplane-k8s
  • just test-configstore-integration

Notes

  • just lint was attempted locally, but golangci-lint is not installed in this checkout environment and there is no local flox environment.

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