Skip to content

Fix missing Trio FPU entries - #741

Merged
bjorkert merged 1 commit into
loopandlearn:devfrom
aug0211:bugfix-invisible-fpu-entries
Aug 26, 2026
Merged

Fix missing Trio FPU entries#741
bjorkert merged 1 commit into
loopandlearn:devfrom
aug0211:bugfix-invisible-fpu-entries

Conversation

@aug0211

@aug0211 aug0211 commented Aug 16, 2026

Copy link
Copy Markdown
Contributor
  • LoopFollow was deduplicating Nightscout treatments by Trio's shared FPU ID, which hid the first scheduled entry from the graph
  • Deduplicate by event type and occurrence time as well, preserving distinct FPU entries while still collapsing true duplicates

LoopFollow was deduplicating Nightscout treatments by Trio's shared FPU ID, which hid the first scheduled entry from the graph. Deduplicate by event type and occurrence time as well, preserving distinct FPU entries while still collapsing true duplicates.

@bjorkert bjorkert left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified against Trio's uploader: FPU siblings are uploaded with the shared fpuID as id and only created_at (Trio's NightscoutTreatment has no timestamp field), with entries spaced by the minute interval (min 10), so the occurrence key always splits siblings correctly. Ran the suite plus a simulator A/B against mock Nightscout data: dev collapsed 5 siblings to one dot (carbs today 32), with this fix all 5 render (40) and true duplicates (same id, same created_at, different _id) still collapse — the #569 behavior is preserved.

@bjorkert
bjorkert merged commit 89c22ff into loopandlearn:dev Aug 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants