docs: plan KV-backed fast content deploy#201
Open
vibe-dex wants to merge 1 commit into
Open
Conversation
…r deploys) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Summary
FAST_DEPLOY_PLAN.md— an implementation plan to decouple CMS content from worker deploys by moving Studio writes to per-site Cloudflare KV namespaces while keeping the bundledblocks.gensnapshot as a fallback.loadBlock/resolve.ts.@decocms/startframework (newBlockSourceabstraction + KV writer + migration scripts), site CI (newsync-content-to-kv.yml, path-filtereddeploy.yml), and Studio (POST-to-site publish path with a per-site capability flag).Test plan
🤖 Generated with Claude Code
Summary by cubic
Adds FAST_DEPLOY_PLAN.md outlining KV-backed fast content deploys: Studio writes go to per-site Cloudflare KV with bundled
blocks.genas a fallback, so content changes no longer trigger worker deploys. The plan defines per-block storage, revision-key polling for cross-isolate invalidation, and an asyncBlockSourceread path across@decocms/start, site CI, and Studio.DECO_KV.migrate-blocks-to-kvonce, deploy the updated@decocms/start, and enable the site flag.sync-content-to-kv.ymlfor content-only syncs; rundeploy.ymlonly on code changes.Written for commit 59504c3. Summary will update on new commits. Review in cubic