Skip to content

Redact sensitive query params in spans, inspect output and errors - #9136

Merged
tim-smart merged 11 commits into
mainfrom
agent/nelson/ba2c4d7f233a
Oct 14, 2026
Merged

tim-smart merged 11 commits into
mainfrom
agent/nelson/ba2c4d7f233a

Conversation

@tim-smart

@tim-smart tim-smart commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Values of sensitive query params (Signature, sig, AWSAccessKeyId, X-Goog-Signature by default) are now redacted by name wherever a URL leaves the process as text. The URL sent by the client and the URL seen by server handlers are unchanged, and so are UrlParams equality and hashing.

Changes

  • New UrlParams.CurrentRedactedNames, UrlParams.isRedactedName and UrlParams.redact, modelled on the Headers versions, plus UrlParams.redactUrl for redacting a URL string. A provided list replaces the defaults.
  • The four query param names are removed from Headers.CurrentRedactedNames. They were sitting there doing nothing, since no URL redaction existed. Its defaults are back to authorization, cookie, set-cookie, x-api-key.
  • url.full and url.query on client and server spans record matching values as REDACTED, keeping the key. Client spans also swap userinfo for REDACTED:REDACTED. That handling moved into addUrlAttributes, so client and server share it.
  • UrlParams implements Redactable, so its inspect and toJSON output renders matching values as Redacted.
  • HttpClientRequest.toJSON redacts a query string written into url; urlParams is covered by the UrlParams change.
  • HttpClientError / HttpServerError messages and HttpServerRequest inspection (web, Node, Bun and Deno, including Node's toString) redact the query part of the URL. Messages and toJSON have no context argument, so they read the names from the current fiber, falling back to the defaults outside a fiber.

Every surface goes through UrlParams.redactUrl. It is public so the platform packages can use it. It rewrites only the matching key=value parts and leaves the rest of the string byte-for-byte as it was, with no re-encoding.

Validation

  • pnpm test --run packages/effect/test/http packages/effect/test/HttpClient.test.ts packages/effect/test/httpapi: 44 files, 686 tests pass. The tests from the first commit are unmodified.
  • pnpm check, pnpm lint-fix, pnpm jsdocs --check are clean.
  • The error messages and HttpServerRequest inspect output were checked by hand with a scratch script, since the spec didn't ask for tests on them.

Closes EFF-2067

@changeset-bot

changeset-bot Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: bef6f75

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

This PR includes changesets to release 33 packages
Name Type
effect Patch
@effect/platform-node Patch
@effect/platform-bun Patch
@effect/platform-deno Patch
@effect/opentelemetry Patch
@effect/vitest 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/platform-browser Patch
@effect/platform-node-shared 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 Oct 14, 2026
@github-actions

github-actions Bot commented Oct 14, 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 38.99 KB 38.99 KB 0.00 KB (0.00%)
basic.ts 7.02 KB 7.02 KB 0.00 KB (0.00%)
batching.ts 10.74 KB 10.74 KB 0.00 KB (0.00%)
brand.ts 6.71 KB 6.71 KB 0.00 KB (0.00%)
cache.ts 10.97 KB 10.97 KB 0.00 KB (0.00%)
config.ts 22.41 KB 22.41 KB 0.00 KB (0.00%)
differ.ts 21.52 KB 21.52 KB 0.00 KB (0.00%)
http-client.ts 23.43 KB 22.89 KB +0.54 KB (+2.37%)
http-router.ts 35.11 KB 34.66 KB +0.45 KB (+1.29%)
logger.ts 11.29 KB 11.29 KB 0.00 KB (0.00%)
metric.ts 9.09 KB 9.09 KB 0.00 KB (0.00%)
optic.ts 6.94 KB 6.94 KB 0.00 KB (0.00%)
pubsub.ts 15.38 KB 15.38 KB 0.00 KB (0.00%)
queue.ts 12.22 KB 12.22 KB 0.00 KB (0.00%)
schedule.ts 11.42 KB 11.42 KB 0.00 KB (0.00%)
schema-bigdecimal.ts 13.76 KB 13.76 KB 0.00 KB (0.00%)
schema-binary.ts 40.19 KB 40.19 KB 0.00 KB (0.00%)
schema-class.ts 21.20 KB 21.20 KB 0.00 KB (0.00%)
schema-fromJsonSchemaDocument.ts 32.33 KB 32.33 KB 0.00 KB (0.00%)
schema-representation-roundtrip.ts 27.41 KB 27.41 KB 0.00 KB (0.00%)
schema-string-transformation.ts 14.62 KB 14.62 KB 0.00 KB (0.00%)
schema-string.ts 12.02 KB 12.02 KB 0.00 KB (0.00%)
schema-template-literal.ts 16.19 KB 16.19 KB 0.00 KB (0.00%)
schema-toArbitrary.ts 38.51 KB 38.51 KB 0.00 KB (0.00%)
schema-toCodeDocument.ts 25.53 KB 25.53 KB 0.00 KB (0.00%)
schema-toCodecJson.ts 20.45 KB 20.45 KB 0.00 KB (0.00%)
schema-toEquivalence.ts 20.66 KB 20.66 KB 0.00 KB (0.00%)
schema-toFormatter.ts 20.75 KB 20.75 KB 0.00 KB (0.00%)
schema-toJsonSchemaDocument.ts 25.38 KB 25.38 KB 0.00 KB (0.00%)
schema-toRepresentation.ts 20.74 KB 20.74 KB 0.00 KB (0.00%)
schema.ts 20.39 KB 20.39 KB 0.00 KB (0.00%)
stm.ts 13.36 KB 13.36 KB 0.00 KB (0.00%)
stream.ts 10.05 KB 10.05 KB 0.00 KB (0.00%)

@tim-smart
tim-smart force-pushed the agent/nelson/ba2c4d7f233a branch from 090705d to fdf200f Compare October 14, 2026 03:52
@tim-smart
tim-smart force-pushed the agent/nelson/ba2c4d7f233a branch from d5ff1d1 to bef6f75 Compare October 14, 2026 04:05
@tim-smart
tim-smart enabled auto-merge (squash) October 14, 2026 04:11
@tim-smart
tim-smart merged commit 12be65e into main Oct 14, 2026
12 checks passed
@tim-smart
tim-smart deleted the agent/nelson/ba2c4d7f233a branch October 14, 2026 04:13
brandhaug added a commit to brandhaug/b2b-saas-starter that referenced this pull request Oct 18, 2026
## pnpm-workspace.yaml (default)

## Dependency Updates

| Package | From | To | Type |
| --- | --- | --- | --- |
| `@effect/platform-node` | 4.0.3 | 4.0.5 | patch |
| `@effect/sql-d1` | 4.0.3 | 4.0.5 | patch |
| `@effect/tsgo` | 0.51.1 | 0.53.0 | minor |
| `@effect/vitest` | 4.0.3 | 4.0.5 | patch |
| `effect` | 4.0.3 | 4.0.5 | patch |

## Release Notes

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

<details>
<summary><b>4.0.5</b></summary>

### Patch Changes

- [#9158](Effect-TS/effect#9158)
[`5951ac0`](Effect-TS/effect@5951ac0)
Thanks @<!---->fubhy! - Add typed connection options to `NodeHttpClient`
for unix sockets and mutual TLS.

- [#9136](Effect-TS/effect#9136)
[`12be65e`](Effect-TS/effect@12be65e)
Thanks @<!---->tim-smart! - Redact sensitive query values in HTTP spans,
request inspection and error messages. Also redact URL credentials in
client spans, request inspection and errors. Request URLs sent over the
wire are unchanged.
  
Move `AWSAccessKeyId`, `Signature`, `sig` and `X-Goog-Signature` from
`Headers.CurrentRedactedNames` to the new
`UrlParams.CurrentRedactedNames`. A custom list replaces these defaults.
Add `UrlParams.isRedactedName`, `UrlParams.redact` and
`UrlParams.redactUrl` for explicit redaction.
- Updated dependencies
[[`f665607`](Effect-TS/effect@f665607),
[`dbf442b`](Effect-TS/effect@dbf442b),
[`74d1930`](Effect-TS/effect@74d1930),
[`a03afb6`](Effect-TS/effect@a03afb6),
[`f159284`](Effect-TS/effect@f159284),
[`5d301cc`](Effect-TS/effect@5d301cc),
[`cd74ea2`](Effect-TS/effect@cd74ea2),
[`925cf64`](Effect-TS/effect@925cf64),
[`54c51d9`](Effect-TS/effect@54c51d9),
[`995c104`](Effect-TS/effect@995c104),
[`816575e`](https://github.com/Effect-TS/effect/co

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

</details>

<details>
<summary><b>4.0.4</b></summary>

### Patch Changes

- [#9014](Effect-TS/effect#9014)
[`95a3ab7`](Effect-TS/effect@95a3ab7)
Thanks @<!---->jayhemnani9910! - Ignore a leading UTF-8 BOM when
decoding Node HTTP request and response text, so `json` no longer fails
on BOM-prefixed bodies.
- Updated dependencies
[[`7547a99`](Effect-TS/effect@7547a99),
[`711719d`](Effect-TS/effect@711719d),
[`251f849`](Effect-TS/effect@251f849),
[`8f1ea52`](Effect-TS/effect@8f1ea52),
[`c93485e`](Effect-TS/effect@c93485e),
[`37e088f`](Effect-TS/effect@37e088f),
[`9314666`](Effect-TS/effect@9314666),
[`a0a26b7`](Effect-TS/effect@a0a26b7),
[`cc843ea`](Effect-TS/effect@cc843ea),
[`ab90be9`](Effect-TS/effect@ab90be9),
[`a59b971`](Effect-TS/effect@a59b971),
[`fccf660`](Effect-TS/effect@fccf660),
[`1bfd8fd`](Effect-TS/effect@1bfd8fd),
[`78e4c43`](Effect-TS/effect@78e4c43),
[`fde67a1`](Effect-TS/effect@fde67a1),
[`118deef`](Effect-TS/effect@118deef),
[`cea74c9`](Effect-TS/effect@cea74c92ac839009c6ba112504

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

</details>

</details>

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

<details>
<summary><b>4.0.5</b></summary>

### Patch Changes

- Updated dependencies
[[`f665607`](Effect-TS/effect@f665607),
[`dbf442b`](Effect-TS/effect@dbf442b),
[`74d1930`](Effect-TS/effect@74d1930),
[`a03afb6`](Effect-TS/effect@a03afb6),
[`f159284`](Effect-TS/effect@f159284),
[`5d301cc`](Effect-TS/effect@5d301cc),
[`cd74ea2`](Effect-TS/effect@cd74ea2),
[`925cf64`](Effect-TS/effect@925cf64),
[`54c51d9`](Effect-TS/effect@54c51d9),
[`995c104`](Effect-TS/effect@995c104),
[`816575e`](Effect-TS/effect@816575e),
[`0df6e06`](Effect-TS/effect@0df6e06),
[`52a7d3c`](Effect-TS/effect@52a7d3c),
[`ec831c3`](Effect-TS/effect@ec831c3),
[`3abc63e`](Effect-TS/effect@3abc63e),
[`a841b8b`](Effect-TS/effect@a841b8b),
[`91efea7`](Effect-TS/effect@91efea7),
[`e271997`](Effect-TS/effect@e271997),
[`7719bda`](Effect-TS/effect@7719bda),
[`563397f`](Effect-TS/effect@563397f

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

</details>

<details>
<summary><b>4.0.4</b></summary>

### Patch Changes

- [#9027](Effect-TS/effect#9027)
[`5d88d87`](Effect-TS/effect@5d88d87)
Thanks @<!---->tim-smart! - Update repository dependencies to their
latest compatible releases.
- Updated dependencies
[[`7547a99`](Effect-TS/effect@7547a99),
[`711719d`](Effect-TS/effect@711719d),
[`8f1ea52`](Effect-TS/effect@8f1ea52),
[`c93485e`](Effect-TS/effect@c93485e),
[`37e088f`](Effect-TS/effect@37e088f),
[`9314666`](Effect-TS/effect@9314666),
[`a0a26b7`](Effect-TS/effect@a0a26b7),
[`cc843ea`](Effect-TS/effect@cc843ea),
[`ab90be9`](Effect-TS/effect@ab90be9),
[`a59b971`](Effect-TS/effect@a59b971),
[`fccf660`](Effect-TS/effect@fccf660),
[`1bfd8fd`](Effect-TS/effect@1bfd8fd),
[`78e4c43`](Effect-TS/effect@78e4c43),
[`fde67a1`](Effect-TS/effect@fde67a1),
[`118deef`](Effect-TS/effect@118deef),
[`cea74c9`](Effect-TS/effect@cea74c9),
[`b7c1ac6`](Effect-TS/effect@b7c1ac6),
[`f837966`](https://github.com/Effect-TS/effect/

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

</details>

</details>

<details>
<summary><b>@<!---->effect/tsgo</b> (0.51.1 → 0.53.0) — 2
releases</summary>

<details>
<summary><b>0.53.0</b></summary>

### Minor Changes

- 13a46c9: The `deterministicKeys` rule and the key completions now
compute a key for files without a `package.json`, or whose nearest
`package.json` has no `name`. The key is built as usual, but without the
package name. The sub-directory segment is relative to the
`package.json` directory if one is found, otherwise to the
`tsconfig.json` directory, otherwise to the program's common source
directory.
  
Projects that enabled `deterministicKeys` without a `package.json` will
now see reports. This differs from the upstream
`@effect/language-service`, which skips these files.
  
  ```json
  {
    "name": "@effect/language-service",
    "keyPatterns": [{ "target": "service", "pattern": "default" }]
  }
  ```
  
  ```ts
// src/services/AuthService.ts, no package.json, tsconfig.json at the
project root
  // reports: the expected key is `services/AuthService/MyService`
export class MyService extends Context.Service<MyService,
{}>()("MyService") {}
  ```
- d8c489b: Add `errorPayloadShadowsName` to detect inline `name` payload
fields on Effect error classes. For example,
`Data.TaggedError("ToolNotFound")<{ name: string }>` copies the
payload's `name` onto the error instance and hides the error type in
logs. Rename the field to `toolName`. The rule inspects inline payloads
only and allows a field whose value is the literal the error already
uses as its name.
- 13a46c9: Add an `"identifier"` pattern to `keyPatterns` for the
`deterministicKeys` rule. With it, the expected key is the class name
alone.
  
  ```json
  {
    "name": "@effect/language-service",
    "keyPatterns": [{ "target": "error", "pattern": "identifier" }]
  }
  ```
  
  ```ts
  // reports: the expected key is `KeybindingsConfigError`
export class KeybindingsConfigError extends
Data.TaggedError("KeybindingsConfigParseError")<{}> {}
  ```
- b1ed4ba: Add `preferNamespaceImport` and `preferBarrelImport`, two
diagnostics that report existing imports that contradict the import
style confi

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

</details>

<details>
<summary><b>0.52.0</b></summary>

### Minor Changes

- 3e4a55d: Route Effect contextual-type queries through
`TypeParser.GetContextualType` and enforce the wrapper with customlint.
For example, use `tp.GetContextualType(node, checker.ContextFlagsNone)`
instead of the checker method. Query behavior stays unchanged, with one
place to add contextual-type safety guards in future changes.
- 0269634: Add `effectSleepZeroToYieldNow`, a style suggestion with a
quick fix for zero-duration `Effect.sleep` calls.
  
For example, `Effect.sleep(0)` becomes `Effect.yieldNow()` in Effect v3
and `Effect.yieldNow` in Effect v4. The rule also recognizes safe
zero-duration strings, tuples, and Duration constructors. The
replacement yields through the fiber scheduler instead of the Clock
service.
- 181b2b3: Add the `flatMapToTap` style suggestion and quick fix for
Effect v3 and v4. Callbacks that run an effect and restore their
unchanged parameter with terminal `Effect.as` or `Effect.map` can use
`Effect.tap` instead. The fix preserves callback statements and earlier
effect transformations.
- 7d051dd: Route internal symbol and type location queries through
TypeParser and enforce this with customlint. Reuse the existing
TypeParser throughout pipeable signature comparison.
  
Prevent false TS2790 diagnostics for valid index-signature deletes such
as `declare const map: { [key: string]: number }; delete map.x;`. Symbol
queries skip deleted property accesses and their names, including
parenthesized and optional targets. Receiver and computed-key queries
remain available, and invalid required-property and readonly deletes
still report compiler errors.
- f178ff2: Add the opt-in `preferEffectArray` diagnostic in
`effectNative` for native Array method calls and references. It suggests
16 corresponding Effect Array APIs and explains migration differences,
such as `values.find(predicate)` becoming `Array.findFirst(values,
predicate)` with an `Option` result.
  
  The rule is disabled by default and enabled as a warning by the

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

</details>

</details>

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

<details>
<summary><b>4.0.5</b></summary>

### Patch Changes

- Updated dependencies
[[`f665607`](Effect-TS/effect@f665607),
[`dbf442b`](Effect-TS/effect@dbf442b),
[`74d1930`](Effect-TS/effect@74d1930),
[`a03afb6`](Effect-TS/effect@a03afb6),
[`f159284`](Effect-TS/effect@f159284),
[`5d301cc`](Effect-TS/effect@5d301cc),
[`cd74ea2`](Effect-TS/effect@cd74ea2),
[`925cf64`](Effect-TS/effect@925cf64),
[`54c51d9`](Effect-TS/effect@54c51d9),
[`995c104`](Effect-TS/effect@995c104),
[`816575e`](Effect-TS/effect@816575e),
[`0df6e06`](Effect-TS/effect@0df6e06),
[`52a7d3c`](Effect-TS/effect@52a7d3c),
[`ec831c3`](Effect-TS/effect@ec831c3),
[`3abc63e`](Effect-TS/effect@3abc63e),
[`a841b8b`](Effect-TS/effect@a841b8b),
[`91efea7`](Effect-TS/effect@91efea7),
[`e271997`](Effect-TS/effect@e271997),
[`7719bda`](Effect-TS/effect@7719bda),
[`563397f`](Effect-TS/effect@563397f

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

</details>

<details>
<summary><b>4.0.4</b></summary>

### Patch Changes

- Updated dependencies
[[`7547a99`](Effect-TS/effect@7547a99),
[`711719d`](Effect-TS/effect@711719d),
[`8f1ea52`](Effect-TS/effect@8f1ea52),
[`c93485e`](Effect-TS/effect@c93485e),
[`37e088f`](Effect-TS/effect@37e088f),
[`9314666`](Effect-TS/effect@9314666),
[`a0a26b7`](Effect-TS/effect@a0a26b7),
[`cc843ea`](Effect-TS/effect@cc843ea),
[`ab90be9`](Effect-TS/effect@ab90be9),
[`a59b971`](Effect-TS/effect@a59b971),
[`fccf660`](Effect-TS/effect@fccf660),
[`1bfd8fd`](Effect-TS/effect@1bfd8fd),
[`78e4c43`](Effect-TS/effect@78e4c43),
[`fde67a1`](Effect-TS/effect@fde67a1),
[`118deef`](Effect-TS/effect@118deef),
[`cea74c9`](Effect-TS/effect@cea74c9),
[`b7c1ac6`](Effect-TS/effect@b7c1ac6),
[`f837966`](Effect-TS/effect@f837966),
[`09738f4`](Effect-TS/effect@09738f4),
[`22e7129`](Effect-TS/effect@22e7129

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

</details>

</details>

<details>
<summary><b>effect</b> (4.0.3 → 4.0.5) — 2 releases</summary>

<details>
<summary><b>4.0.5</b></summary>

### Patch Changes

- [#9055](Effect-TS/effect#9055)
[`f665607`](Effect-TS/effect@f665607)
Thanks @<!---->Tyagiquamar! - Pass a `NonEmptyArray` to the `onNonEmpty`
callback of `Array.match` when the input is a mutable array.

- [#9110](Effect-TS/effect#9110)
[`dbf442b`](Effect-TS/effect@dbf442b)
Thanks @<!---->petar-omni! - Fix `AsyncResult.all` failures carrying a
single input's `previousSuccess` instead of the combined record or
tuple.

- [#9105](Effect-TS/effect#9105)
[`74d1930`](Effect-TS/effect@74d1930)
Thanks @<!---->tim-smart! - Fix infinite atom rebuilds caused by late
reads of uninitialized dependencies.

- [#9145](Effect-TS/effect#9145)
[`a03afb6`](Effect-TS/effect@a03afb6)
Thanks @<!---->jayhemnani9910! - Add `Flag.withOptionalValue` for
GNU-style flags with an optional value, like `--color[=WHEN]`. A bare
flag uses the given value; an explicit value must be attached with `=`.

- [#9131](Effect-TS/effect#9131)
[`f159284`](Effect-TS/effect@f159284)
Thanks @<!---->tim-smart! - Fix lost deferred callback wakes in cluster
workflows when an activity suspends while a parallel activity is still
running.

- [#9094](Effect-TS/effect#9094)
[`5d301cc`](Effect-TS/effect@5d301cc)
Thanks @<!---->okxint! - Name cluster entity RPC server spans by entity
type only (e.g. `WorkflowEntity.Run`) so span names stay
low-cardinality. The entity ID is still recorded in the `entity.id` span
attribute.

- [#9176](Effect-TS/effect#9176)
[`cd74ea2`](Effect-TS/effect@cd74ea211980de0989ec45

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

</details>

<details>
<summary><b>4.0.4</b></summary>

### Patch Changes

- [#9030](Effect-TS/effect#9030)
[`7547a99`](Effect-TS/effect@7547a99)
Thanks @<!---->effect-bot! - Bound sparse array indices in
`SchemaGetter.makeTreeRecord`, used by `Schema.fromURLSearchParams` and
`Schema.fromFormData`. An indexed container with more than 20 holes is
now returned as an object keyed by its index strings instead of a sparse
array, and appending after the maximum array index no longer throws.

- [#9083](Effect-TS/effect#9083)
[`711719d`](Effect-TS/effect@711719d)
Thanks @<!---->effect-bot! - Bound import-time stack detection probes to
the frames they inspect, restoring the caller's stack trace limit
afterward.

- [#9041](Effect-TS/effect#9041)
[`8f1ea52`](Effect-TS/effect@8f1ea52)
Thanks @<!---->tim-smart! - Stop grouped RequestResolvers from retaining
batch keys for the lifetime of the resolver. Equal keys are now matched
by the pending batch map, so a key is dropped as soon as its batch stops
pending, including after interruption.

- [#9010](Effect-TS/effect#9010)
[`c93485e`](Effect-TS/effect@c93485e)
Thanks @<!---->effect-bot! - Support an explicit client `servername` for
TLS socket upgrades without changing hostname behavior when omitted.

- [#8990](Effect-TS/effect#8990)
[`37e088f`](Effect-TS/effect@37e088f)
Thanks @<!---->bastiankistner! - Use decoded response aliases in
generated HTTP clients. Render bare numbers with a standard leading
finite check as `Schema.Finite`, preserving annotations and other
checks.

- [#8998](Effect-TS/effect#8998)
[`9314666`](Effect-TS/effect@93146666ec49cd6831e9c9d5fa0f9

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

</details>

</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>
laithalsaadoon added a commit to memhtml/memhtml that referenced this pull request Oct 20, 2026
Moves the Effect catalog set (`effect`, `@effect/platform-node`, `@effect/platform-node-shared`, `@effect/vitest`) from 4.0.3 to 4.0.5 with no source or test change. One 4.0.4 entry changes what `packages/telemetry` does when tracing is on, so this move was held for a maintainer's decision and merged on it.

What moves:
- `pnpm-workspace.yaml:61-64`: the four catalog lines.
- `pnpm-lock.yaml`: only the four Effect entries and their peer suffixes (10 lines in the peer-stripped table).
- Docs: the 17 mentions of the pin on 15 lines in `docs/architecture/system-overview.md`, `docs/diagrams/structural/dependency-graph.md`, `docs/insights/debugging-guide.md`, `docs/insights/tech-debt.md` and `docs/reference/rpc-tools.md`. Each claim those lines make was re-checked at 4.0.5 (five MCP protocol adapters, `layerStdio`'s `instructions` option, the `@stability unstable` tags, `Schema.Struct({})` and `Tool.EmptyParams` JSON Schemas, `Config.String`). The same lines' citations into `pnpm-workspace.yaml`, `apps/cli/src/head-server.ts` and `CLAUDE.md`, stale since #265 and #287 moved those files, now name the lines they mean. Every edit keeps its cell width.

Behavior that reaches memhtml:
- Effect-TS/effect#9053 (4.0.4), telemetry on only: the OTLP exporter waits for a collector's `Retry-After` between its three retries after a 408 or 5xx, never less than the 1 s it waited before. Measured on this tree against a local collector: arrivals at 0, 2, 4 and 6 s instead of 0, 1, 2 and 3 s for a 503 with `Retry-After: 2`; unchanged without the header.
- Effect-TS/effect#9014 (4.0.4): Node HTTP text decoding drops a leading UTF-8 BOM, so a BOM-prefixed JSON body to the head server's `/v1/search`, `/v1/read`, `/v1/neighbors`, `/v1/commit` or `/v1/rebase` now decodes instead of answering 400. `/v1/exec` parses its body itself and still refuses one. memhtml's own head client never sends a BOM, so its traffic is unchanged.
- Effect-TS/effect#9136 (4.0.5): the values of `sig`, `Signature`, `AWSAccessKeyId` and `X-Goog-Signature` query parameters are redacted in the request line a head-server 400 echoes and, with telemetry on, in server span `url.full` and `url.query`. memhtml's client sends no query string.
- Measured identical on this tree: interrupt merging (#9113), JSON Schema bounds on the two new decode-only schemas (#9081), the MCP server's shared codecs (#9031, 15 tools, identical transcripts), `Duration` conversion (#9109, #9161), and server span timing (#9066).

Verified:
- `mise run check`: 75/75 tasks on this branch.
- A reader compiled all 16 TypeScript packages plus `tests-integration` against the 4.0.5 tarballs with the repo's compiler options (0 errors), with a two-way self-check: a probe using APIs that exist only in 4.0.5 (`UrlParams.redactUrl`, `NodeHttpClient.layerNodeHttpOptions`) fails on 4.0.3 and passes on 4.0.5, and a probe that #9112 breaks passes on 4.0.3 and fails on 4.0.5.
- The unit suites of `packages/session`, `head`, `curator`, `snapshot`, `telemetry`, `store`, `eval`, `apps/cli` and `apps/mcp` pass 1443/1443 on both versions.

Effect 4.0.6 is not published; its "Version Packages" PR (Effect-TS/effect#9197) queues entries on the head server's Node HTTP paths, MCP stdio streams and OTLP serialization, so the next move gets its own read.

Supersedes the Effect members of Dependabot's minor-and-patch group.
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.

1 participant