Skip to content

Fence Cloudflare mutations for lossless D1 cutover #1976

Description

@chubes4

Parent: #1970

Goal

Activate the merged exact-state adoption contract and move the live Cloudflare runtime from Durable Object coordination to D1 without a source mutation racing export, adoption, or promotion.

Scope

  • deploy adoption support while retaining Durable Object coordination
  • add an authenticated bounded source mutation fence with explicit acquisition, status, expiry, and release semantics
  • provision/configure production D1
  • export and adopt the exact live pointer/version under the fence
  • verify pointer, version, commit receipt, and R2 manifest parity
  • promote the D1-backed Worker and prove a canonical N+1 mutation/publication
  • preserve and prove a symmetric rollback path

Acceptance

No mutation can commit between source export and target promotion. D1 starts at the exact live version, the first D1 write commits N+1, public routes remain available, and rollback evidence is reproducible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions