Repository navigation
Conversation
A Live Activity only redraws when an update reaches it, so with no network or a stopped app it cannot show that its data is old. staleDate is now 12 minutes after the reading and is sent in update pushes, so iOS can flag the activity without the app. Renewal relies only on laRenewBy and laRenewalFailed, so stale data no longer replaces the activity when the app opens; an activity with no stored deadline is still replaced, since it could never renew. The small family, shown on CarPlay and in the Watch Smart Stack: - A stale reading is struck out in red, with the BG and arrow grey. - A status line, on by default, shows the update time, IOB and COB (or Not Looping in their place) and any active override with its insulin needs, range and time left. While it is on, IOB, COB and Override are not offered for the right slot; a stored choice of one of them comes back when the line is turned off. Turning it off also restores the original font sizes. - A Tight CarPlay Layout switch, off by default, replaces the right slot with projected BG, IOB, COB and basal, and centres the bottom row. No API tells CarPlay from the Watch, so it also needs a width of at least 205 points: the 240-wide CarPlay layouts, not the 170-wide one. Both switches explain themselves in an info button.
MtlPhil
requested review from
bjorkert,
codebymini and
marionbarker
as code owners
November 10, 2026 13:13
MtlPhil
marked this pull request as draft
November 10, 2026 13:16
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.
A Live Activity only redraws when an update reaches it, so with no network or a stopped app it can't show that its data is old. On CarPlay that means a reading can sit there looking current long after it has stopped updating.
Staleness
staleDateis now 12 minutes after the reading and is sent in update pushes, so iOS can flag the activity without the app.laRenewByandlaRenewalFailed, so stale data no longer replaces the activity when the app opens. An activity with no stored deadline is still replaced, since it could never renew.Small family (CarPlay and the Watch Smart Stack)
Tests cover the stale date, renewal, override details and the small-widget layout.
A follow-up PR adds a CarPlay widget on top of this one.