Tidepool sync 2026-05-11#70
Open
loopkitdev wants to merge 43 commits into
Open
Conversation
…t-store LOOP-4735 CGM Event Store
…t-store LOOP-4735 CGM Event Store
* adding pump inoperable * fault return pumpInoperable
* adding pump inoperable * fault return pumpInoperable
…scheduled-presets LOOP-5235 Enable scheduled presets
…scheduled-presets LOOP-5235 Enable scheduled presets
…in async context, mutateState
Pass lastPumpDataReportDate as a parameter instead of accessing state inside isSignalLost(), which caused recursive lock acquisition and an EXC_BREAKPOINT crash when called from within a withLock closure.
Resolved source + pbxproj conflicts. Source resolutions: - OmnipodPumpManager.swift: kept DIY for 3 regions (reentrant lock fix in isSignalLost from commit 924f10d); took Tidepool for 3 regions (setState -> mutateState Swift 6 API migration). pbxproj: only conflicts were preserving LOCALIZATION_PREFERS_STRING_CATALOGS in Debug/Release configs (rule 5). No source-file refs in conflict.
The 2026-05-11 tidepool sync conflict resolution incorrectly took Tidepool's mutateState for 3 hunks in this file. OmnipodPumpManager defines only setState (line 142), so the 3 calls fail to compile. Reverted the 3 calls to setState; behavior matches the surrounding 49 setState call sites.
This was referenced May 20, 2026
Closed
Emit a NewPumpEvent (.alarm) when a pod fault is first detected so the fault is persisted to the pump event store and uploaded to remote services (e.g. Nightscout), mirroring the existing Pod Change event.
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.
Refreshed Tidepool → DIY sync from the
tidepool-sync/2026-05-11branch.This supersedes and replaces the previous Tidepool Merge PR (#42), which is being closed in favor of this one.