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.