Skip to content

chore: add alias from aviator-dao.eth to airfox-dao.eth [DO NOT MERGE until migration is run] - #2251

Open
tony8713 wants to merge 1 commit into
masterfrom
chore/alias-aviator-dao-to-airfox-dao
Open

chore: add alias from aviator-dao.eth to airfox-dao.eth [DO NOT MERGE until migration is run]#2251
tony8713 wants to merge 1 commit into
masterfrom
chore/alias-aviator-dao-to-airfox-dao

Conversation

@tony8713

@tony8713 tony8713 commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

⛔ DO NOT MERGE until the migration queries have run

This is step 2 of the space migration runbook for aviator-dao.ethairfox-dao.eth. The runbook is explicit that this entry is added first but merged only once the migration is complete:

Add an entry to apps/ui/src/helpers/aliases.json with "oldspace.eth": "newspace.eth" and create a new PR and make sure to merge it once the migration is complete
(Support workflow → Space migration)

Merging early would send every /aviator-dao.eth/* URL to /s:airfox-dao.eth/* while the old space still holds all 38 proposals, its votes and its 91 followers. Anyone following an existing link would land on a near-empty space. The redirect must only go live after the UPDATE ... SET space = 'airfox-dao.eth' statements have moved the data.

Please leave this open until whoever runs the migration confirms the queries are done.

What this does

Adds one entry to the router alias map:

"aviator-dao.eth": "airfox-dao.eth"

Appended at the end of the file, matching the existing insertion-order convention (the file is not alphabetised; each migration appends). 82 entries before, 83 after.

Consumed by apps/ui/src/routes/index.ts:56:

spaceName = aliases[spaceName] || spaceName;

Key is the old slug as it appears in the URL, value is the redirect target, so the direction here is old → new. airfox-dao.eth is not itself a key in the map, so there is no alias chain.

Context

Both spaces are named Airfox DAO. aviator-dao.eth is the original (created 2023-07-15, 38 proposals, 91 followers, verified). airfox-dao.eth is the new ENS (created 2026-07-15, verified) and shares an admin with the old space (0x1cFd452EB369a7B9475B07D1457dd1d0500fD788).

Migration runbook: Support workflow → Space migration

Checks run locally

Gate Result
turbo run build --filter=ui 7 successful, 7 total
turbo run typecheck --filter=ui 7 successful, 7 total
turbo run lint --filter=ui 1 successful, 1 total
turbo run test --filter=ui 23 files, 206 passed / 1 skipped
prettier --check on the changed file All matched files use Prettier code style

Also confirmed the entry is compiled into the production bundle (dist/assets/index-*.js contains aviator-dao.eth":"airfox-dao.eth").

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@tony8713
tony8713 requested a review from ChaituVR August 3, 2026 11:22

@ChaituVR ChaituVR left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utAck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants