rename(phase 3): compose/DB/infra + stray code refs capakraken → nexus #62
Reference in New Issue
Block a user
Delete Branch "rename/nexus-infra"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
POSTGRES_DB/POSTGRES_USER,pg_isreadyhealth-checks,DATABASE_URL, volume names (nexus_pgdata,nexus_prod_pgdata,nexus_prod_redis).github/workflows/ci.yml:POSTGRES_PASSWORD, psql credentials,GRANTstatements,POSTGRES_PASSWORD=nexus_devfor Docker Deployscripts/db-target-guard.mjs,prisma-with-env.mjs,e2e/test-server.mjs→NEXUS_EXPECTED_DB_NAME;safe-destructive-env.ts,reset-dispo-import.ts,destructive-db-guard.ts/.test.tsnexus:rbac-invalidate,nexus:sse,nexus:ratelimit, logger service namenexus-postgres-1), localStorage/sessionStorage keys, email domain fixturescheck-architecture-guardrails,export/import-dev-seed,harden-postgres,start.sh,worktree-hygiene.testtooling/migrate/rename-to-nexus.sh— idempotent maintenance-window cutover script (pg_dump → restore → volume copy → bring up under new project name)Intentional survivor
packages/api/src/lib/anonymization.tsDEFAULT_ANONYMIZATION_SEEDis a functional cryptographic constant — changing it would invalidate all stored anonymization aliases.After merge
Run
tooling/migrate/rename-to-nexus.sh devin a brief maintenance window to migrate the running Docker stack (DB dump/restore, volume copy, compose project rename). OldcapakrakenDB + role are retained for rollback.Test plan
pnpm test:unit— all passing locally ✓pnpm lint— no errors ✓pnpm --filter @nexus/web exec tsc --noEmit— clean ✓./tooling/migrate/rename-to-nexus.sh dev, verify row counts match, app boots undernexuscompose project🤖 Generated with Claude Code