Running the map against Tinker's 140 hwmonDaemon tickets showed open ticket
357934698 (pbs ZFS DEGRADED) losing its key to a newer closed ticket for the
same pool, which would have made the next report open a duplicate. Reports
land on the open ticket today, so not-Closed now wins, then newest.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Part 4 of #42. Each report now carries a dedup_key (tinker_tickets#123), so
Tinker stops guessing "the same problem" from the title. Keys come from one
function, SystemHealthMonitor.dedup_key_for, which reads both raw issue
strings and the summary part of old ticket titles, so the backfill gives
existing tickets exactly the key the daemon sends.
- Ceph health warnings use the real health-check code (cluster:ceph:<CODE>),
the key Thor uses, so Thor can adopt those tickets later. The daemon reads
the code from `ceph health`; a message->code table covers old titles.
- Unrecognised issues are sent without a key and keep the title hash.
- scripts/dedup_key_map.py reads hwmonDaemon's tickets from Tinker (read
only), keys the newest ticket per key, and writes the map for Tinker's
scripts/backfill_dedup_keys.php. It reports anything it couldn't map.
- README: key table and the merge -> map -> backfill runbook.
Co-Authored-By: Claude Opus 5.5 <[email protected]>