Skip to content

Add service-level destroy endpoint#207

Draft
vigneshrajsb wants to merge 5 commits into
mainfrom
vb/destroy-api-cleanup
Draft

Add service-level destroy endpoint#207
vigneshrajsb wants to merge 5 commits into
mainfrom
vb/destroy-api-cleanup

Conversation

@vigneshrajsb
Copy link
Copy Markdown
Contributor

Summary

  • add a service-level destroy endpoint for deploy-scoped teardown
  • reuse the deploy cleanup service to remove service infrastructure and mark the deploy record torn down
  • change build destroy to enqueue the existing worker-owned delete flow instead of doing cleanup directly in the API request
  • update the API schema and focused service tests for the new behavior

Validation

  • pnpm run lint
  • pnpm test
  • Local end-to-end validation for service-level destroy across Helm, GitHub, and Docker service types
  • Local end-to-end validation for build-level destroy through the queued worker teardown path
  • pnpm run ts-check currently fails on existing repo-wide type errors outside this change

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