Repository navigation
Feat/core offline hardening - #41
Merged
Merged
Conversation
Contributor
|
LGTM |
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.
Summary
This PR delivers core offline hardening across storage, scheduler, voice AI, and cloud synchronization layers. It addresses concurrency locks, connection leakages, watchdog timeouts, and cloud pull foreign-key constraints, while expanding the automated test suite to 805 passing tests.
Key Changes
1. Local Storage & SQLite Resilience (
src/storage/)2. Scheduler & Proactive Reminders (
src/scheduler/)3. Offline AI Pipeline & Watchdogs (
src/ai/)4. Cloud Sync & Data Integrity (
src/sync/)'cloud'user ID, triggering foreign key constraint failures. Now binds the authenticated active user token to incoming upserts.5. Android Build & Runtime
-Xmx4096m) and disabled legacy Jetifier to ensure clean AAR compilation on modern React Native 0.86.assembleDebug&installDebug).Verification & Test Suite
All three mandatory checks pass with zero errors:
npx tsc --noEmit): Clean (0 errors)npm test): 97 passed suites, 805 / 805 passed tests (460 new tests added)npx eslint src/): Clean (0 errors)