Skip to content

docs(fast-deploy): operator-owned CI (webhook → Decofile CR → Job)#301

Merged
hugo-ccabral merged 1 commit into
mainfrom
feat/fast-deploy-docs-operator-flow
Jul 2, 2026
Merged

docs(fast-deploy): operator-owned CI (webhook → Decofile CR → Job)#301
hugo-ccabral merged 1 commit into
mainfrom
feat/fast-deploy-docs-operator-flow

Conversation

@hugo-ccabral

@hugo-ccabral hugo-ccabral commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

What

Updates the docs/fast-deploy.md cross-repo contracts section to reflect the finalized fast-deploy CI design: content sync to KV is git-webhook driven and handled entirely by the deco operator — no studio, no GitHub Actions, no admin.

New flow documented:
git push (.deco/blocks/** only) → operator POST /webhooks/githubDeploymentTarget (cloudflare-workers) creates a Decofile CR (target: tanstack-kv) → FastDeployment (tanstack-kv) creates a self-cleaning Job running deco-sync-blocks-to-kv → Cloudflare KV.

Also notes why the sync must run the TS script (byte-identical djb2(JSON.stringify(blocks)) revision) rather than a re-implementation, and updates the rollout step to the Deco CR fastDeploy gate + GitHub webhook.

Scope

Docs only. The runtime (kvHydration.ts, kvBlockSource.ts), the deco-sync-blocks-to-kv script, and the Studio write-through path are unchanged.

Base is feat/fast-deploy-5-docs (this doc describes that branch's KV work).

🤖 Generated with Claude Code


Summary by cubic

Update fast-deploy docs to the operator-owned CI: a push touching .deco/blocks/** hits the operator webhook → DeploymentTarget creates a Decofile CR → FastDeployment spawns a short‑lived Job that runs deco-sync-blocks-to-kv to write Cloudflare KV (no Studio/GitHub Actions/admin; Studio live‑edit unchanged). Clarifies the TS script is required to produce a byte‑identical djb2Hex(JSON.stringify(blocks)) revision, and updates rollout to use the Deco CR fastDeploy gate plus a GitHub webhook.

Written for commit b6d59a3. Summary will update on new commits.

Review in cubic

@hugo-ccabral hugo-ccabral changed the base branch from feat/fast-deploy-5-docs to main July 2, 2026 14:48
@hugo-ccabral hugo-ccabral requested a review from a team July 2, 2026 14:48

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Re-trigger cubic

…→ Job)

Rewrite the cross-repo contracts section: content sync to KV is driven by a git
webhook handled entirely by the deco operator (DeploymentTarget → Decofile CR →
tanstack-kv FastDeployment → self-cleaning Job), not studio/GitHub Actions/admin.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@hugo-ccabral hugo-ccabral force-pushed the feat/fast-deploy-docs-operator-flow branch from 4f80248 to b6d59a3 Compare July 2, 2026 17:36
@hugo-ccabral hugo-ccabral merged commit 133ff5b into main Jul 2, 2026
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 6.26.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants