Files
swiftcontrol/test/services/workout
Jonas Bark c490cfa13c feat(health): auto ride detection and Apple Health workout payload
WorkoutRecorder now reports pause intervals, the ride's end time and
whether each heart-rate sample came from Apple Health; pauses can be
backdated and the metrics source swapped after a trainer reconnect.

AutoRideController starts, pauses, resumes and ends rides from the
trainer's cadence/power (10 s pause, 5 min idle stop, 2 min disconnect
stop), or only watches for a ride to cue the Health prompt.
HealthWorkoutPayload turns a ride into batched HealthKit series
(distance integrated from speed, energy from power, no HR read from
Health, sync id, <5 min skipped). HealthRideService ties it to the
per-app default, the explicit choice and the channel.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-16 23:05:27 +02:00
..