Skip to content

Report a remote bolus that the pump refuses as failed - #2691

Open
bjorkert wants to merge 1 commit into
LoopKit:next-devfrom
bjorkert:remote-bolus-pump-error
Open

bjorkert wants to merge 1 commit into
LoopKit:next-devfrom
bjorkert:remote-bolus-pump-error

Conversation

@bjorkert

@bjorkert bjorkert commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

When the pump refused a remote bolus, for example because another bolus was running, the caregiver was told it was delivered. Loop now reports it as failed. Needed by the remote command guard in LoopKit/LoopWorkspace#594, and fixes the reply on its own.

enactBolus rethrows the pump's error for doses with a remote origin, including uncertain delivery, so the remote command reports the failure to its sender and sends the remote bolus failure notification.
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