mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
UUID_HANDLING should ONLY affect UUID values in the _id field. Previous commit incorrectly added server-side dedup for syncIdentifier and uuid fields, which was never part of the original behavior. Changes: - upsertQueryFor(): Remove syncIdentifier/uuid as dedup keys - Batch POST: Only fetch existing IDs by identifier, not by syncIdentifier/uuid - tests: Update TEST-CACHE-003/004 to document actual behavior (duplicates occur without ObjectIdCache - this is by design) - docs: Correct treatments-schema.md (syncIdentifier/uuid preserved, not copied to identifier) - docs: Remove external link from entries-schema.md Loop carbs/doses rely on ObjectIdCache for dedup, not server-side logic. This matches the original (pre-change) server behavior. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>