Repository navigation
Merge Cloudflare Workers platform branch - #4
Merged
Merged
Conversation
…, Workflows) Experimental, AI-assisted port of SplitPro to Cloudflare Workers. Replaces Next.js/Node, Postgres/Prisma, next-auth, nodemailer and pg_cron with vinext, D1 + Drizzle, better-auth (Google), the Email Sending binding and a scheduled Workflow. Adds unsampled Workers observability and error logging for the Worker, tRPC and the browser. No automated tests yet.
- tests/e2e: sign-in redirect, signed-in session, groups/expenses/settle-up, stranger blocked, recurring expense, run against the built Worker in parallel - src/tests/integration: authorization, balances, expense atomicity, settlements, recurrence idempotency, D1 query regressions (vitest + @cloudflare/vitest-plugin) - .github/workflows/ci.yml: typecheck, integration, e2e in parallel with caching - replace Jest with Vitest; scenarios adapted from upstream PR oss-apps#738 Bugs found by the tests and fixed here: - any signed-in user could read, edit or delete any expense by id, and write to any group - runRecurringJob used db.run() inside a D1 batch, so recurring expenses never ran
Add e2e + D1 integration tests, CI, and fix two bugs they found
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.
Promote the Cloudflare Workers port and secure Worker Preview Access configuration from cloudflare-workers to main.