Repository navigation
feat(workout): support skipping final repeat rest - #452
MartinDejmal wants to merge 1 commit into
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review. WalkthroughThe repeat-group model and factory now support an optional setting to skip the final recovery or rest step. A test verifies that ChangesRepeat group option
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~5 minutes Change: Feature Suggested reviewers: Merge Risk: ⚪ Minimal · up to Existing callers continue to omit the new field by default, and callers opting in serialize the enabled setting. No concrete merge-blocking issue is established. Security Architecture ReviewSecurity architecture risk: ⚪ Minimal · up to The change adds an opt-in workout setting while preserving existing payloads by default. It uses the existing upload path without expanding access or privileges. No material security risk was identified; remote execution of the setting was not verified. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Tested the same field live on a strength workout, in case it helps review. I'm on 0.3.17, so I didn't run this branch. I set What I did (11 Oct 2026, fenix 9 Pro):
Not verified: whether the watch actually skips that final rest during the workout. I only checked that Garmin accepts, stores and returns the flag. |
Adds
skip_last_rest_steptocreate_repeat_groupand serializes it as Garmin’sskipLastRestStepfield.The field remains absent by default, preserving existing workout payloads. Includes a serialization test for the enabled flag.
Summary by CodeRabbit