Skip to content

Carry an opaque bolusReference through the pod bolus path#102

Open
bjorkert wants to merge 1 commit into
loopandlearn:devfrom
bjorkert:bolus-reference-dev
Open

Carry an opaque bolusReference through the pod bolus path#102
bjorkert wants to merge 1 commit into
loopandlearn:devfrom
bjorkert:bolus-reference-dev

Conversation

@bjorkert

@bjorkert bjorkert commented Jul 1, 2026

Copy link
Copy Markdown
Member

Threads an optional UUID bolusReference from enactBolus through StartProgram, UnfinalizedDose and PodCommsSession, and stamps it on the reported DoseEntry, so it survives an app restart while a bolus is in progress. Stored as a uuid string in the pod raw state. A default enactBolus keeps existing callers unchanged.

Pairs with the LoopKit change LoopKit/LoopKit#594. Related PRs: LoopKit/Loop#2455 and nightscout/Trio#1252 (apps), LoopKit/NightscoutKit#3 and LoopKit/NightscoutService#27 (upload).

Thread an optional UUID bolusReference from enactBolus through StartProgram,
UnfinalizedDose and PodCommsSession, and stamp it on the reported DoseEntry, so
it survives an app restart while a bolus is in progress. Stored as a uuid string
in the pod raw state. A default enactBolus keeps existing callers unchanged.
bjorkert added a commit to bjorkert/Trio that referenced this pull request Jul 1, 2026
Move to loopandlearn/OmnipodKit dev (loopandlearn/OmnipodKit#102) so Loop and Trio
build against the same OmnipodKit commit. Trio builds cleanly against it. Do not
merge before repointing this submodule back at a merged loopandlearn/OmnipodKit
commit.
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.

1 participant