Session resilience and the death of auto-detect

commit

2026-02-23 · schuss

Big day on the iOS app, mostly about not losing data when iOS kills us mid-run. SessionDataRecorder now flushes to disk every 60s and recovers partial files on relaunch, and the app reconstitutes the full tracking pipeline if it wakes up to find a session still marked active. There is a dead-man's-switch local notification on a 90s rolling timer that fires if heartbeats stop, which is exactly the kind of feature you build after staring at a gap in your own GPS track. Also pulled the plug on auto-session-detection behind a FeatureFlag, fixed the JWT strategy choking on refreshed tokens with no email claim, stopped storing our own userId as a party member, and rewrote LocalSessionStore stats so a zero-run session no longer reports the entire day's vertical.

4 commits across 1 repo (schuss: 4). 22 files changed. Diff was truncated for summarization.

Related