@effect/workflow
0.19.1
Patch Changes
-
#6795
af0f45bThanks @tim-smart! - Bound the default activity interrupt retry policy while retaining exponential backoff. -
#6795
af0f45bThanks @tim-smart! - Fix replay of persistedDurableDeferred.raceAllresults. -
Updated dependencies [
9c4d4b5]:- @effect/rpc@0.76.2
0.19.0
Patch Changes
- Updated dependencies [
fffdee0]:- effect@3.22.0
- @effect/experimental@0.61.0
- @effect/platform@0.97.0
- @effect/rpc@0.76.0
0.18.2
Patch Changes
-
#6241
e5998a4Thanks @jcalem-rogo! - Forward the parent pointer when spawning a child workflow withdiscard: true -
Updated dependencies []:
- @effect/experimental@0.60.0
0.18.1
Patch Changes
- #6196
ec042e7Thanks @tim-smart! - Fix workflow suspension handling so mixed failures preserve non-interrupt causes and DurableDeferred.into isolates inner suspension state.
0.18.0
Patch Changes
- Updated dependencies [
f7bb09b,bd7552a,ad1a7eb,0d32048,0d32048]:- effect@3.21.0
- @effect/experimental@0.60.0
- @effect/platform@0.96.0
- @effect/rpc@0.75.0
0.17.0
Patch Changes
- Updated dependencies [
fc82e81,82996bc,4d97a61,f6b0960,8798a84]:- effect@3.20.0
- @effect/experimental@0.59.0
- @effect/platform@0.95.0
- @effect/rpc@0.74.0
0.16.0
Patch Changes
- Updated dependencies [
77eeb86,ff7053f,287c32c]:- effect@3.19.13
- @effect/platform@0.94.0
- @effect/experimental@0.58.0
- @effect/rpc@0.73.0
0.15.2
Patch Changes
-
#5880
cc4d2c3Thanks @tim-smart! - ensure no more Activites are attempted before suspending -
Updated dependencies [
bd08028,6c5c2ba]:- effect@3.19.10
0.15.1
Patch Changes
-
#5846
7c7d2e0Thanks @tim-smart! - add Workflow.scope, a seperate Scope that only closes on completion -
Updated dependencies [
96c9537]:- @effect/experimental@0.57.10
0.15.0
Minor Changes
Patch Changes
- Updated dependencies [
811852a]:- @effect/experimental@0.57.9
0.14.0
Minor Changes
Patch Changes
- Updated dependencies []:
- @effect/experimental@0.57.7
0.13.1
Patch Changes
-
#5821
2519056Thanks @tim-smart! - add DurableQueue moduleA
DurableQueuewraps aPersistedQueue, providing a way to wait for items to finish processing using aDurableDeferred.import { DurableQueue, Workflow } from "@effect/workflow"import { Effect, Schema } from "effect"// Define a DurableQueue that can be used to derive workers and offer items for// processing.const ApiQueue = DurableQueue.make({name: "ApiQueue",payload: {id: Schema.String},success: Schema.Void,error: Schema.Never,idempotencyKey(payload) {return payload.id}})const MyWorkflow = Workflow.make({name: "MyWorkflow",payload: {id: Schema.String},idempotencyKey: ({ id }) => id})const MyWorkflowLayer = MyWorkflow.toLayer(Effect.fn(function* () {// Add an item to the DurableQueue defined above.//// When the worker has finished processing the item, the workflow will// resume.//yield* DurableQueue.process(ApiQueue, { id: "api-call-1" })yield* Effect.log("Workflow succeeded!")}))// Define a worker layer that can process items from the DurableQueue.const ApiWorker = DurableQueue.worker(ApiQueue,Effect.fn(function* ({ id }) {yield* Effect.log(`Worker processing API call with id: ${id}`)}),{ concurrency: 5 } // Process up to 5 items concurrently) -
Updated dependencies [
ebfbbd6]:- @effect/platform@0.93.5
0.13.0
Minor Changes
- #5771
794c790Thanks @tim-smart! - add WorkflowEngine.makeUnsafe, which abstracts the serialization boundary
Patch Changes
-
#5771
794c790Thanks @tim-smart! - add in-memory WorkflowEngine layer -
Updated dependencies [
794c790,079975c,62f7636]:- @effect/rpc@0.72.2
- effect@3.19.5
- @effect/experimental@0.57.3
0.12.5
Patch Changes
0.12.4
Patch Changes
0.12.3
Patch Changes
-
#5731
796a3b5Thanks @tim-smart! - add in memory threshold to DurableClock.sleep -
#5731
796a3b5Thanks @tim-smart! - add DurableRateLimiter module to @effect/workflow -
Updated dependencies [
796a3b5]:- @effect/experimental@0.57.1
0.12.2
Patch Changes
-
#5695
63f2bf3Thanks @tim-smart! - tie cluster Entity lifetimes to Layer scope -
Updated dependencies [
63f2bf3]:- effect@3.19.1
0.12.1
Patch Changes
-
#5684
15100f6Thanks @tim-smart! - retry interrupted workflow activities -
Updated dependencies [
d43577b]:- @effect/rpc@0.72.1
0.12.0
Minor Changes
-
#5606
24a1685Thanks @tim-smart! - backport @effect/cluster from effect v4@effect/cluster no longer requires a Shard Manager, and instead relies on the
RunnerStorageservice to track runner state.To migrate, remove any Shard Manager deployments and use the updated layers in
@effect/platform-nodeor@effect/platform-bun.Breaking Changes
ShardManagermodule has been removedEntityNotManagedByRunnererror has been removed- Shard locks now use database advisory locks, which requires stable sessions for database connections. This means load balancers or proxies that rotate connections may cause issues.
@effect/platform-node/NodeClusterSocketRunneris now@effect/cluster/NodeClusterSocket@effect/platform-node/NodeClusterHttpRunneris now@effect/cluster/NodeClusterHttp@effect/platform-bun/BunClusterSocketRunneris now@effect/cluster/BunClusterSocket@effect/platform-bun/BunClusterHttpRunneris now@effect/cluster/BunClusterHttp
New Features
RunnerHealth.layerK8shas been added, which uses the Kubernetes API to track runner health and liveness. To use it, you will need a service account with permissions to read pod information.
Patch Changes
-
#5606
27863abThanks @vinassefranche! - Add Workflow type utils -
Updated dependencies [
3c15d5f,3863fa8,2a03c76,24a1685]:- effect@3.19.0
- @effect/rpc@0.72.0
- @effect/platform@0.93.0
0.11.5
Patch Changes
-
#5642
b8e3c6dThanks @tim-smart! - fix ReferenceError in NodeSocket.fromNet -
Updated dependencies [
b8e3c6d]:- @effect/rpc@0.71.1
0.11.4
Patch Changes
0.11.3
Patch Changes
0.11.2
Patch Changes
-
#5590
f4c4702Thanks @tim-smart! - add openTimeout options to NodeSocket.makeNet -
Updated dependencies [
f6987c0]:- @effect/platform@0.92.1
0.11.1
Patch Changes
-
#5585
cf17f2fThanks @tim-smart! - keep socket error listener attached in NodeSocket -
Updated dependencies [
07802f7]:- effect@3.18.1
0.11.0
Patch Changes
- Updated dependencies [
1c6ab74,70fe803,c296e32,a098ddf]:- effect@3.18.0
- @effect/platform@0.92.0
- @effect/rpc@0.71.0
0.10.3
Patch Changes
-
#5581
dd7b459Thanks @tim-smart! - persist activity interrupts as “Suspended” -
Updated dependencies [
dd7b459]:- @effect/rpc@0.70.2
0.10.2
Patch Changes
-
#5577
c9e1e40Thanks @tim-smart! - ignore non-client interrupts in workflow activities -
Updated dependencies [
c9e1e40]:- @effect/rpc@0.70.1
0.10.1
Patch Changes
0.10.0
Patch Changes
- Updated dependencies [
d4d86a8]:- @effect/platform@0.91.0
- @effect/rpc@0.70.0
0.9.6
Patch Changes
0.9.5
Patch Changes
0.9.4
Patch Changes
0.9.3
Patch Changes
0.9.2
Patch Changes
-
#5415
4cb3af5Thanks @tim-smart! - fix rpc msgpack serialization when chunk contains partial frames -
Updated dependencies [
4cb3af5]:- @effect/rpc@0.69.1
0.9.1
Patch Changes
- #5394
59547d9Thanks @tim-smart! - add DurableDeferred.withActivityAttempt, for scoping it to the current activity run
0.9.0
Patch Changes
- Updated dependencies [
3e163b2]:- @effect/rpc@0.69.0
0.8.3
Patch Changes
0.8.2
Patch Changes
0.8.1
Patch Changes
-
#5265
c887902Thanks @jrmdayn! - Add a new endpoint to the Workflow Proxy to resume a workflow that has been suspended -
#5271
88e219fThanks @tim-smart! - track the Cause for workflow SuspendOnFailure
0.8.0
Patch Changes
0.7.1
Patch Changes
0.7.0
Patch Changes
- Updated dependencies [
7813640]:- @effect/platform@0.90.0
- @effect/rpc@0.67.0
0.6.0
Patch Changes
- Updated dependencies [
40c3c87,ed2c74a,073a1b8,f382e99,e8c7ba5,7e10415,e9bdece,8d95eb0]:- effect@3.17.0
- @effect/platform@0.89.0
- @effect/rpc@0.66.0
0.5.1
Patch Changes
- Updated dependencies [
f5dfabf,17a5ea8,d25f22b]:- effect@3.16.14
- @effect/platform@0.88.1
- @effect/rpc@0.65.1
0.5.0
Patch Changes
0.4.14
Patch Changes
- Updated dependencies [
c1c05a8,5b7cd92,81fe4a2]:- effect@3.16.13
- @effect/rpc@0.64.14
- @effect/platform@0.87.13
0.4.13
Patch Changes
-
#5191
ad6e968Thanks @tim-smart! - Support proper suspension of workflows when nesting child workflows -
#5195
a28efb8Thanks @tim-smart! - add Workflow.SuspendOnFailure annotation -
Updated dependencies [
32ba77a,d5e25b2]:- @effect/platform@0.87.12
- @effect/rpc@0.64.13
0.4.12
Patch Changes
0.4.11
Patch Changes
0.4.10
Patch Changes
- Updated dependencies [
54514a2]:- @effect/platform@0.87.9
- @effect/rpc@0.64.10
0.4.9
Patch Changes
- Updated dependencies [
4ce4f82]:- @effect/platform@0.87.8
- @effect/rpc@0.64.9
0.4.8
Patch Changes
0.4.7
Patch Changes
- Updated dependencies [
905da99]:- effect@3.16.12
- @effect/platform@0.87.6
- @effect/rpc@0.64.7
0.4.6
Patch Changes
- Updated dependencies [
2fd8676]:- @effect/platform@0.87.5
- @effect/rpc@0.64.6
0.4.5
Patch Changes
- Updated dependencies [
e82a4fd]:- @effect/platform@0.87.4
- @effect/rpc@0.64.5
0.4.4
Patch Changes
- Updated dependencies [
1b6e396]:- @effect/platform@0.87.3
- @effect/rpc@0.64.4
0.4.3
Patch Changes
- Updated dependencies [
4fea68c,b927954,99590a6,6c3e24c]:- @effect/platform@0.87.2
- effect@3.16.11
- @effect/rpc@0.64.3
0.4.2
Patch Changes
- Updated dependencies [
faad30e]:- effect@3.16.10
- @effect/platform@0.87.1
- @effect/rpc@0.64.2
0.4.1
Patch Changes
- Updated dependencies [
112a93a]:- @effect/rpc@0.64.1
0.4.0
Patch Changes
- Updated dependencies [
b5bac9a]:- @effect/rpc@0.64.0
- @effect/platform@0.87.0
0.3.0
Patch Changes
- Updated dependencies [
5137c70,c23d25c,5137c70,5137c70]:- effect@3.16.9
- @effect/platform@0.86.0
- @effect/rpc@0.63.0
0.2.4
Patch Changes
- Updated dependencies [
a8d99b2]:- @effect/rpc@0.62.4
0.2.3
Patch Changes
- Updated dependencies [
914a191]:- @effect/platform@0.85.2
- @effect/rpc@0.62.3
0.2.2
Patch Changes
- Updated dependencies [
ddfd1e4]:- @effect/rpc@0.62.2
0.2.1
Patch Changes
0.2.0
Patch Changes
0.1.14
Patch Changes
0.1.13
Patch Changes
- Updated dependencies [
a5f7595,a02470c,bf369b2,f891d45]:- effect@3.16.6
- @effect/platform@0.84.10
- @effect/rpc@0.61.14
0.1.12
Patch Changes
0.1.11
Patch Changes
- Updated dependencies [
e0d3d42]:- @effect/rpc@0.61.12
0.1.10
Patch Changes
-
#4750
dca92fdThanks @tim-smart! - add Workflow.CaptureDefects annotation, to configure defect behaviour -
Updated dependencies [
dca92fd]:- @effect/rpc@0.61.11
0.1.9
Patch Changes
0.1.8
Patch Changes
- Updated dependencies [
bf418ef]:- effect@3.16.5
- @effect/platform@0.84.9
- @effect/rpc@0.61.10
0.1.7
Patch Changes
0.1.6
Patch Changes
0.1.5
Patch Changes
- Updated dependencies [
8b9db77]:- @effect/platform@0.84.8
- @effect/rpc@0.61.8
0.1.4
Patch Changes
0.1.3
Patch Changes
-
#4977
d244b63Thanks @tim-smart! - add WorkflowProxy & WorkflowProxyServer, for deriving rpc & HttpApi servers from workflows -
Updated dependencies [
ceea77a]:- @effect/platform@0.84.6
- @effect/rpc@0.61.6