Skip to content

Add service-level destroy endpoint#207

Merged
vigneshrajsb merged 6 commits into
mainfrom
vb/destroy-api-cleanup
May 18, 2026
Merged

Add service-level destroy endpoint#207
vigneshrajsb merged 6 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

@vigneshrajsb vigneshrajsb marked this pull request as ready for review May 18, 2026 21:25
@vigneshrajsb vigneshrajsb requested a review from a team as a code owner May 18, 2026 21:25
@vigneshrajsb vigneshrajsb merged commit 5038427 into main May 18, 2026
1 check passed
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