Skip to content

feat: cascade custom domain soft-deletes to mcp endpoints#2810

Merged
bflad merged 1 commit into
mainfrom
bflad-age-2228-cascade-custom-domain-soft-deletes-to-mcp_endpoints-5Cye
May 21, 2026
Merged

feat: cascade custom domain soft-deletes to mcp endpoints#2810
bflad merged 1 commit into
mainfrom
bflad-age-2228-cascade-custom-domain-soft-deletes-to-mcp_endpoints-5Cye

Conversation

@bflad
Copy link
Copy Markdown
Member

@bflad bflad commented May 13, 2026

https://linear.app/speakeasy/issue/AGE-2228/cascade-custom-domain-soft-deletes-to-mcp-endpoints

  • DeleteDomain soft-deletes child mcp_endpoints across every project under the org-scoped custom domain and emits one mcp-endpoint:delete audit event per row inside the existing transaction, mirroring the existing mcp_servers cascade.
  • Adds /rpc/domain.listMcpEndpoints (org:admin) returning endpoints joined with parent project and mcp_server for the dashboard delete-confirmation modal. /rpc/mcpEndpoints.list is project-scoped (mcp:read) and so can't preview a fan-out across other projects; the new endpoint lives on the domains service instead.

@bflad bflad requested review from a team as code owners May 13, 2026 21:33
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 13, 2026

AGE-2228

Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

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

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 13, 2026

🦋 Changeset detected

Latest commit: ae00f2d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
server Minor
dashboard Patch

Not sure what this means? Click here to learn what changesets are.

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

@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 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 May 21, 2026 7:22pm

Request Review

@github-actions github-actions Bot added the preview Spawn a preview environment label May 13, 2026
@speakeasybot
Copy link
Copy Markdown
Collaborator

speakeasybot commented May 13, 2026

🚀 Preview Environment (PR #2810)

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

Component Status Details Updated (UTC)
✅ Database Ready Existing database reused 2026-05-21 19:30:18.
✅ Images Available Container images ready 2026-05-21 19:30:00.

Gram Preview Bot

@blacksmith-sh

This comment has been minimized.

@blacksmith-sh
Copy link
Copy Markdown
Contributor

blacksmith-sh Bot commented May 13, 2026

Found 1 test failure on Blacksmith runners:

Failure

Test View Logs
github.com/speakeasy-api/gram/server/internal/customdomains/TestMain View Logs

Fix in Cursor

@bflad
Copy link
Copy Markdown
Member Author

bflad commented May 21, 2026

rebasing and merging, thanks for the review @qstearns

@bflad bflad force-pushed the bflad-age-2228-cascade-custom-domain-soft-deletes-to-mcp_endpoints-5Cye branch from 6ff61b0 to 619c488 Compare May 21, 2026 18:17
@bflad bflad enabled auto-merge May 21, 2026 18:17
@bflad bflad force-pushed the bflad-age-2228-cascade-custom-domain-soft-deletes-to-mcp_endpoints-5Cye branch from 619c488 to 6064816 Compare May 21, 2026 18:46
@bflad bflad force-pushed the bflad-age-2228-cascade-custom-domain-soft-deletes-to-mcp_endpoints-5Cye branch from 6064816 to 526adb1 Compare May 21, 2026 19:07
https://linear.app/speakeasy/issue/AGE-2228/cascade-custom-domain-soft-deletes-to-mcp-endpoints

- DeleteDomain soft-deletes child mcp_endpoints across every project under the org-scoped custom domain and emits one mcp-endpoint:delete audit event per row inside the existing transaction, mirroring the existing mcp_servers cascade.
- Adds /rpc/domain.listMcpEndpoints (org:admin) returning endpoints joined with parent project and mcp_server for the dashboard delete-confirmation modal. /rpc/mcpEndpoints.list is project-scoped (mcp:read) and so can't preview a fan-out across other projects; the new endpoint lives on the domains service instead.
@bflad bflad force-pushed the bflad-age-2228-cascade-custom-domain-soft-deletes-to-mcp_endpoints-5Cye branch from 526adb1 to ae00f2d Compare May 21, 2026 19:22
@bflad bflad added this pull request to the merge queue May 21, 2026
Merged via the queue into main with commit 3db9f30 May 21, 2026
31 checks passed
@bflad bflad deleted the bflad-age-2228-cascade-custom-domain-soft-deletes-to-mcp_endpoints-5Cye branch May 21, 2026 19:33
@github-actions github-actions Bot locked and limited conversation to collaborators May 21, 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