-
Notifications
You must be signed in to change notification settings - Fork 17
feat: implement custom domain removal #1489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Scope the unique index on custom_domains.domain to non-deleted rows so that soft-deleted domains don't block re-registration. Co-Authored-By: Claude Opus 4.5 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Create new partial index first, then drop old, then rename. This avoids a window with no uniqueness enforcement. Co-Authored-By: Claude Opus 4.5 <[email protected]>
d9f2ab6 to
29ce932
Compare
- Implement DeleteDomain endpoint (was a no-op stub) - Add CustomDomainDeletionWorkflow to clean up K8s ingress/TLS - Redesign settings UI: replace table with card, add remove button - Show placeholder DNS values until domain input is valid Co-Authored-By: Claude Opus 4.5 <[email protected]>
29ce932 to
a34d51f
Compare
|
|
||||||||||||||||
|
|
||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Set min-height on dialog content to prevent modal resizing as domain input values change. Also fix "Verify" → "Reverify" label. Co-Authored-By: Claude Opus 4.5 <[email protected]>
The delete activity previously read the domain record from the DB, but the record is soft-deleted before the async workflow runs. Now the ingress name and cert secret name are passed through the workflow params so the delete activity doesn't need a DB lookup. Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Use invalidateAllGetDomain SDK helper instead of hardcoded query key - Block on deletion workflow completion before soft-deleting DB record to prevent inconsistent state if the workflow fails Co-Authored-By: Claude Opus 4.5 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Skip K8s ingress cleanup when IngressName or CertSecretName are NULL in the database, rather than passing empty strings to the workflow. Co-Authored-By: Claude Opus 4.5 <[email protected]>
🚀 Preview Environment (PR #1489)Preview URL: https://pr-1489.dev.getgram.ai
Gram Preview Bot |
Summary
DeleteDomainAPI endpoint (previously a no-op stub) with K8s ingress cleanup via Temporal workflowmise db:resettask for fully resetting the local databaseDepends on #1488 (migration PR)
Test plan
🤖 Generated with Claude Code