Skip to content

feat: Cloudflare sync phase 2 (v17.0) - #74

Merged
PaperPit merged 2 commits into
mainfrom
feat/cf-sync-phase2
Aug 28, 2026
Merged

feat: Cloudflare sync phase 2 (v17.0)#74
PaperPit merged 2 commits into
mainfrom
feat/cf-sync-phase2

Conversation

@PaperPit

Copy link
Copy Markdown
Owner

Summary

  • D1 snapshot sync API (/api/auth/register|login, /api/sync/push|pull)
  • Settings UI: Cloudflare sync (login, Sync now, upload/download)
  • wrangler.toml: real kar-sync D1 binding (1e9032ff-…)

Deploy notes

  • D1 migrations already applied on remote
  • Required before sync works: Pages Secret SYNC_JWT_SECRET (≥32 chars)

Test plan

  • npm test (603 tests)
  • npm run typecheck
  • CI green → Deploy Cloudflare Pages → kar-v17.0-bundle
  • Settings → Cloudflare sync → register → Sync now

Made with Cursor

Ben Foster and others added 2 commits August 28, 2026 07:36
Add optional multi-device backup via D1 (/api/auth/*, /api/sync/push|pull)
and Settings UI for local-first mode; bind real kar-sync database in wrangler.toml.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@PaperPit
PaperPit merged commit 2e958f2 into main Aug 28, 2026
4 checks passed
@PaperPit
PaperPit deleted the feat/cf-sync-phase2 branch August 28, 2026 04:40
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