Commit b752d60
chore(people): wire one-shot prod merge of duplicate Person records (#1275)
Add the reviewed dedup_decisions.csv (13 merges + 2 jasminezhang keeps; ids
only) and a PROD-gated one-shot in docker-entrypoint.sh that runs
merge_duplicate_people --apply before recompute_url_names. Gated to
DJANGO_ENV=PROD (the decisions file is keyed by production ids) with the
command's name-mismatch guard as a backstop. Validated end-to-end against a
copy of the prod dump: 589->576 people, url_name collisions 10->0, duplicate
clusters reduced to the two intended namesakes.
Remove this one-shot in a follow-up once the first prod deploy confirms the
merge in /logs (the command is idempotent, so a lingering run is a no-op).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 6d81b57 commit b752d60
2 files changed
Lines changed: 28 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
120 | 131 | | |
121 | 132 | | |
122 | 133 | | |
| |||
0 commit comments