Skip to content

Omnipod 5 support - #5433

Open
MilosKozak wants to merge 126 commits into
devfrom
o5
Open

MilosKozak wants to merge 126 commits into
devfrom
o5

Conversation

@MilosKozak

Copy link
Copy Markdown
Contributor

No description provided.

premnirmal and others added 30 commits August 26, 2026 18:05
… 5 driver, extracted alongside the existing eros/dash modules)
…o-branch

# Conflicts:
#	app/src/withPumps/kotlin/app/aaps/di/PumpDriversModule.kt
#	implementation/src/main/kotlin/app/aaps/implementation/utils/TranslatorImpl.kt
#	pump/omnipod/common/src/main/kotlin/app/aaps/pump/omnipod/common/bledriver/comm/legacy/session/ServiceDiscoverer.kt
#	settings.gradle

Co-authored-by: premnirmal <1255689+premnirmal@users.noreply.github.com>
Co-authored-by: premnirmal <1255689+premnirmal@users.noreply.github.com>
Co-authored-by: premnirmal <1255689+premnirmal@users.noreply.github.com>
Co-authored-by: premnirmal <1255689+premnirmal@users.noreply.github.com>
Co-authored-by: premnirmal <1255689+premnirmal@users.noreply.github.com>
Restore Metro bindings and current project APIs for the Omnipod 5 pump module. Add pump bucket coverage and defer Android Keystore access until credentials are used.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: premnirmal <1255689+premnirmal@users.noreply.github.com>
… expectation regression test

Co-authored-by: premnirmal <1255689+premnirmal@users.noreply.github.com>
Co-authored-by: premnirmal <1255689+premnirmal@users.noreply.github.com>
Co-authored-by: premnirmal <1255689+premnirmal@users.noreply.github.com>
Co-authored-by: premnirmal <1255689+premnirmal@users.noreply.github.com>
Co-authored-by: premnirmal <1255689+premnirmal@users.noreply.github.com>
Co-authored-by: premnirmal <1255689+premnirmal@users.noreply.github.com>
premnirmal and others added 12 commits October 24, 2026 09:32
…cluding when a command fails. One shared error handler records faults and returns clear error messages
Fix BasalProgram losing saved segments after a Gson field rename (regression)
Move PDM reference code display rules into pump code
Omnipod 5 overview: use ScreenAction instead of the removed PumpAction
and ActionCategory, the same change dev made for Dash (#5339).
Careportal now saves the pod alarm description and reference code
Fix missing Omnipod Dash fault alarms (regression)
…al(), matching Dash’s rounding notification and effective-profile handling. O5’s history database now participates in the app’s Reset databases action, matching Dash. (#5428)
@MilosKozak MilosKozak added the 4.1 Planned for the 4.1 cycle, after the 4.0 release label Oct 29, 2026
@codecov

codecov Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 60.91349% with 1857 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.40%. Comparing base (9c7e775) to head (8f180bb).

Files with missing lines Patch % Lines
...lin/app/aaps/pump/omnipod/omnipod5/O5PumpPlugin.kt 77.48% 140 Missing and 105 partials ⚠️
...pod5/ui/wizard/compose/O5OmnipodWizardViewModel.kt 27.31% 171 Missing and 2 partials ⚠️
...omnipod/omnipod5/ui/compose/O5OverviewViewModel.kt 61.37% 71 Missing and 36 partials ⚠️
...pump/omnipod/omnipod5/ui/O5CredentialListScreen.kt 0.00% 86 Missing ⚠️
...mnipod/omnipod5/bledriver/comm/O5BleManagerImpl.kt 27.19% 75 Missing and 8 partials ⚠️
...p/omnipod/omnipod5/bledriver/pod/util/LotDecode.kt 0.00% 66 Missing ⚠️
...pod/omnipod5/ui/compose/OmnipodO5ComposeContent.kt 0.00% 65 Missing ⚠️
...driver/pod/security/SecureO5RegistrationStorage.kt 11.11% 55 Missing and 1 partial ⚠️
...ipod5/bledriver/pod/util/PodTypeAwarePodScanner.kt 0.00% 55 Missing ⚠️
...p/omnipod/omnipod5/ui/O5CredentialWebViewScreen.kt 14.28% 54 Missing ⚠️
... and 55 more
Additional details and impacted files
@@             Coverage Diff              @@
##                dev    #5433      +/-   ##
============================================
+ Coverage     55.47%   63.40%   +7.93%     
- Complexity    22906    26875    +3969     
============================================
  Files          3670     3726      +56     
  Lines        201624   206198    +4574     
  Branches      25917    26576     +659     
============================================
+ Hits         111846   130748   +18902     
+ Misses        81432    65291   -16141     
- Partials       8346    10159    +1813     
Flag Coverage Δ
instrumented 32.69% <4.42%> (?)
unit 55.91% <59.71%> (+0.43%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

MilosKozak and others added 16 commits October 29, 2026 15:34
Fix memory leak with web message listener keeping the webview and activity reference
Keep the reported zero temp basal until delivery resumes. Track expected basal with its own timestamp so suspend updates do not change the pump status time. Cover suspend, resume and saved-state behavior with tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
TZ/DST Transition Handling for Omnipod DASH and Omnipod 5

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.1 Planned for the 4.1 cycle, after the 4.0 release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants