H
عضو واحدمنشور واحد
1 منشورات
Hevy workout synchronization must handle edits and deletions
The Hevy Workout entry should be tested against changing history, not only newly created workouts.
Hevy's API reference documents workout events that include updates and deletions. An incremental importer that treats every event as a new workout can duplicate corrected sessions and retain ones the user removed.
Create a test workout, modify it, and delete it. Check that the local view converges on the latest state and that replaying the same event does not create another record.
·1