Skip to content

feat(platform-node): add NodeChildProcessSpawner.layerProxyProcess - #10886

Merged
tim-smart merged 9 commits into
mainfrom
effect-bot/child-process-proxy
Nov 25, 2026
Merged

tim-smart merged 9 commits into
mainfrom
effect-bot/child-process-proxy

Conversation

@effect-bot

@effect-bot effect-bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Adds NodeChildProcessSpawner.layerProxyProcess(options?), an opt-in ChildProcessSpawner that launches commands from a small, long-lived Node process instead of the application. On some Node.js builds on Linux, spawning from a process that holds gigabytes of memory outside the JS heap (Buffers, wasm, native addons) blocks the event loop for a long time on every git --version. The proxy stays small, so spawning from it doesn't.

Closes EFF-4247

API

// @effect/platform-node/NodeChildProcessSpawner
export class ProxyProcess extends Context.Service<ProxyProcess, {
  readonly currentPid: Effect.Effect<Option.Option<ProcessId>>
}>()("@effect/platform-node/NodeChildProcessSpawner/ProxyProcess") {}

export const layerProxyProcess: (options?: {
  readonly executable?: string | undefined // default: process.execPath
  readonly args?: ReadonlyArray<string> | undefined // default: ["--input-type=module", "-e", <program>]
  readonly env?: Record<string, string | undefined> | undefined // default: process.env minus NODE_OPTIONS
  readonly responseTimeout?: Duration.Input | undefined // default: 10 seconds
}) => Layer.Layer<ChildProcessSpawner | ProxyProcess, PlatformError, FileSystem | Path>

// @effect/platform-node/NodeChildProcessProxy (Node builtins only)
export const run: () => void

Packaged CLI

// bin.ts: dispatch the subcommand before loading the app
if (process.argv[2] === "__proxy-process") {
  const { run } = await import("@effect/platform-node/NodeChildProcessProxy")
  run()
} else {
  await import("./main.ts")
}
// One constant, so the whole app shares one proxy process
export const SpawnerLayer = NodeChildProcessSpawner.layerProxyProcess({
  args: NodeSea.isSea() ? ["__proxy-process"] : undefined
}).pipe(Layer.catch(() => NodeChildProcessSpawner.layer))

// The parent PID of commands spawned from now on
export const spawnParentPid = Effect.gen(function*() {
  const proxy = yield* Effect.serviceOption(NodeChildProcessSpawner.ProxyProcess)
  const pid = Option.isSome(proxy) ? yield* proxy.value.currentPid : Option.none()
  return Option.getOrElse(pid, () => process.pid)
})

The same example is in the layerProxyProcess JSDoc. I type-checked it, including that the Layer.catch result is assignable to a spawner-only layer type.

How it works

  • Building the layer starts the proxy, sends the socket path and token in a first IPC message (so they stay out of ps), and waits for Ready. A start failure, no Ready within responseTimeout, or Windows fails the build with a PlatformError. The caller falls back with Layer.catch.
  • The program is an ordinary function, run in src/internal/proxyProcessWorker.ts, which imports only Node builtins. NodeChildProcessProxy.run is that function, so a single executable app can dispatch a private subcommand to it with no runtime compilation, including under --disallow-code-generation-from-strings. The default launcher runs node --input-type=module -e <program>. <program> is in src/internal/proxyProcessSource.ts, which pnpm codegen generates from the worker by stripping its types (scripts/generateProxyProcessSource.ts). A test fails if the generated file is out of date. Run without an IPC channel, it prints one line to stderr and exits with code 1.
  • IPC carries the init message, spawn requests, and four replies (ready, spawned with pid, error, exit).
  • Stdio does not pass through the proxy. The app listens on a Unix socket in a private mkdtemp directory. For each piped fd the proxy connects, sends a header (random token, request id, fd), and hands the socket to the command as that fd. Signals go straight from the app to the command.
  • Most of the change in NodeChildProcessSpawner.ts is a seam. The existing implementation now takes an effect that yields a spawn function returning a ChildProcess-like object. The proxy's effect waits for a ready proxy, and its function returns an object built from the IPC replies and sockets. layer yields NodeChildProcess.spawn at once. Pipelines, extra fds, unref, forceKillAfter, process-group cleanup and the error mapping are reused unchanged. layer behaves exactly as before.
  • When the layer scope closes, the app disconnects. The proxy exits once its commands have exited, and the finalizer waits for that unless an unref'd command is still running. A proxy that never became ready is killed. Commands outlive a crashed app, same as with layer.
  • The proxy ignores SIGINT and SIGTERM, so Ctrl-C at a terminal doesn't take it down before the app's own cleanup has run.
  • layerProxyProcess lives in platform-node-shared. BunChildProcessSpawner re-exports layer and flattenCommand by name, so Bun's API is unchanged.

Restart and the no-replay boundary

A spawn request is "dispatched" once it is passed to send. After that the proxy may have started the command, so the request is never sent again, to the same proxy or a replacement.

What happens Sent? Result
Replacement proxy fails to start or doesn't answer in time No The spawn fails with a PlatformError. Retrying is safe. The next spawn tries a new proxy.
Proxy exits after the request was sent, before replying Yes The spawn fails, its sockets are closed, no replay
Proxy sends nothing for responseTimeout after the request Yes The proxy is SIGKILLed (its exit hasn't been seen, so its PID is still ours), the spawn fails, no replay
Proxy lost after replying with the pid Yes The lost handling below

Restart happens on the next spawn, not when the crash is seen, so a proxy that dies on startup can't loop. Spawns are not queued. Each one waits, interruptibly, for the starting proxy to be ready, and only then enters the uninterruptible launch, which builds and sends its request. A spawn interrupted while waiting is never sent. Concurrent spawns share the one starting proxy. A proxy that is no longer ready, has exited, was retired or holds outdated credentials refuses a spawn without sending it. After the layer's scope closes, spawns fail with BadResource and start no proxy. currentPid is Some while a ready proxy takes spawns, and None from the moment its exit is seen until a replacement is ready, and after scope close.

When the proxy dies

A command whose exit status was lost is marked lost. After that its PID may have been reused, so:

  • exitCode and isRunning fail with a PlatformError and never hang.
  • An explicit kill still sends its first signal (so a still-running command can be stopped) but never escalates, and on a single-command handle it then fails. A pipeline handle's kill ignores its commands' failures, as it always has. A forceKillAfter wait that is in progress stops as soon as the loss is seen.
  • Scope release sends nothing to lost commands. They keep running.
  • A spawn whose pid arrived but whose stdio sockets were still pending fails, closes the sockets it has, and rejects late ones.
  • Every command of the dead proxy is marked lost before any listener runs, because a listener can resume a fiber synchronously and start scope release.
  • Removing the socket directory is best effort and never throws, so a privilege drop can't stop loss reporting, exit delivery or retirement.

Credentials

Commands run with the uid/gid/groups the proxy started with. Each spawn compares the app's current credentials with the proxy's. If they changed, the old proxy is retired: it keeps running its commands, reports their exits, and disconnects once they're done. A new proxy launches the command. A proxy retired before it was ready has no commands, so it is killed, and the spawns waiting on it move to its replacement. Nothing was sent to it, so none of them runs with the old credentials. The JSDoc says to build the layer after any privilege change.

Tests

  • The full shared ChildProcessSpawnerTest suite runs against both layers, 84 cases each (the proxy run is skipped on Windows, where the layer fails to build), in a non-concurrent describe because the process-supervision cases count processes by name.
  • Proxy-specific cases:
    • scope close stops the proxy, currentPid is the commands' $PPID before and None after, and a retained spawner then fails with BadResource
    • interrupted before dispatch: with the replacement's Ready held back, two spawns wait, one is interrupted, and currentPid is None. After release only the survivor's request reaches the proxy, and currentPid is the replacement's PID
    • retired before dispatch: with Ready held back, getuid changes twice. The spawn waiting on the retired proxy runs on the final replacement, which received both requests
    • the generated -e program matches the worker (generateProxyProcessSource.ts --check)
    • Windows, simulated by redefining process.platform: the layer fails to build, and Layer.catch falls back to layer without a ProxyProcess
    • a missing executable fails the build with NotFound, and a program that never answers fails it with TimedOut and is killed
    • a packaged entry point (test/fixtures/proxy-cli.ts) dispatching __proxy-process to run() launches commands under --disallow-code-generation-from-strings, with node:vm also disabled in the fixture since the flag doesn't cover it, and run without IPC exits with code 1
    • no replay: a proxy that starts commands but drops its Spawned replies. The spawn fails after responseTimeout with a "may have started" error, currentPid goes to None, the next spawn uses a new proxy, and the command's marker file holds exactly one run. With a replaying implementation the test fails on 'run\nrun\n', and without the reply timer it times out.
    • after a SIGKILLed proxy, stdio keeps working, kill delivers but fails, exitCode/isRunning fail, currentPid is None, and the next spawn uses a new proxy
    • with fs.rmSync failing with EACCES, proxy loss stops a pending escalation without SIGKILL, scope release signals nothing, and the proxy restarts
    • with fs.rmSync failing and process.getuid changing, busy and idle proxies are retired and the busy one still reports its command's exit
    • a spawn lost while its sockets are pending fails and rejects a late socket (unit test of the internal handle)

Bench (not part of CI)

Longest event-loop gap while spawning git --version through the Effect layer, p50 of 20 runs, holding 4 GB of Buffers, on one Linux 6.18 VM:

Node layer layerProxyProcess
26.8.2 (libuv 1.52.1) 204 ms 1.7 ms
26.13.0 (libuv 1.53.0) 5.3 ms 1.5 ms

The two builds behave very differently, and I haven't measured any other release, Node 22 and 24 included. Measure a direct spawn on the build you deploy before switching. These numbers were taken before the handshake was added. The handshake only changes startup, not the spawn path.

@changeset-bot

changeset-bot Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 02cb6da

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

This PR includes changesets to release 40 packages
Name Type
@effect/platform-node Patch
@effect/platform-node-shared Patch
@effect/platform-bun Patch
@effect/platform-deno Patch
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-cloudflare 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

@effect-janitor effect-janitor Bot added the 4.0 label Nov 24, 2026
@github-actions

github-actions Bot commented Nov 24, 2026 •

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.17 KB 40.17 KB 0.00 KB (0.00%)
basic.ts 7.31 KB 7.31 KB 0.00 KB (0.00%)
batching.ts 11.29 KB 11.29 KB 0.00 KB (0.00%)
brand.ts 7.05 KB 7.05 KB 0.00 KB (0.00%)
cache.ts 11.75 KB 11.75 KB 0.00 KB (0.00%)
config.ts 23.18 KB 23.18 KB 0.00 KB (0.00%)
differ.ts 22.30 KB 22.30 KB 0.00 KB (0.00%)
http-client.ts 27.87 KB 27.87 KB 0.00 KB (0.00%)
http-router.ts 38.66 KB 38.66 KB 0.00 KB (0.00%)
logger.ts 12.19 KB 12.19 KB 0.00 KB (0.00%)
metric.ts 9.66 KB 9.66 KB 0.00 KB (0.00%)
optic.ts 7.28 KB 7.28 KB 0.00 KB (0.00%)
pubsub.ts 16.23 KB 16.23 KB 0.00 KB (0.00%)
queue.ts 13.13 KB 13.13 KB 0.00 KB (0.00%)
schedule.ts 11.99 KB 11.99 KB 0.00 KB (0.00%)
schema-bigdecimal.ts 14.36 KB 14.36 KB 0.00 KB (0.00%)
schema-binary.ts 42.91 KB 42.91 KB 0.00 KB (0.00%)
schema-class.ts 22.01 KB 22.01 KB 0.00 KB (0.00%)
schema-codegen.ts 30.78 KB 30.78 KB 0.00 KB (0.00%)
schema-fromJsonSchemaDocument.ts 30.64 KB 30.64 KB 0.00 KB (0.00%)
schema-representation-roundtrip.ts 28.33 KB 28.33 KB 0.00 KB (0.00%)
schema-string-transformation.ts 15.61 KB 15.61 KB 0.00 KB (0.00%)
schema-string.ts 12.56 KB 12.56 KB 0.00 KB (0.00%)
schema-template-literal.ts 16.50 KB 16.50 KB 0.00 KB (0.00%)
schema-toArbitrary.ts 39.72 KB 39.72 KB 0.00 KB (0.00%)
schema-toCodecJson.ts 21.20 KB 21.20 KB 0.00 KB (0.00%)
schema-toEquivalence.ts 21.36 KB 21.36 KB 0.00 KB (0.00%)
schema-toFormatter.ts 21.45 KB 21.45 KB 0.00 KB (0.00%)
schema-toJsonSchemaDocument.ts 26.50 KB 26.50 KB 0.00 KB (0.00%)
schema-toRepresentation.ts 21.54 KB 21.54 KB 0.00 KB (0.00%)
schema.ts 21.14 KB 21.14 KB 0.00 KB (0.00%)
stm.ts 14.48 KB 14.48 KB 0.00 KB (0.00%)
stream.ts 10.61 KB 10.61 KB 0.00 KB (0.00%)

- fold the lost check into isProcessAlive instead of repeating it at each caller
- drop the unreachable failed-exit branch in releaseProcess
- derive pending stdio sockets and the close wait from existing state
- close the proxy socket server once
- share the escalation and credential-change scaffolding between tests
…of queueing spawns

A spawn now waits for a ready proxy process before its uninterruptible launch, so an interrupted spawn is never sent. A proxy process retired while starting is stopped and its waiters move to the replacement, a released layer rejects spawns, and NodeChildProcessProxy.run compiles the program with node:vm so it works under --disallow-code-generation-from-strings.
…compiling it

NodeChildProcessProxy.run now calls an ordinary worker function. The default launcher's -e program is generated from the same worker by pnpm codegen, runs as an ES module, and a test fails when the generated file is out of date.
- Track proxy readiness with a Deferred instead of a callback set, a stored
  failure and two hand-written waiters
- Refuse a spawn before it is registered, so every command a proxy process
  holds has been sent, and drop the dispatched flag and its error
- Keep the type stripper's whitespace when generating the proxy program, so
  generation cannot alter a string literal
- Build the timeout and unknown start errors from one literal
- Pass the response timeout to Duration.toMillis directly
- Share the held proxy, credential change and tagged spawn helpers in the tests
@tim-smart
tim-smart merged commit 2576bbc into main Nov 25, 2026
18 checks passed
@tim-smart
tim-smart deleted the effect-bot/child-process-proxy branch November 25, 2026 05:41
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>
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.

2 participants