You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Person identity storage: migrate portable profile state off canonical WorkOS user #6488
Split from #3590. Depends on the ownership/provenance contract in #6487.
Problem
The durable identity and plural WorkOS credential binding are live, but community profile fields still live on users, keyed by the canonical workos_user_id. Auth currently masks that coupling with a primary-user ID swap.
Changing a primary credential therefore still means moving person-owned application rows, and an incorrect link/split has no clean profile-ownership contract.
Preserve credential-specific WorkOS names and emails as sourced credential facts; add an identity-owned preferred display value only where the model calls for one.
Backfill existing profiles from the current canonical user without overwriting conflicting non-empty values silently.
Add bounded dual-read/dual-write behavior and observability during rollout.
Move profile APIs, directory rendering, and account settings to the identity-owned read model.
Define safe fallback/rollback behavior while both representations exist.
Explicitly not included
Community points, badges, and journey status (separate child issue)
Organization memberships, roles, seats, or entitlements
Certifications, billing, conversations, or audit-event provenance
Employment affiliations
Acceptance criteria
Signing in through any linked credential reads and writes one identity-owned profile.
Promoting the primary credential requires no profile-row movement.
Organization-scoped fields are not copied into the global profile.
Backfill reports conflicts and preserves the pre-migration source value for audit/rollback.
changed the title [-]Identity storage: replace singular relationship identity columns with junction tables[/-][+]Person identity storage: migrate portable profile state off canonical WorkOS user[/+]on Aug 24, 2026
Activity
[-]Identity storage: replace singular relationship identity columns with junction tables[/-][+]Person identity storage: migrate portable profile state off canonical WorkOS user[/+]bokelley commentedon Sep 21, 2026
Maintainer triage — 2026-09-21
Classification: Data migration
Status: Blocked on ownership/provenance decision
Decision: Retain the person-identity storage migration but do not move data before lifecycle and ownership semantics are settled.
Next gate: Resolve #6487, then produce a reversible migration plan with collision and rollback tests.