Context
Migrating from Cloudflare Pages to Cloudflare Workers involves URL changes:
Before (Pages):
https://validators-api-mainnet.pages.dev
https://validators-api-testnet.pages.dev
https://dev.validators-api-mainnet.pages.dev
https://dev.validators-api-testnet.pages.dev
After (Workers):
- TBD based on Wrangler deployment
Migration Strategy
- Redirect Setup: Implement redirects from old Pages URLs to new Workers URLs
- Update Ecosystem: Update all references across Nimiq GitHub repos
- Deprecation: Plan eventual deletion of Pages URLs after migration period
Tasks
Phase 1: URL Mapping
Phase 2: Ecosystem Updates (PRs needed)
Search for references to validators-api-*.pages.dev in:
Phase 3: Documentation Updates
Phase 4: Monitoring & Cleanup
Search Commands
# Search across Nimiq org
gh search code --owner nimiq "validators-api-mainnet.pages.dev" --json repository,path
# Check specific repos
gh api graphql -f query='
{
search(query: "org:nimiq validators-api-mainnet.pages.dev", type: CODE, first: 100) {
edges {
node {
... on Blob {
repository { nameWithOwner }
path
}
}
}
}
}
'
Labels
Add: documentation, breaking-change, ecosystem
Context
Migrating from Cloudflare Pages to Cloudflare Workers involves URL changes:
Before (Pages):
https://validators-api-mainnet.pages.devhttps://validators-api-testnet.pages.devhttps://dev.validators-api-mainnet.pages.devhttps://dev.validators-api-testnet.pages.devAfter (Workers):
Migration Strategy
Tasks
Phase 1: URL Mapping
Phase 2: Ecosystem Updates (PRs needed)
Search for references to
validators-api-*.pages.devin:Phase 3: Documentation Updates
Phase 4: Monitoring & Cleanup
Search Commands
Labels
Add:
documentation,breaking-change,ecosystem