Add Cells::Claimable to PagesDomain for domain claiming in Topology Service
What does this MR do and why?
This MR implements Step 1 of the GitLab Pages Cells work (#473017): claiming Pages custom domains and unique domains in the Topology Service so that the domain→cell mapping is available for routing.
Rollout plan
- Enable
cells_claims_pages_domainsandcells_claims_project_settings_pages_unique_domainsflags (Phase 1 — live claiming) - Enable
cells_claims_verification_worker_pages_domainandcells_claims_verification_worker_project_settingflags (Phase 2 — backfill and drift correction)
References
- Issue: #473017
- Cells claims documentation: https://docs.gitlab.com/development/cells/claims/
- Topology Service bucket/source types: gitlab-org/cells/topology-service!538 (merged)
- Extracted migration: !243452 (merged)
Screenshots or screen recordings
N/A — backend-only change.
How to set up and validate locally
- Enable the Cells GDK setup and the
cells_unique_claimsfeature flag - Enable the relevant feature flag(s):
Feature.enable(:cells_claims_pages_domains) Feature.enable(:cells_claims_project_settings_pages_unique_domains) - Create a Pages custom domain (or a unique domain via project settings) in the UI or via API
- Verify the claim was created:
gdk psql -d topology_service -c "SELECT * FROM claims WHERE bucket_type IN (17, 18);"
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Heinrich Lee Yu