Skip to content

Keep sleep totals stable, rename Xcode project to Motion - #9

Merged
allenlinsh merged 4 commits into
mainfrom
fix/stable-sleep-loading
Oct 18, 2026
Merged

allenlinsh merged 4 commits into
mainfrom
fix/stable-sleep-loading

Conversation

@allenlinsh

@allenlinsh allenlinsh commented Oct 18, 2026 •

Copy link
Copy Markdown
Member

Opening Sleep briefly showed the cached main sleep total before Apple Health naps finished loading. Keep the completed combined page visible during refresh, publish a replacement only after both sources settle, and show loading on the first read or a different date. Failed Health refreshes retain the last complete result; successful empty reads still clear cached data.

Rename the Xcode project, scheme, targets, source folders and core package to Motion, and prepare build 14. Preserve the existing bundle ID, SwiftData model namespace/schema, local store paths, Keychain services, auth callback and HealthKit sync identifiers so installed copies retain their data and sign-in. Apple Developer already lists this App ID as motion.

Validation: full CI passed: simulator/device builds, 54 core tests, 119 protocol tests, 102 iOS unit tests and 14 UI tests. The loading regression waits for both sources, keeps the complete eight-hour total during refresh, and prevents a previous date's total appearing during a new date load. Its captured screens were visually inspected. Persistence, authentication, workout, Health access and strap scenarios also pass. The final commit only updates repository-path documentation; app and workflow sources match the tested commit.

@vercel

vercel Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
motion Ready Ready Preview Oct 18, 2026 2:29am UTC

Request Review

@allenlinsh
allenlinsh merged commit 0da3f78 into main Oct 18, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — f48eddb4 Deployed Oct 18, 2026 by vercel[bot]
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