mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-12-01 21:05:42 +09:00
6ecd460326d3abb9b209156536fb94b1175e064b
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.
Learning Resources
Social Media
License
- Webstudio core (all functionality in this repository) is free/open-source under AGPL-3.0-or-later.
- sdk-components-animation package (optional) is proprietary. You must accept the Webstudio, Inc. EULA located in sdk-components-animation/LICENSE before using it.
Languages
TypeScript
97.9%
PLpgSQL
1.5%
CSS
0.3%
Shell
0.2%
JavaScript
0.1%