You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
omninod public testing branch: cancelled bolus appears in active insulin #932
Describe the bug
If you cancel a bolus, you should not expect to see it appear in the active insulin graph. However, it does appear both for the total amount of the bolus and the partially administered bolus (incorrect) In the event history, you will see only the partially administered bolus (correct)
If you shutdown down Loop, and restart it. You only get the partially administered bolus appearing in the active insulin graph (correct).
Just my two cents, looks like a race condition.
Attach an Issue Report
Sorry -- first time filing an issues and didn't capture the report.
To Reproduce
Administer bolus
Cancel immediately
See active insulin graph.
If it's a race condition, you will have to try this many times to reproduce it.
Expected behavior
You should only see the insulin from the partially administered bolus in the active insulin graph.
This is with the Jojo branch, but its basically the same problem.
First time it happened, it failed on the authentication of my wife's thumb print. Bolus of 1.1 was delivered, but then counted twice in the active insulin.
Second time, no authentication failure. But it counted the bolus of 4.75 twice.
Had this issue today. Jojo branch. Entered a bolus that failed (had a notification and also no clicks), gave another one and deleted the first entry, but the active insulin is still calculated as if both boluses were delivered.
Activity
naromero77 commentedon Apr 26, 2019
seems very similar to this issue:
#927
naromero77 commentedon May 11, 2019
This is with the Jojo branch, but its basically the same problem.
First time it happened, it failed on the authentication of my wife's thumb print. Bolus of 1.1 was delivered, but then counted twice in the active insulin.
Second time, no authentication failure. But it counted the bolus of 4.75 twice.

Loop Report 2019-05-11 17_38_05-05_00.md.txt
Loop Report 2019-05-11 17_09_33-05_00.md.txt
yaelirt commentedon Jul 6, 2019
Had this issue today. Jojo branch. Entered a bolus that failed (had a notification and also no clicks), gave another one and deleted the first entry, but the active insulin is still calculated as if both boluses were delivered.
github-actions commentedon Nov 9, 2023
This issue is stale because it has been open for 30 days with no activity.
github-actions commentedon Nov 23, 2023
This issue was closed because it has been inactive for 14 days since being marked as stale.
LOOP-5926 Remove IPHONEOS_DEPLOYMENT_TARGET from project (LoopKit#932)