Skip to content

Conversation

@adaam2
Copy link
Member

@adaam2 adaam2 commented Feb 4, 2026

Summary

  • Implement the DeleteDomain API endpoint (previously a no-op stub) with K8s ingress cleanup via Temporal workflow
  • Redesign the custom domain settings UI from a table to a single card, making it clear only one domain is supported per org
  • Add mise db:reset task for fully resetting the local database
  • Build elements before starting the dashboard dev server

Depends on #1488 (migration PR)

Test plan

  • Delete a custom domain via the settings page — domain card disappears
  • Re-register the same domain after deletion — works without conflict
  • Verify the confirmation dialog appears before deletion
  • Verify DNS record placeholders only populate after entering a valid domain

🤖 Generated with Claude Code


Open with Devin

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]>
@vercel
Copy link

vercel bot commented Feb 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
gram-docs-redirect Ready Ready Preview, Comment Feb 4, 2026 5:48pm

Request Review

@changeset-bot
Copy link

changeset-bot bot commented Feb 4, 2026

⚠️ No Changeset found

Latest commit: 37202d6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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]>
@adaam2 adaam2 force-pushed the feat/remove-custom-domain branch from d9f2ab6 to 29ce932 Compare February 4, 2026 15:21
@adaam2 adaam2 changed the base branch from main to chore/custom-domains-partial-unique-index February 4, 2026 15:21
- 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]>
@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

atlas migrate lint on server/migrations

Status Step Result
No migration files detected  
ERD and visual diff generated View Visualization
No issues found View Report
Read the full linting report on Atlas Cloud

@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

atlas migrate lint on server/clickhouse/migrations

Status Step Result
No migration files detected  
ERD and visual diff generated View Visualization
No issues found View Report
Read the full linting report on Atlas Cloud

Copy link

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

View issue and 5 additional flags in Devin Review.

Open in Devin Review

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]>
Copy link

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 new potential issue.

View issue and 10 additional flags in Devin Review.

Open in Devin Review

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]>
Base automatically changed from chore/custom-domains-partial-unique-index to main February 4, 2026 17:00
@speakeasybot
Copy link
Collaborator

speakeasybot commented Feb 4, 2026

🚀 Preview Environment (PR #1489)

Preview URL: https://pr-1489.dev.getgram.ai

Component Status Details Updated (UTC)
❌ Database Blocked Image build timed out 2026-02-04 18:03:17.
❌ Images Failed Timed out after 1178s waiting for images 2026-02-04 18:03:15.

Gram Preview Bot

@adaam2 adaam2 merged commit 81ba6bb into main Feb 4, 2026
25 checks passed
@adaam2 adaam2 deleted the feat/remove-custom-domain branch February 4, 2026 17:55
@github-actions github-actions bot locked and limited conversation to collaborators Feb 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

preview Spawn a preview environment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants