Skip to content

docs: simplify migration to deactivated account pattern#32

Merged
ascorbic merged 1 commit into
mainfrom
docs/deactivated-account-pattern
Dec 30, 2025
Merged

docs: simplify migration to deactivated account pattern#32
ascorbic merged 1 commit into
mainfrom
docs/deactivated-account-pattern

Conversation

@ascorbic
Copy link
Copy Markdown
Owner

Summary

  • Replace the complex migration wizard with a simpler deploy-first approach
  • Accounts start deactivated when deployed with a DID, activated after import
  • Remove createAccount from planned endpoints (setup happens at deploy time)
  • Clarify which endpoints are actually needed for migration

Key design decisions

Deactivated account pattern:

  • Deploy PDS with DID in env vars → starts deactivated
  • Import repo/blobs via existing endpoints
  • Call activateAccount to go live

What's not needed:

  • createAccount - account exists by virtue of deployment
  • PLC operation endpoints - handled by old PDS during migration
  • Complex staging/production split

Test plan

  • Documentation changes only

🤖 Generated with Claude Code

Replace the complex migration wizard with a simpler deploy-first approach:

- Accounts start deactivated when deployed with a DID
- Data imported via existing importRepo/uploadBlob endpoints
- activateAccount transitions to active state
- No createAccount needed - setup happens at deploy time

Key changes:
- migration-wizard.md: Rewritten around deactivated account concept
- endpoint-implementation.md: Updated priorities, removed unneeded endpoints

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
atproto-pds 2fb5e3c Dec 30 2025, 11:16 PM

@ascorbic ascorbic merged commit 30fff6a into main Dec 30, 2025
3 checks passed
@ascorbic ascorbic deleted the docs/deactivated-account-pattern branch December 30, 2025 23:35
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.

1 participant