From Dev.to
Import once, rebuild everything: why a nightly Apple Health rebuild loses your deltas
The nightly rebuild is the pipeline almost everyone writes first. Drop the export, recompute every day from scratch, write it out. It is idempotent, it is easy to reason about, and it quietly throws a...
