Repository navigation
huami fetch start: bad date isn't ok, so a 1970 round never stamps samples - #106
Conversation
Reviewer's GuideAPIReject fetch-start replies with implausible or normalized dates so they cannot be accepted as usable rounds.
TestsVerify invalid fetch-start dates produce the 1970 placeholder and are not considered valid or data-bearing rounds.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
a fetch-start reply with a zeroed/garbage date gave roundStart 1970 with ok+hasData still true, so the whole round got stamped at epoch 0. ok is now false in that case and the edge caller already bails on !ok.
Summary by Sourcery
Prevent invalid Huami fetch-start dates from being accepted as usable rounds.
Bug Fixes:
Tests:
Summary by CodeRabbit