mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
420 000 heart-rate readings, one every five minutes over about four years, written through the real Google Health backfill with Google's API faked at the safeFetch seam. The account's DAY rollups lose their reading extremes, as rows folded before 0417 have them; the boot discovery finds it, and the windowed full backfill refills every bucket in the fold window with the raw readings' own extremes. The dense fold then thins everything older than 90 days to hourly Google Health rows (420 000 rows to about 59 000) while the DAY tier keeps its figures, and a second full-history backfill over the same samples inserts nothing. Without the ingest guard it re-inserts about 394 000 of them. Each step reports its duration on stderr. On a developer machine: backfill about 85 s, discovery 0.2 s, full backfill 4 s, fold 40 s, second backfill 4 s.