Skip to content

fix(backend): update the domain-removal route response to match the c… - #1198

Open
maisamariwanta4-bit wants to merge 1 commit into
StellerCraft:mainfrom
maisamariwanta4-bit:fix/domain-removal-route-aliases-removed-contract
Open

fix(backend): update the domain-removal route response to match the c…#1198
maisamariwanta4-bit wants to merge 1 commit into
StellerCraft:mainfrom
maisamariwanta4-bit:fix/domain-removal-route-aliases-removed-contract

Conversation

@maisamariwanta4-bit

Copy link
Copy Markdown

closes #1144
closes #1145

…orrected aliasesRemoved/aliasesMatched contract

  • Replace direct VercelService.removeDomain() call with VercelDomainLifecycleService.removeDomainWithCleanup() in the DELETE handler
  • Surface aliasesMatched (not aliasesRemoved) in the 200 response body, consistent with the RemoveDomainResult interface in the lifecycle service
  • Include partialFailure / partialFailureReason in the response when alias cleanup encounters errors after the domain has been removed
  • Update route.test.ts: swap VercelService mock for VercelDomainLifecycleService mock and assert on aliasesMatched in all relevant test cases; add new cases for partialFailure and success:false

Closes #1144

…orrected aliasesRemoved/aliasesMatched contract

- Replace direct VercelService.removeDomain() call with
  VercelDomainLifecycleService.removeDomainWithCleanup() in the DELETE handler
- Surface aliasesMatched (not aliasesRemoved) in the 200 response body,
  consistent with the RemoveDomainResult interface in the lifecycle service
- Include partialFailure / partialFailureReason in the response when alias
  cleanup encounters errors after the domain has been removed
- Update route.test.ts: swap VercelService mock for
  VercelDomainLifecycleService mock and assert on aliasesMatched in all
  relevant test cases; add new cases for partialFailure and success:false

Closes StellerCraft#1144
@drips-wave

drips-wave Bot commented Aug 28, 2026

Copy link
Copy Markdown

@maisamariwanta4-bit Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant