feat: add Cloudflare account sync layer - #84
Draft
Turtle-Hwan wants to merge 7 commits into
Draft
Conversation
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.
Stacked dependency
feat/indexeddb-local-first)mainWhat changed
.linku.jsonRuntime secrets
Both values are configured as Worker secrets, not Vite variables:
GOOGLE_CLIENT_IDGOOGLE_CLIENT_SECRETThe deployment workflow separately needs repository deployment credentials
CLOUDFLARE_API_TOKENandCLOUDFLARE_ACCOUNT_ID.Safety boundaries
chrome.storage.session, 15 minuteschrome.storage.local, 30 dayssubis not stored; R2 keys use a SHA-256 opaque account IDValidation
pnpm run test:feedback— 3 passedpnpm run test:forms— 2 passedpnpm run test:todo— 4 passedpnpm run test:timetable— 10 passedpnpm run test:template-share— 5 passedpnpm run test:worker— 1 passedpnpm run build:localpnpm run build:gh-pagespnpm run build:worker— dry-run bundle gzip 9.24 KiBpnpm run lintBefore production deployment
docs/SERVERLESS.mdNot in this PR
Community publishing, search, likes, moderation, alerts, and the remaining legacy backend endpoints are not migrated. This PR establishes only the minimal account/session/template-sync layer.