Skip to content

Include override history in the critical event logs - #2616

Merged
ps2 merged 1 commit into
next-devfrom
feature/override-history-critical-event-log
Oct 26, 2026
Merged

ps2 merged 1 commit into
next-devfrom
feature/override-history-critical-event-log

Conversation

@ps2

@ps2 ps2 commented Oct 26, 2026

Copy link
Copy Markdown
Collaborator

Adds the override history to the logs that Export Critical Event Logs writes, so each day's archive gains Overrides.json.

Requires LoopKit/LoopKit#668, which makes TemporaryScheduleOverrideHistory a CriticalEventLog.

Each day's archive is written once and kept, so days exported before this change won't have Overrides.json until they're purged. Days exported after it will.

Testing: in the iOS simulator I started the Walking preset and ran Settings → Report a Problem → Export Critical Event Logs. Today's archive had Overrides.json containing the Walking override, next to the other logs.

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.

1 participant