Skip to content

Remove cluster reply handler entries when their last waiter is interrupted - #10812

Merged
tim-smart merged 6 commits into
Effect-TS:mainfrom
AVtheking:fix/cluster-reply-handler-leak
Nov 23, 2026
Merged

tim-smart merged 6 commits into
Effect-TS:mainfrom
AVtheking:fix/cluster-reply-handler-leak

Conversation

@AVtheking

@AVtheking AVtheking commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Problem

MessageStorage.registerReplyHandler keeps a list of waiters per request id in replyHandlers. When the waiting fiber is interrupted before a reply arrives, the Effect.callback cleanup removes the waiter from the list, but the request id stays in replyHandlers with an empty list:

return Effect.sync(() => {
  const index = handlers.indexOf(entry)
  handlers.splice(index, 1)
  shardSet.delete(entry)
  // requestId is never removed from replyHandlers
})

The other places that delete entries (saveReply with a WithExit reply, unregisterReplyHandler, unregisterShardReplyHandlers) never run for that id again, so the entry stays for the life of the runner.

Workflow replays hit this on every step that had already finished. When a suspended workflow wakes and replays, each completed activity is sent again with the same primary key. notifyLocalRequest registers a reply handler for the new request id, saveRequest reports a duplicate with a WithExit reply, the caller is answered from that reply, and the scoped handler fiber is interrupted. That leaves one empty entry per replayed step.

In production, one runner with many multi-step workflows that sleep and retry reached the V8 Map size limit (about 16.7M entries) after about 37 hours. From then on every new request failed with:

RangeError: Map maximum size exceeded
    at Map.set (<anonymous>)
    at MixedScheduler.<anonymous> (effect/dist/cluster/MessageStorage.js:102:25)

Workflow submissions with discard: true kept succeeding, so runs piled up without starting until the runner was restarted.

Fix

Delete the request id when its last waiter leaves, but only if the map still points at the same list, so a newer registration for that id is not removed.

Verification

  • Added a test to MessageStorage.test.ts: interrupting one of two handlers for a request leaves the other one working, which covers the new delete condition. The leaked entry itself isn't reachable from the public API, so the test doesn't fail on the old code.

  • Measured heap growth over 300,000 interrupted registerReplyHandler calls on the memory storage, with --expose-gc:

    heap growth
    before 30.6 MB (~107 bytes per leaked entry)
    after 0.5 MB
  • pnpm vitest run packages/effect/test/cluster: 17 files, 321 tests pass (before dropping a duplicate test; MessageStorage.test.ts passes after). dprint, oxlint and tsc are clean on the changed files.

🤖 Generated with Claude Code

Closes EFF-4086

…upted

registerReplyHandler stores a list of waiters per request id. When a waiter
was interrupted before a reply arrived, the cleanup removed it from the list
but left the request id in replyHandlers with an empty list. saveReply and
the unregister paths are the only other places that delete entries, and they
never run for that id again, so the entry stayed for the life of the runner.

Workflow replays trigger this for every completed step: the replayed activity
request is a duplicate, so its waiter is interrupted and answered from
storage. A busy runner eventually hits the Map size limit and every request
fails with "RangeError: Map maximum size exceeded".

Delete the request id once its last waiter leaves, unless a newer
registration already replaced the entry.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@changeset-bot

changeset-bot Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: e71ac14

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 40 packages
Name Type
effect Patch
@effect/opentelemetry Patch
@effect/vitest Patch
@effect/ai-amazon-bedrock Patch
@effect/ai-anthropic Patch
@effect/ai-cloudflare Patch
@effect/ai-openai-compat Patch
@effect/ai-openai Patch
@effect/ai-openrouter Patch
@effect/ai-typesafe Patch
@effect/atom-react Patch
@effect/atom-solid Patch
@effect/atom-vue Patch
@effect/chat-discord Patch
@effect/chat-slack Patch
@effect/chat-teams Patch
@effect/chat-telegram Patch
@effect/chat-whatsapp Patch
@effect/platform-browser Patch
@effect/platform-bun Patch
@effect/platform-cloudflare Patch
@effect/platform-deno Patch
@effect/platform-node-shared Patch
@effect/platform-node Patch
@effect/sql-clickhouse Patch
@effect/sql-d1 Patch
@effect/sql-libsql Patch
@effect/sql-mssql Patch
@effect/sql-mysql2 Patch
@effect/sql-pg Patch
@effect/sql-pglite Patch
@effect/sql-sqlite-bun Patch
@effect/sql-sqlite-do Patch
@effect/sql-sqlite-node Patch
@effect/sql-sqlite-react-native Patch
@effect/sql-sqlite-wasm Patch
@effect/docgen Patch
@effect/doctest Patch
@effect/graphql-generator Patch
@effect/openapi-generator Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

Bundle Size Analysis

Generated from PR build output; treat the content below as untrusted.

File Name Current Size Previous Size Difference
arbitrary-combinators.ts 40.10 KB 40.10 KB 0.00 KB (0.00%)
basic.ts 7.31 KB 7.31 KB 0.00 KB (0.00%)
batching.ts 11.22 KB 11.22 KB 0.00 KB (0.00%)
brand.ts 7.00 KB 7.00 KB 0.00 KB (0.00%)
cache.ts 11.73 KB 11.73 KB 0.00 KB (0.00%)
config.ts 23.13 KB 23.13 KB 0.00 KB (0.00%)
differ.ts 22.24 KB 22.24 KB 0.00 KB (0.00%)
http-client.ts 27.50 KB 27.50 KB 0.00 KB (0.00%)
http-router.ts 38.53 KB 38.53 KB 0.00 KB (0.00%)
logger.ts 12.19 KB 12.19 KB 0.00 KB (0.00%)
metric.ts 9.65 KB 9.65 KB 0.00 KB (0.00%)
optic.ts 7.24 KB 7.24 KB 0.00 KB (0.00%)
pubsub.ts 16.21 KB 16.21 KB 0.00 KB (0.00%)
queue.ts 13.12 KB 13.12 KB 0.00 KB (0.00%)
schedule.ts 11.99 KB 11.99 KB 0.00 KB (0.00%)
schema-bigdecimal.ts 14.31 KB 14.31 KB 0.00 KB (0.00%)
schema-binary.ts 42.72 KB 42.72 KB 0.00 KB (0.00%)
schema-class.ts 21.97 KB 21.97 KB 0.00 KB (0.00%)
schema-codegen.ts 30.73 KB 30.73 KB 0.00 KB (0.00%)
schema-fromJsonSchemaDocument.ts 30.59 KB 30.59 KB 0.00 KB (0.00%)
schema-representation-roundtrip.ts 28.28 KB 28.28 KB 0.00 KB (0.00%)
schema-string-transformation.ts 15.57 KB 15.57 KB 0.00 KB (0.00%)
schema-string.ts 12.51 KB 12.51 KB 0.00 KB (0.00%)
schema-template-literal.ts 16.45 KB 16.45 KB 0.00 KB (0.00%)
schema-toArbitrary.ts 39.65 KB 39.65 KB 0.00 KB (0.00%)
schema-toCodecJson.ts 21.16 KB 21.16 KB 0.00 KB (0.00%)
schema-toEquivalence.ts 21.30 KB 21.30 KB 0.00 KB (0.00%)
schema-toFormatter.ts 21.41 KB 21.41 KB 0.00 KB (0.00%)
schema-toJsonSchemaDocument.ts 26.45 KB 26.45 KB 0.00 KB (0.00%)
schema-toRepresentation.ts 21.49 KB 21.49 KB 0.00 KB (0.00%)
schema.ts 21.07 KB 21.07 KB 0.00 KB (0.00%)
stm.ts 14.46 KB 14.46 KB 0.00 KB (0.00%)
stream.ts 10.58 KB 10.58 KB 0.00 KB (0.00%)

@tim-smart
tim-smart merged commit 9f415a7 into Effect-TS:main Nov 23, 2026
15 of 16 checks passed
@effect-bot effect-bot mentioned this pull request Nov 23, 2026
brandhaug added a commit to brandhaug/b2b-saas-starter that referenced this pull request Nov 30, 2026
## pnpm-workspace.yaml (default)

## Dependency Updates

| Package | From | To | Type |
| --- | --- | --- | --- |
| `@effect/platform-node` | 4.1.5 | 4.1.7 | patch |
| `@effect/sql-d1` | 4.1.5 | 4.1.7 | patch |
| `@effect/vitest` | 4.1.5 | 4.1.7 | patch |
| `@inlang/plugin-message-format` | 4.6.1 | 4.6.2 | patch |
| `@react-email/ui` | 6.11.16 | 6.11.17 | patch |
| `@rolldown/plugin-babel` | 0.3.1 | 0.3.2 | patch |
| `@tanstack/react-form` | 1.33.5 | 1.33.6 | patch |
| `@types/node` | 26.6.6 | 26.6.11 | patch |
| `@types/react` | 19.3.0 | 19.3.3 | patch |
| `agents` | 0.34.0 | 0.34.1 | patch |
| `ai` | 7.0.181 | 7.0.183 | patch |
| `effect` | 4.1.5 | 4.1.7 | patch |
| `mdast-util-to-markdown` | 2.2.4 | 2.2.5 | patch |
| `react-email` | 6.11.16 | 6.11.17 | patch |
| `ws` | 8.23.0 | 8.23.1 | patch |

## Release Notes

<details>
<summary><b>@<!---->effect/platform-node</b> (4.1.5 → 4.1.7) — 2
releases</summary>

<details>
<summary><b>4.1.7</b></summary>

### Patch Changes

- [#10974](Effect-TS/effect#10974)
[`c74b4aa`](Effect-TS/effect@c74b4aa)
Thanks @<!---->RubensRafael! - Fix `HttpApiClient` on
`NodeHttpClient.layerNodeHttp` dying, instead of failing with a
`StatusCodeError`, when a declared error response has a non-JSON body.

- [#10990](Effect-TS/effect#10990)
[`eba809b`](Effect-TS/effect@eba809b)
Thanks @<!---->kyrregjerstad! - Add `Worker.CloseTimeout` to configure
how long Node and Bun workers may take to close before they are
terminated.
- Updated dependencies
[[`ca1eb29`](Effect-TS/effect@ca1eb29),
[`9af7cbb`](Effect-TS/effect@9af7cbb),
[`35f29b6`](Effect-TS/effect@35f29b6),
[`0b9f246`](Effect-TS/effect@0b9f246),
[`c37ce82`](Effect-TS/effect@c37ce82),
[`abcf54c`](Effect-TS/effect@abcf54c),
[`f487573`](Effect-TS/effect@f487573),
[`4ecf318`](Effect-TS/effect@4ecf318),
[`3795d20`](Effect-TS/effect@3795d20),
[`71235c0`](Effect-TS/effect@71235c0),
[`890be07`](Effect-TS/effect@890be07),
[`3dbbf0d`](Effect-TS/effect@3dbbf0d),
[`a5f5a12`](Effect-TS/effect@a5f5a12),
[`bfbc048`](https://github.com/Effect-TS/effect/

…[full
notes](https://github.com/Effect-TS/effect/releases/tag/%40effect/platform-node%404.1.7)

</details>

<details>
<summary><b>4.1.6</b></summary>

### Patch Changes

- [#10886](Effect-TS/effect#10886)
[`2576bbc`](Effect-TS/effect@2576bbc)
Thanks @<!---->effect-bot! - Add
`NodeChildProcessSpawner.layerProxyProcess`, which launches commands
from a small proxy process, for Node.js builds where spawning from a
process holding a lot of memory stalls the event loop. The layer also
provides `NodeChildProcessSpawner.ProxyProcess`, which reports the proxy
process ID, and packaged applications can run the proxy process from
their own entry point with `NodeChildProcessProxy.run`.

- [#10851](Effect-TS/effect#10851)
[`bb02f33`](Effect-TS/effect@bb02f33)
Thanks @<!---->effect-bot! - Update repository dependencies to their
latest compatible releases.
- Updated dependencies
[[`dd5f2f3`](Effect-TS/effect@dd5f2f3),
[`1d65846`](Effect-TS/effect@1d65846),
[`694c28f`](Effect-TS/effect@694c28f),
[`5aaa2cd`](Effect-TS/effect@5aaa2cd),
[`55814bf`](Effect-TS/effect@55814bf),
[`92c40a1`](Effect-TS/effect@92c40a1),
[`9f415a7`](Effect-TS/effect@9f415a7),
[`e367afd`](Effect-TS/effect@e367afd),
[`d5d2112`](Effect-TS/effect@d5d2112),
[`fa2e5af`](Effect-TS/effect@fa2e5af),
[`6bf6427`](Effect-TS/effect@6bf6427),
[`10bc4a4`](https://github.com/Effect-TS/eff

…[full
notes](https://github.com/Effect-TS/effect/releases/tag/%40effect/platform-node%404.1.6)

</details>

</details>

<details>
<summary><b>@<!---->effect/sql-d1</b> (4.1.5 → 4.1.7) — 2
releases</summary>

<details>
<summary><b>4.1.7</b></summary>

### Patch Changes

- [#10961](Effect-TS/effect#10961)
[`5031d70`](Effect-TS/effect@5031d70)
Thanks @<!---->effect-bot! - Add `Statement.SpanNameGenerator` context
reference to override SQL statement span names while keeping database
and server span attributes unchanged.
- Updated dependencies
[[`ca1eb29`](Effect-TS/effect@ca1eb29),
[`9af7cbb`](Effect-TS/effect@9af7cbb),
[`35f29b6`](Effect-TS/effect@35f29b6),
[`0b9f246`](Effect-TS/effect@0b9f246),
[`c37ce82`](Effect-TS/effect@c37ce82),
[`abcf54c`](Effect-TS/effect@abcf54c),
[`f487573`](Effect-TS/effect@f487573),
[`4ecf318`](Effect-TS/effect@4ecf318),
[`3795d20`](Effect-TS/effect@3795d20),
[`71235c0`](Effect-TS/effect@71235c0),
[`890be07`](Effect-TS/effect@890be07),
[`3dbbf0d`](Effect-TS/effect@3dbbf0d),
[`a5f5a12`](Effect-TS/effect@a5f5a12),
[`bfbc048`](Effect-TS/effect@bfbc048),
[`21ff5fc`](Effect-TS/effect@21ff5fc),
[`d3f1de2`](Effect-TS/effect@d3f1de2),
[`5896612`](Effect-TS/effect@589661

…[full
notes](https://github.com/Effect-TS/effect/releases/tag/%40effect/sql-d1%404.1.7)

</details>

<details>
<summary><b>4.1.6</b></summary>

### Patch Changes

- [#10867](Effect-TS/effect#10867)
[`49d3c99`](Effect-TS/effect@49d3c99)
Thanks @<!---->effect-bot! - Return a typed `SqlError` instead of dying
when `D1Database.prepare()` throws synchronously on `.raw` and
`.unprepared` queries.

- [#10851](Effect-TS/effect#10851)
[`bb02f33`](Effect-TS/effect@bb02f33)
Thanks @<!---->effect-bot! - Update repository dependencies to their
latest compatible releases.
- Updated dependencies
[[`dd5f2f3`](Effect-TS/effect@dd5f2f3),
[`1d65846`](Effect-TS/effect@1d65846),
[`694c28f`](Effect-TS/effect@694c28f),
[`5aaa2cd`](Effect-TS/effect@5aaa2cd),
[`55814bf`](Effect-TS/effect@55814bf),
[`92c40a1`](Effect-TS/effect@92c40a1),
[`9f415a7`](Effect-TS/effect@9f415a7),
[`e367afd`](Effect-TS/effect@e367afd),
[`d5d2112`](Effect-TS/effect@d5d2112),
[`fa2e5af`](Effect-TS/effect@fa2e5af),
[`6bf6427`](Effect-TS/effect@6bf6427),
[`10bc4a4`](Effect-TS/effect@10bc4a4),
[`a9540d3`](Effect-TS/effect@a9540d3),
[`3a250d7`](Effect-TS/effect@3a250d7),
[`ce44141`](https://github.com/

…[full
notes](https://github.com/Effect-TS/effect/releases/tag/%40effect/sql-d1%404.1.6)

</details>

</details>

<details>
<summary><b>@<!---->effect/vitest</b> (4.1.5 → 4.1.7) — 2
releases</summary>

<details>
<summary><b>4.1.7</b></summary>

### Patch Changes

- Updated dependencies
[[`ca1eb29`](Effect-TS/effect@ca1eb29),
[`9af7cbb`](Effect-TS/effect@9af7cbb),
[`35f29b6`](Effect-TS/effect@35f29b6),
[`0b9f246`](Effect-TS/effect@0b9f246),
[`c37ce82`](Effect-TS/effect@c37ce82),
[`abcf54c`](Effect-TS/effect@abcf54c),
[`f487573`](Effect-TS/effect@f487573),
[`4ecf318`](Effect-TS/effect@4ecf318),
[`3795d20`](Effect-TS/effect@3795d20),
[`71235c0`](Effect-TS/effect@71235c0),
[`890be07`](Effect-TS/effect@890be07),
[`3dbbf0d`](Effect-TS/effect@3dbbf0d),
[`a5f5a12`](Effect-TS/effect@a5f5a12),
[`bfbc048`](Effect-TS/effect@bfbc048),
[`21ff5fc`](Effect-TS/effect@21ff5fc),
[`d3f1de2`](Effect-TS/effect@d3f1de2),
[`5896612`](Effect-TS/effect@5896612),
[`5031d70`](Effect-TS/effect@5031d70),
[`eba809b`](Effect-TS/effect@eba809b)]:
  - [email protected]

</details>

<details>
<summary><b>4.1.6</b></summary>

### Patch Changes

- Updated dependencies
[[`dd5f2f3`](Effect-TS/effect@dd5f2f3),
[`1d65846`](Effect-TS/effect@1d65846),
[`694c28f`](Effect-TS/effect@694c28f),
[`5aaa2cd`](Effect-TS/effect@5aaa2cd),
[`55814bf`](Effect-TS/effect@55814bf),
[`92c40a1`](Effect-TS/effect@92c40a1),
[`9f415a7`](Effect-TS/effect@9f415a7),
[`e367afd`](Effect-TS/effect@e367afd),
[`d5d2112`](Effect-TS/effect@d5d2112),
[`fa2e5af`](Effect-TS/effect@fa2e5af),
[`6bf6427`](Effect-TS/effect@6bf6427),
[`10bc4a4`](Effect-TS/effect@10bc4a4),
[`a9540d3`](Effect-TS/effect@a9540d3),
[`3a250d7`](Effect-TS/effect@3a250d7),
[`ce44141`](Effect-TS/effect@ce44141),
[`9318e5b`](Effect-TS/effect@9318e5b),
[`c9ecebf`](Effect-TS/effect@c9ecebf),
[`32f8fbe`](Effect-TS/effect@32f8fbe),
[`41d6af1`](Effect-TS/effect@41d6af1),
[`c33fd59`](Effect-TS/effect@c33fd59

…[full
notes](https://github.com/Effect-TS/effect/releases/tag/%40effect/vitest%404.1.6)

</details>

</details>

<details>
<summary><b>@<!---->tanstack/react-form</b> (1.33.5 → 1.33.6)</summary>

### Patch Changes

- Updated dependencies
[[`bc7d6f1`](TanStack/form@bc7d6f1),
[`58b9fab`](TanStack/form@58b9fab)]:
  - @<!---->tanstack/[email protected]

</details>

<details>
<summary><b>agents</b> (0.34.0 → 0.34.1)</summary>

### Patch Changes

- [#3171](cloudflare/agents#3171)
[`9448cd8`](cloudflare/agents@9448cd8)
Thanks [@<!---->ben-reitz](https://github.com/ben-reitz)! - Support Pi
1.6.1 (`~1.6.1`). Pi tools now park with `{ kind: "sleep", signals,
until }` instead of `{ sleep: { ... } }`, and a signal's state is `{
kind: "value", value }` or `{ kind: "expired" }`; a tool that still
returns the old shape compiles but ends with an empty result, so update
parking tools when you upgrade. `agents/models/pi-ai` now matches pi-ai
1.6.1: a chat-completions stream that ends with `finish_reason: "error"`
fails with an error the Pi harness retries under its retry settings,
`rawStopReason` records the provider's reason (with OpenRouter's
`native_finish_reason`), an OpenRouter `stop` with no output and a
failing native reason is a retryable error, and `onResponse` sees every
response, failures included. The `agents/models` SSE decoder reads large
streamed events in linear time. See [pi-durable 1.6.1's
changelog](https://github.com/earendil-works/pi/blob/v1.6.1/packages/durable/CHANGELOG.md#161---2026-11-25)
and [Pi
harness](https://developers.cloudflare.com/agents/harnesses/pi/#tools-that-wait).

</details>

<details>
<summary><b>effect</b> (4.1.5 → 4.1.7) — 2 releases</summary>

<details>
<summary><b>4.1.7</b></summary>

### Patch Changes

- [#10972](Effect-TS/effect#10972)
[`ca1eb29`](Effect-TS/effect@ca1eb29)
Thanks @<!---->effect-bot! - `ClusterCron` no longer retries a run that
fails or dies, in either scheduling mode: the failure is logged and the
next run is scheduled. With `calculateNextRunFromPrevious`, a failed run
previously retried in place and blocked later runs; to retry typed
failures, apply `Effect.retry` inside `execute` with your own stopping
policy.

- [#10939](Effect-TS/effect#10939)
[`9af7cbb`](Effect-TS/effect@9af7cbb)
Thanks @<!---->RhysSullivan! - Compute `ConfigError.message` once during
construction so `message` and `toString()` stay readable if `cause` is
later replaced.

- [#10936](Effect-TS/effect#10936)
[`35f29b6`](Effect-TS/effect@35f29b6)
Thanks @<!---->yuyongyan29-dev! - Fix `Cron.next` and `Cron.prev` to
follow host DST transitions when no time zone is set.

- [#10976](Effect-TS/effect#10976)
[`0b9f246`](Effect-TS/effect@0b9f246)
Thanks @<!---->benschac! - The HTTP server no longer reports
`Schema.SchemaError` and `Cause.NoSuchElementError` failures that it
answers with `400` or `404` to `ErrorReporter`s.

- [#10945](Effect-TS/effect#10945)
[`c37ce82`](Effect-TS/effect@c37ce82)
Thanks @<!---->RhysSullivan! - Add `McpClient.listToolsWithCacheHint`
and `ListCacheHint` to return discovered tools alongside their
aggregated `2026-07-28` cache hint (minimum `ttlMs`, `"public"` only
when every page is `"public"`, or `undefined` when unavailable).

- [#10944](Effect-TS/effect#10944)
[`abcf54c`](Effect-TS/effect@abcf54c9c6ec805fad68f1ce3

…[full
notes](https://github.com/Effect-TS/effect/releases/tag/effect%404.1.7)

</details>

<details>
<summary><b>4.1.6</b></summary>

### Patch Changes

- [#10845](Effect-TS/effect#10845)
[`dd5f2f3`](Effect-TS/effect@dd5f2f3)
Thanks @<!---->effect-bot! - Add standalone `effect/ai/Skill` module and
accept `Skill` values in `McpServer.registerSkill` and
`McpServer.skill`.

- [#10893](Effect-TS/effect#10893)
[`1d65846`](Effect-TS/effect@1d65846)
Thanks @<!---->Marve10s! - Fix `Atom.subscriptionRef` setters throwing
`AsyncFiberError` when another update holds the ref lock.

- [#10821](Effect-TS/effect#10821)
[`694c28f`](Effect-TS/effect@694c28f)
Thanks @<!---->effect-bot! - Use `Buffer` for `Base64` and `Base64Url`
encoding and decoding when native `Uint8Array` Base64 methods are
unavailable.

- [#10802](Effect-TS/effect#10802)
[`5aaa2cd`](Effect-TS/effect@5aaa2cd)
Thanks @<!---->KhraksMamtsov! - Fix `Effect.catchReasons` error-channel
inference for exhaustive handlers and failing `orElse` fallbacks.

- [#10901](Effect-TS/effect#10901)
[`55814bf`](Effect-TS/effect@55814bf)
Thanks @<!---->EnesKartal! - Fix data-first `Effect.catchTag` type
inference for inline calls such as `Effect.map(...)`.

- [#10883](Effect-TS/effect#10883)
[`92c40a1`](Effect-TS/effect@92c40a1)
Thanks @<!---->effect-bot! - Fix cluster `Entity.keepAlive` being
dropped when disabled and immediately re-enabled.

- [#10812](Effect-TS/effect#10812)
[`9f415a7`](Effect-TS/effect@9f415a7)
Thanks @<!---->AVtheking! - Fix a memory leak in cluster
`MessageStorage.registerReplyHandler` when interrupted reply waiters
leave

…[full
notes](https://github.com/Effect-TS/effect/releases/tag/effect%404.1.6)

</details>

</details>

<details>
<summary><b>mdast-util-to-markdown</b> (2.2.4 → 2.2.5)</summary>

#### Fix

* 633499c Fix escaping when matches touch

**Full Changelog**:
syntax-tree/mdast-util-to-markdown@2.2.4...2.2.5

</details>

<details>
<summary><b>react-email</b> (6.11.16 → 6.11.17)</summary>

### Patch Changes

* 742923e: Fix `Button` replacing `calc()` and `var()` padding with `0`
* ec221a5: fix(heading): keep units and `auto` in margin shortcut props
instead of always appending `px`

</details>

<details>
<summary><b>ws</b> (8.23.0 → 8.23.1)</summary>

# Bug fixes

- Window bits values that do not conform to the RFC 7692 `1*DIGIT` ABNF
rule are
  no longer accepted (#2355).
- `SharedArrayBuffer` and `ArrayBuffer` instances created in other
realms are no
  longer masked in place (#2358).
- Errors thrown when a redirect request is created are now properly
handled
  (#2359).
- `Sec-WebSocket-Version` header field values that do not conform to the
RFC
  6455 `version` ABNF grammar are no longer accepted (#2367).

</details>

---
*This PR was auto-generated by
[catalog-update-action](https://github.com/brandhaug/catalog-update-action).*

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

This branch is waiting to be deployed

1 waiting deployment
fork — e71ac146 Waiting Nov 21, 2026 by effect-bot via approval-gate #26947
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants