Files
webstudio/packages/trpc-interface
Oleg Isonen 6ecd460326 fix: Release custom domains after their last project link is removed (#6676)
Removing a custom domain currently leaves Cloudflare routing active.
This change releases the hostname before detaching its last project
connection. Failed Cloudflare cleanup keeps the connection so the user
can retry.

Ref #6674
Depends on webstudio-is/webstudio-saas#679, already deployed to
production.

No database migration is required. Concurrent additions, verification,
and removals of the same hostname remain outside this fix; there is no
shared lock across requests. Existing orphaned production hostnames
require separate approved cleanup.

## Checklist

- [x] Remove the migration, schema additions, SQL tests, and operation
locking.
- [x] Preserve last-connection cleanup, retry behavior, and shared
hostnames.
- [x] Verify regression tests, typecheck, lint, and formatting.
- [x] Review documentation impact: existing removal instructions remain
accurate; no user-facing copy change.
- [x] Push the simplified change and complete CI.
- [ ] Verify with a real custom hostname.

Local verification: 35 domain tests, domain typecheck, repository lint,
formatting, and diff checks passed. Five regression cases fail against
the original implementation. All CI jobs passed, including all ten
browser shards and visual regression. No fixture inputs or outputs
changed. No development or production database migrations were run. Live
hostname verification remains pending.
2026-11-12 14:38:25 +01:00
..

trpc-interface

  • trpc-interface can implement various TRPC server routers.

  • it can act as a proxy for TRPC services implemented in any other apps (those services must have the same API interface).