Line data Source code
1 4 : (ns matchscore.jobs.user-names
2 : (:require
3 : [matchscore.domain.user.command :as user-command]
4 : [taoensso.telemere :as t]))
5 :
6 :
7 4 : (defn backfill-latin-names-job
8 : "One-time backfill (ran in prod 2026-10-31); no longer enqueued on startup. Kept so queued\n retries still resolve; safe to run again: users it converted are Latin afterwards."
9 : [system-components & _args]
10 0 : (let [updated (user-command/backfill-latin-names! system-components)]
11 0 : (t/log! :info (str "Latin name backfill: updated " updated " users"))
12 0 : {:status :success
13 0 : :updated updated}))
|