Skip to content

Scope Cloudflare state by site identity - #1981

Merged
chubes4 merged 1 commit into
mainfrom
feat/1972-cloudflare-site-context
Jul 23, 2026
Merged

Scope Cloudflare state by site identity#1981
chubes4 merged 1 commit into
mainfrom
feat/1972-cloudflare-site-context

Conversation

@chubes4

@chubes4 chubes4 commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • resolve a validated site context from the exact request hostname before cache, coordinator, or runtime access
  • partition Durable Object and D1 coordination plus R2 state, publications, jobs, artifacts, uploads, mutable wp-content, and runtime caches by site ID
  • derive non-default operator and admin credentials per site while preserving the existing production hostname and sites/default/... contract
  • prove concurrent two-site mutation, restart, credential, publication, and serving isolation on both coordinator backends

Closes #1972
Parent: #1970

Verification

  • npm run test:cloudflare-runtime
  • npm run test:cloudflare-wordpress-auth
  • npm run cloudflare:dry-run
  • npm run cloudflare:dry-run:d1
  • npm run cloudflare:local-gate
  • npm run cloudflare:local-gate:d1

Both local gates passed their complete production-shaped workflows and final concurrent Alpha/Beta isolation phase. No production deployment was performed.

AI Assistance

OpenAI gpt-5.6-sol via OpenCode implemented the site-context propagation, isolation tests, documentation, and verification workflow under Chris Huber's direction and review. Chris remains responsible for every line.

@chubes4
chubes4 merged commit f2ce42d into main Jul 23, 2026
4 checks passed
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.

Scope Cloudflare WordPress state by site identity

1 participant