Skip to content

Migrate Reader persistence to Cloudflare D1 - #31

Merged
sarthakagrawal927 merged 3 commits into
mainfrom
codex/migrate-turso-to-d1
Aug 1, 2026
Merged

Migrate Reader persistence to Cloudflare D1#31
sarthakagrawal927 merged 3 commits into
mainfrom
codex/migrate-turso-to-d1

Conversation

@sarthakagrawal927

Copy link
Copy Markdown
Member

Summary

  • replace the Turso/libSQL runtime boundary with the Worker D1 binding
  • add tracked D1 migrations and isolated local development configuration
  • preserve Reader's R2 PDF storage and Better Auth behavior
  • document the D1 deploy and rollback path

Validation

  • 83 tests
  • typecheck
  • docs check
  • production build
  • local Worker auth/session and protected-route checks
  • staged production row counts and aggregate signatures match the Turso export

Closes #30

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
reader 1a54daa Aug 01 2026, 04:32 PM

@sarthakagrawal927
sarthakagrawal927 marked this pull request as ready for review August 1, 2026 16:37
@sarthakagrawal927
sarthakagrawal927 merged commit 55a77d4 into main Aug 1, 2026
3 checks passed
@sarthakagrawal927
sarthakagrawal927 deleted the codex/migrate-turso-to-d1 branch August 1, 2026 16:37
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.

Migrate Turso persistence to Cloudflare D1

1 participant