Repository navigation
Update/next dev from dev - #232
Merged
Merged
Conversation
…227) * Count a fault's bolus not delivered as 0 when it is more than the bolus in progress An Omnipod 5 0x22 reset fault has reported a bolus not delivered word of $07FF, which decodes as 51.15 U. Any value larger than the bolus in progress can't be right, so take the safe side and count the bolus as delivered, up to the fault time, for every fault. This was already the effect of the guard in UnfinalizedDose.cancel; now handlePodFault says so and logs the raw value. The check is made after an unacknowledged command is recovered, so a bolus whose response was lost still has its real remainder subtracted. * Remove the handlePodFault check; UnfinalizedDose.cancel already ignores a remainder larger than the bolus
…ery (#231) * Fix prime check and pump view commands for pod setup lost comms recovery * Fix long standing log formatting error and comment style nit
* Fixed decoding & comments for some recently found O5 reset pod fault cases * Use all 16 bits when checking for an illegal 0x07ff bolus not delivered value * typo fix * Improve testResetFaultBeforeBolusEndAssumesDeliveryUntilNow() comment
itsmojo
approved these changes
Dec 1, 2026
itsmojo
left a comment
Collaborator
There was a problem hiding this comment.
The diffs in this PR and the way the minor conflicts were resolved by Claude all LGTM. Did not look at the Localizable.xcstrings file changes.
Brings in the translations from #233. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
UpdateThe translations were updated in the dev branch after this PR was first created. |
ps2
approved these changes
Dec 2, 2026
ps2
left a comment
Collaborator
There was a problem hiding this comment.
LGTM! Gave it a quick review, as Joe has also approved it.
ps2
added a commit
to LoopKit/LoopWorkspace
that referenced
this pull request
Dec 4, 2026
Bump G7SensorKit, GlookoService, CGMBLEKit, Loop and OmnipodKit - G7SensorKit: rescan after a 2 s sleep again instead of a start-delay reconnect (LoopKit/G7SensorKit#149) - GlookoService: send insulin for pumps that give no serial, such as Medtrum. Nutcasey/GlookoService#1 has merged, so the submodule points back at Nutcasey/GlookoService instead of the LoopKit fork - CGMBLEKit: call calibration state 18 a temporary sensor issue (LoopKit/CGMBLEKit#233) - Loop: presets UI fixes (LoopKit/Loop#2708) - OmnipodKit: dev into next-dev, with O5 pod fault decoding and setup recovery fixes (loopandlearn/OmnipodKit#232)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose:
Bring four
devchanges intonext-dev:Test a fault's bolus not delivered larger than the bolus in progress #227: a test, with no app change, for a fault whose "bolus not delivered" is larger than the bolus in progress.
Fix prime check and pump view commands for pod setup lost comms recovery #231: pod setup recovers after lost comms. Once the pod has moved past priming, the prime isn't resent. The pump view's commands are allowed when a pod is paired and not faulted.
Fixed decoding & comments for some O5 reset pod fault cases #229: corrected decoding and comments for some O5 reset pod fault cases.
Updated translations from lokalise on Tue Dec 1 12:20:15 PST 2026 #233: updated translations from Lokalise (merged into this branch on 2026-12-02).
Merge: there are conflicts in two files. The other eight files take
dev's changes unchanged.OmniPumpManager.swift, confirmation beeps and silence pod: the two sides are combined asmocksPod || !hasPairedNonFaultedPod || ….next-dev'smocksPodtakes the place ofdev's#if targetEnvironment(simulator)check, so the Simulator can still talk to the pod simulator.PodCommsSession.swift:isVerboseBluetoothCommsErrorstays removed, as in Don't fail commands on background disconnect; plain-English pod comms errors #147.devonly deleted twoprintlines in it.dev's fixed format specifier.Strings:
Localizable.xcstringshas all 22 ofdev's string changes and keepsnext-dev's 7 added strings. No string changed on both branches.Test fix: on
next-dev, the bolusUnfinalizedDoseinitializer takes adoseId(Adopt LoopKit's doseId in place of decisionId #216). The new test from Test a fault's bolus not delivered larger than the bolus in progress #227 now passesdoseId: nil.Nothing on
next-devis reverted.OmniTests on a next-dev LoopWorkspace (LoopKit
next-devdee365cb) with this branch: 232 run, 3 skipped, 0 failures. That includes #231'stestPrimeAfterThePodHasMovedOnSendsNoPrime. It hasn't been run on a device or against the pod simulator.Please merge with Create a merge commit, not squash, so the next dev → next-dev merge doesn't hit these conflicts again.
🤖 Generated with Claude Code