Skip to content

Thread bolusReference through bolus delivery#101

Closed
bjorkert wants to merge 2 commits into
loopandlearn:mainfrom
bjorkert:feature/bolus-reference
Closed

Thread bolusReference through bolus delivery#101
bjorkert wants to merge 2 commits into
loopandlearn:mainfrom
bjorkert:feature/bolus-reference

Conversation

@bjorkert

@bjorkert bjorkert commented Jul 1, 2026

Copy link
Copy Markdown
Member

Carries the bolusReference from enactBolus through UnfinalizedDose and PendingCommand 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.

Part of the bolus origin work: LoopKit/LoopKit#594 and nightscout/Trio#1252.

bjorkert added 2 commits July 1, 2026 11:48
Persist and echo the caller-supplied bolus reference via UnfinalizedDose and
PendingCommand, so it survives an app restart while delivery is in progress and
is stamped on the reported DoseEntry for both certain and uncertain delivery.
Match the LoopKit change: thread UUID instead of String, serialized as
uuidString in the rawValue round-trips.
@bjorkert

bjorkert commented Jul 1, 2026

Copy link
Copy Markdown
Member Author

Superseded by the dev-targeted PR above — same change rebased onto dev so Loop and Trio can share one OmnipodKit commit.

@bjorkert bjorkert closed this Jul 1, 2026
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