Skip to content

Tidepool sync 2026-05-11#70

Open
loopkitdev wants to merge 43 commits into
LoopKit:mainfrom
loopkitdev:tidepool-sync/2026-05-11
Open

Tidepool sync 2026-05-11#70
loopkitdev wants to merge 43 commits into
LoopKit:mainfrom
loopkitdev:tidepool-sync/2026-05-11

Conversation

@loopkitdev
Copy link
Copy Markdown

Refreshed Tidepool → DIY sync from the tidepool-sync/2026-05-11 branch.

This supersedes and replaces the previous Tidepool Merge PR (#42), which is being closed in favor of this one.

nhamming and others added 30 commits September 25, 2023 15:53
* adding pump inoperable

* fault return pumpInoperable
* adding pump inoperable

* fault return pumpInoperable
ps2 and others added 12 commits July 29, 2025 09:14
…scheduled-presets

LOOP-5235 Enable scheduled presets
…scheduled-presets

LOOP-5235 Enable scheduled presets
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.
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.
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.

4 participants