mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-12-01 21:05:42 +09:00
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.
Webstudio Project
Project related functionalities. This was temporarily placed here to reuse between other packages, but we need to split this into separate packages and probably remove this package entirely or keep it only for "project" specific functionality.