Skip to content

Commit 969c782

Browse files
tim-smartclaude
andcommitted
Address PR review feedback
- Consolidate the PR changesets into one effect patch changeset - Export Entity.KeepAliveHandler and use it from platform-cloudflare - Return Effects from the entity mailbox operations - Use services with optional access instead of References for the entity reply context - Build mutateAndWake inside a single Effect.suspend Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 84d7532 commit 969c782

22 files changed

Lines changed: 517 additions & 519 deletions

.changeset/cloudflare-cluster-cron.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/cloudflare-cluster-observability.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/cloudflare-cluster-scaffold.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changeset/cloudflare-cluster.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
"effect": patch
3+
---
4+
5+
Add the `@effect/platform-cloudflare` package, running Effect Cluster on
6+
Cloudflare Workers and Durable Objects.
7+
8+
One entity instance is one Durable Object with its SQLite storage as the
9+
system of record. The package provides the four Durable Object classes
10+
(entity, workflow, durable queue, singleton), the length-prefixed entity name
11+
encoding, and `CloudflareCluster.layer`, which wires the cluster `Sharding`
12+
service, the `WorkflowEngine`, and the `PersistedQueueFactory` from the
13+
same-Worker namespace bindings. The `Entity`, `Workflow`, `Activity`,
14+
`DurableClock`, `DurableQueue`, `Singleton`, and `ClusterCron` user APIs are
15+
unchanged on this path; every `DurableClock` is durable through the object's
16+
alarm.

.changeset/cloudflare-entity-handler-cache.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/cloudflare-persisted-queue.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

.changeset/cloudflare-singleton.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.changeset/cloudflare-uninterruptible-client.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/cloudflare-workflow-engine.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

.changeset/tidy-cats-cancel.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)