mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-16 07:13:29 +00:00
chore(release): v1.28.32 — Fitbit re-keyed re-imports can no longer be silently dropped
Single-fix release mirroring the Google Health natural-key rescue from v1.28.28 into the Fitbit sync. The measurements natural-key unique index (user, type, measured_at, source, sleep_stage — NULLS NOT DISTINCT, migration 0055) covers tombstoned rows, so a re-import carrying NEW externalIds for previously-removed rows collided on the natural key and skipDuplicates dropped the insert silently. Every planned create now gets a second chunked probe by natural key with no deletedAt filter; a match — live or tombstoned — is updated in place with the fresh value, the new externalId, and deletedAt: null. Probe failure notes the hard-failure ledger so the watermark holds and the next tick retries. No other code path touched.
This commit is contained in:
1 parent
14b61e1084
commit
a70139c16a
7 files changed
+285
-10
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "healthlog",
|
||||
"version": "1.28.31",
|
||||
"version": "1.28.32",
|
||||
"description": "Self-hosted personal-health-tracking PWA with Withings integration, AI insights, and doctor-report PDF export.",
|
||||
"license": "PolyForm-Noncommercial-1.0.0",
|
||||
"homepage": "https://healthlog.dev",
|
||||
|
||||
Reference in new issue
Block a user