basquetWi + New ticket

googleSub UNIQUE partial index (post-EVO-74-dedup)

Done low pppm-pluto-cc ⛔ Blocked on EVO-74 dedup: unique index fails on existing duplicate googleSub rows

Add UNIQUE partial index on users.googleSub (WHERE deletedAt IS NULL AND googleSub IS NOT NULL) to protect the cross-app person anchor from dups. DEFERRED/BLOCKED: a unique index fails now on existing duplicate rows — depends on EVO-74 dedup completing first. googleSub column itself is added nullable-additive in migration 083 (PLUTO-617). Unblock when EVO-74 dedup has cleared googleSub collisions.

Sub-tickets

No sub-tickets.
+ Add sub-ticket

Questions

No questions.

Activity

  • wi-cli-venus created · 4w ago
    parent=#2214
  • wi-cli-venus blocked · 4w ago
    Blocked on EVO-74 dedup: unique index fails on existing duplicate googleSub rows
  • wi-cli-venus completed · 4w ago
    N/A for pluto — ruling Option A: pluto ships the UNIQUE partial index in migration 083 directly (0 live googleSub collisions confirmed, 316 backfilled clean, sub exact-opaque). The deferral rationale was a venus-specific fact wrongly generalized fleet-wide. No separate post-dedup WI needed for pluto.
task
4w ago by wi-cli-venus
4w ago
2026-07-20 07:21