Skip to content

feat(schedule): add SQLite schedule storage - #193

Merged
Wintercom merged 4 commits into
1024XEngineer:mainfrom
znnnnnnn-wil:feat/schedule-sqlite-storage
Aug 11, 2026
Merged

feat(schedule): add SQLite schedule storage#193
Wintercom merged 4 commits into
1024XEngineer:mainfrom
znnnnnnn-wil:feat/schedule-sqlite-storage

Conversation

@znnnnnnn-wil

@znnnnnnn-wil znnnnnnn-wil commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Related issue: feat(schedule): 实现日程聚合、PostgreSQL/SQLite 与日历读取闭环 #176
  • add Expo SQLite configuration plus versioned local schedule and occurrence-override tables
  • separate cloud-owned schedule writes from device-owned reminder runtime updates
  • preserve snooze, geofence, next-trigger, disposition, and sync state when applying cloud snapshots
  • make local physical cleanup explicit through purgeSchedule while retaining cloud status=deleted rows
  • add executable SQLite repository integration tests

Verification

  • npm run lint
  • prettier --check --end-of-line auto .
  • npm run typecheck
  • npm run test (6 SQLite behavior tests passed)
  • Expo Android export

Scope

This PR contains only client SQLite persistence boundaries. Snapshot orchestration, stale-revision decisions, WebSocket synchronization, AlarmManager/geofence behavior, RRULE expansion, and the complete sync engine remain out of scope.

Replaces the SQLite portion of #191.

@vercel

vercel Bot commented Aug 11, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
timeflow Ready Ready Preview Aug 11, 2026 8:13am

@fennoai fennoai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found in the changed code. Reviewed the pinned a7d7a7b...058186d diff across code quality, performance, security, and documentation accuracy. Verified npm run check and executed the SQLite schema with integrity and foreign-key checks.

View job run

@Wintercom Wintercom left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@Wintercom
Wintercom merged commit fff501c into 1024XEngineer:main Aug 11, 2026
5 checks passed
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.

2 participants