Skip to content

feat: add defineComposite for bundling middleware into one - #36

Merged
mandarini merged 7 commits into
mainfrom
feat/composite-middleware
Sep 4, 2026
Merged

mandarini merged 7 commits into
mainfrom
feat/composite-middleware

Conversation

@johnstonmatt

@johnstonmatt johnstonmatt commented Sep 3, 2026 •

Copy link
Copy Markdown
Collaborator

Why

From the SDK-1713 thread. Two questions were left open:

  1. Can withSupabase go in a pipeline array?: "it can't become a middleware under the one-key rule we settled at RFC approval."
  2. follow-up: "maybe withSupabase doesn't need to be middleware itself to fulfill the contract of the signature?"

Multi-key was not expressible, and the one-key rule was doing double duty: sound design guidance ("a middleware that wants two slots is doing too much") resting on a representational limit that also blocked the legitimate case of several one-key middleware shipping as a unit.

This PR separates those. Rule 1 stays exactly as written, for defineMiddleware. defineComposite adds the composition operator the rule was missing.

What

export const withAuth = defineComposite({
  build: (config: { mode: 'user' | 'none' }) =>
    [withGate(config), withMode(), withClaims()] as const,
  internal: ['auth'], // don't emit intermediate state
})

withAuth({ mode: 'user' }, handler)                              // nests
pipeline([withAuth({ mode: 'user' }), withPostgres()], handler)  // and goes flat

One declaration, both composition contracts — the same thing defineMiddleware gives a single-key middleware.

Contributions are derived, never declared. Inside defineComposite there is no place to name a key, so a composite publishes exactly the union of what its parts contribute and cannot over-declare: every key traces to exactly one defineMiddleware call.

Prerequisites are derived the same way — a part's In that an earlier part supplies is processed internally; anything outstanding is republished as the composite's own, exactly as a nested stack republishes an unmet requirement.

internal is for plumbing. withGate above contributes the whole auth result at ctx.auth and the projections republish the flat keys the public contract promises; auth itself is an implementation detail. Internal keys are scoped to the composite — stripped at its boundary, not merely omitted from the type, and where an upstream layer already contributed that name, its value is restored on the way out. Stripping keeps the composite's plumbing from leaking downstream; restoring means marking a key internal can never make someone else's disappear. Each name must be a key some part actually contributes, so internal cannot drift from build. Together this is what lets a composite carry state between its parts through a real ctx key instead of a request-keyed side channel, which rule 3 exists to prevent.

The type change

Entry now carries contributions as a record instead of a single Key + Contribution:

interface EntryOf<Contributes extends object, In extends object> { … }

The three-argument spelling still works. Entry is an alias that resolves Entry<'flag', {}, boolean> to Entry<{ flag: boolean }>, so existing annotations compile unchanged — including @supabase/server's public Entry<'supabase', Record<never, never>, SupabaseClient<Database>>. The two forms are told apart by whether the third argument is supplied, so a middleware whose contribution is genuinely never must use the record form; that's documented on the alias. NoConflict is widened to accept either a literal key or a record, so it serves both Middleware and Composite.

defineMiddleware is untouched — signature and runtime. A composite folds its parts exactly as pipeline does, so each part still merges its own single key and there is no multi-key merge anywhere in the engine.

One off-topic export added: bufferRequest

The engine already exports two of the three things a host needs to be an entry point — seedContext mints the context, isContext tells an upstream context from a platform argument. The third was missing, and its absence is silent: an entry that seeds without buffering is a valid upstream for every layer below it, and all of them share one single-use body, so the first reader locks out the rest.

This fault is already live in @supabase/server today. withSupabase seeds its own context at with-supabase.ts:245 and never buffers, so a body-reading middleware composed below it fails on the second read (Body is unusable: Body has already been read). It doesn't bite yet only because little composes below withSupabase; as a pipeline entry it becomes the seam every downstream middleware sits behind. Three tests pin the working stack, the unbuffered failure, and the fix:

const upstream = isContext(arg) ? arg : seedContext(arg)
const request = isContext(arg) || !req.body ? req : bufferRequest(req)

Verification

  • 123 engine tests (36 new), typecheck, typecheck:min, lint, prettier, attw, and smoke all green.
  • Internal keys are scoped, not deleted — six tests: flat, nested, no upstream counterpart, the composite's own value still visible to its parts, nested composites both marking internals, and no snapshot marker left on the context.
  • Nested composites are tested rather than assumed: a composite takes a composite as a part, contributions derive through both levels, a key the inner one marks internal stays internal through the outer, an inner outstanding prerequisite propagates outward, and a collision between an inner key and a sibling is caught.
  • TS 5.4.2 consumer floor green, with negatives added to test/ts-floor/consumer.ts. The negatives are the point at the floor: below it the failure mode is a check going quiet, so internal-key access, internal drift, composite/upstream collision, an unmet republished prerequisite, and the two-argument Entry spelling are all pinned with @ts-expect-error.
  • @supabase/server 1.5.2, unmodified, against this build: typecheck clean, and all 425 unit + nestjs tests pass.
  • The propagation overload is ported to records and produces the same error text as today for an unmet prerequisite (TS1360 … Omit<{ xxx: … }, "aaa">), checked against main as a baseline.

One behavior note

A widened entry — Entry<string, object, unknown>, i.e. hand-wrapped rather than produced by defineMiddleware — has an unknown key set, so conflict detection skips it, matching the prior semantics where a string key never matched keyof Ctx. Checking keyof C & keyof Ctx unconditionally instead would make a widened entry conflict with everything before it as well; the @supabase/server test pinning this failure mode is what catches that.

The pre-existing forward poisoning is unchanged: a widened entry folds an index signature onto the context, so later literal keys read as already present. Fixing that means not widening the entry.

What this unblocks

withSupabase becomes a composite in the follow-up PR — deconstructed into its parts and declared with defineComposite — which makes it an ordinary entry and puts placement under the caller's control:

pipeline([withOAuthProtectedResource(cfg), withSupabase({ auth: 'user' }), withPostgresClient()], handler)

That closes SDK-1713:

Request Today In a pipeline
unauthenticated discovery GET .../oauth-protected-resource 401 INVALID_CREDENTIALS 200 + the metadata document
unauthenticated tool call 401, WWW-Authenticate absent 401 + WWW-Authenticate: Bearer resource_metadata="…"
metadata OPTIONS preflight generic 204, no mcp-protocol-version 204 + mcp-protocol-version

The third row was suspected in the thread but never reproduced.

What fixes these is position. Today withSupabase is the outermost layer and returns its 401 at with-supabase.ts:212, before the middleware array folds in at :180, so nothing a caller composes can run ahead of the gate or observe its response. As one element of a caller-controlled fold it gets both: withOAuthProtectedResource runs before withSupabase is entered at all, which covers discovery and preflight, and the 401 becomes a return from inside the chain, which the enclosing generator's yield resolves to and stamps.

Why this PR lands first. The deconstruction needs both halves of it. defineComposite is how six keys ship as one entry with contributions derived from the parts, and it supplies the config-only call signature that puts withSupabase(config) in an array at all. The record Entry is what makes those six keys typed: a multi-key entry without it can only be widened, which folds an index signature onto ctx and makes any typed entry placed after withSupabase report a false middleware-conflict: key 'postgres' is already present on the upstream context — so withPostgresClient() above could not compile.

The @supabase/server side lands separately: split the gate into withGate plus the projections that republish the flat keys, declare withSupabase = defineComposite({ build, internal: ['auth'] }), and deprecate the middleware array. The committed tests for the table above go with it, since the engine cannot depend on its own consumer.

Open questions for review

  1. defineComposite: this requires deconstructing withSupabase for the fix, there may (?) be lighter solutions if we determine that single-contribution is too opinionated and not worth the cost.
  2. Is Entry as a back-compat alias worth it, or would you rather take the breaking rename now while we're 0.x and pre-launch? The alias costs one conditional type and the never-contribution caveat.
  3. internal naming and shape. internal: ['auth'] is a bit confusing on first glance, but if someone is defining a composite they will probably know when they need it. Is this acceptable?

A middleware contributes exactly one key (authoring guide rule 1). Some
units of behavior genuinely own several — `withSupabase` in
`@supabase/server` establishes six — and until now their only options were
to publish a tuple consumers had to spread, or to hand-write a multi-key
function the type layer could not describe.

`defineComposite` closes that gap without weakening rule 1. A composite is
built from single-key middleware and its contributions are *derived* from
theirs, so it cannot over-declare: every key on a composite still traces to
exactly one `defineMiddleware` call. It satisfies both composition contracts
from one declaration — it nests, and it drops into a `pipeline` array.

`Entry` now carries its contributions as a record rather than a single
`Key` + `Contribution`. The three-argument spelling is preserved as an alias
(`Entry<'flag', {}, boolean>` resolves to `Entry<{ flag: boolean }>`), so
existing annotations keep compiling. `NoConflict` is widened to accept either
a literal key or a record.

`hide` marks a part's key as internal plumbing: stripped at the composite's
boundary, not merely omitted from the type, so a downstream layer sees
neither the type nor the value. This lets a composite present a flat public
contract while using an intermediate key to carry state between its parts,
instead of a request-keyed side channel that rule 3 exists to prevent.

`defineMiddleware` is unchanged, in signature and at runtime: a composite
folds its parts exactly as `pipeline` does, and each part still merges its
own single key.

Verified:
- 108 engine tests, typecheck, lint, attw, smoke, and the TS 5.4.2
  consumer floor (negatives included) all green
- `@supabase/server` 1.5.2 typechecks and passes all 425 of its unit and
  nestjs tests against this build, unmodified

One behavior note: a widened entry (`Entry<string, object, unknown>`, i.e.
hand-wrapped rather than produced by `defineMiddleware`) has an unknown key
set, so conflict detection skips it — matching the prior semantics, where a
`string` key never matched `keyof Ctx`. It still folds an index signature
onto the accumulated context and so poisons entries placed after it; that
pre-existing behavior is unchanged and is pinned by a test in
`@supabase/server`.
@pkg-pr-new

pkg-pr-new Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@supabase/middleware@36

commit: 032e9bb

Three follow-ups from review of the composite design.

**`bufferRequest` is now exported.** The engine already exports two of the
three things a host needs to act as an entry point: `seedContext` mints the
context, `isContext` distinguishes an upstream one from a platform argument.
The third was missing, and its absence is silent. A hand-rolled entry that
seeds without buffering is a valid upstream for every layer below it, and all
of them share one single-use body — the first reader locks out the rest. This
is live in `@supabase/server`, whose `withSupabase` seeds its own context and
never buffers, so a body-reading middleware composed below it fails on the
second read. Pinned by three tests: the working stack, the unbuffered failure,
and the fix.

**The derivation guarantee is scoped to the constructor.** `__contributes` is
an optional phantom, so any `(handler) => handler` structurally satisfies any
`EntryOf` — hand-annotating a function with a record it does not produce
compiles, and the keys type as present while being undefined at runtime. The
phantom cannot be made required; it never exists as a value. So "cannot
over-declare" is a property of `defineComposite`, which derives contributions
from its parts and offers no place to name a key, not of the type. Said plainly
in the `EntryOf` remarks and the authoring guide, with guidance to build
composites with the constructor and reserve a bare annotation for describing a
function you did not write.

**Nested composites are tested rather than assumed.** A composite accepts a
composite as a part: contributions derive through both levels, a key the inner
one hides stays hidden through the outer, an inner outstanding prerequisite
propagates outward, and a collision between an inner key and a sibling is
detected.

115 engine tests, typecheck, lint, prettier, attw, smoke and the TS 5.4.2
consumer floor all green. `@supabase/server` 1.5.2 unmodified still typechecks
and passes all 425 unit and nestjs tests against this build.
The composite docs described what the engine used to be rather than what it
is — "before this primitive their only options were", "contributions used to be
one Key plus one Contribution", "no change to defineMiddleware", "the original
three-argument spelling, kept so existing annotations keep compiling". That
framing is only legible to someone reading the diff, and it ages into noise once
the diff is history.

Rewritten to describe the design directly:

- The module header states what a composite is and what a consumer gets from
  one, rather than the gap it filled.
- The runtime note says the parts fold as `pipeline` folds them, each merging
  its own key — dropping the comparison to a `defineMiddleware` that no reader
  has a "before" for.
- `Entry`'s single-key form is documented as shorthand for a middleware
  contributing one key, which is what it is, rather than as a compatibility
  shim.
- Same pass over the authoring guide's Runtime subsection and the buffering
  test's comment.

No behavior or type change. 115 tests, typecheck, lint, prettier, attw, smoke
and the TS 5.4.2 floor green; `@supabase/server` 1.5.2 unmodified still
typechecks and passes 398 unit + 27 nestjs tests against this build.

@mandarini mandarini left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @johnstonmatt !! I do think this is the right direction!!

Checked the branch (8cebd77) against @supabase/server main and all is good! :D

Two fixes before merge, then answers to your three questions.

1. hide strips an upstream key of the same name (blocking)

The boundary in define-composite.ts deletes every hidden key from the spread context, including one the upstream contributed. The types miss it because Composite is declared over Omit<Contributions, Hidden>, so NoConflict and ValidateEntries never see hidden keys and the downstream type keeps the upstream's value.

const withUpstreamAuth = passing('auth', 'from-upstream' as const)

pipeline([withUpstreamAuth(), withAuth({ mode: 'user' })], async (_req, ctx) => {
  const still: 'from-upstream' = ctx.auth   // compiles: type says it survives
  return Response.json({ keys: Object.keys(ctx) }) // runtime: ['authMode'], auth is gone
})

Same in the nested form. Without hide the same stack fails with Conflict<'auth'>. For withSupabase, which will hide auth, any third-party auth placed before it disappears silently.

Fix: scope hidden keys to the composite. Snapshot the upstream's hidden-key values before the fold; at the boundary restore the ones that were present, delete the ones that were not. Matches what the types already say, no type change needed. A symbol-keyed snapshot on the context survives the spreads. Tests: nested, flat, hidden key with no upstream counterpart, nested composites. One doc line: hidden keys are scoped to the composite.

2. The Entry alias turns a loud error silent (blocking as written)

Entry<'k', In> with two arguments is a compile error on main. Here the Contribution = never default resolves it to EntryOf<never, In>, the pipeline context folds to never, and the error lands on the next entry as middleware-conflict: key 'later' is already present. Your documented never-contribution caveat is the same mechanism. Resolved by the rename below. If the alias stays anyway: a private sentinel default instead of never, a guard turning a string key with no contribution into an error sentinel, and the two-argument negative in test/ts-floor/consumer.ts.

Your questions

  1. Composite worth the deconstruction? Yes. One key per defineMiddleware plus decomposition is what the RFC approved, and the deconstruction is committed work. Multi-key at defineMiddleware would give a six-key withSupabase with no internal structure, losing the trust-model ordering fix and the reusable gate SDK-1596 asks for.
  2. Alias or rename? Rename. Make Entry<Contributes, In = {}> the record form, drop the conditional, keep AnyEntry. Consumers outside the engine: three sites in server, which I am rewriting anyway, and one file in middleware-openfeature. A plain SingleKeyEntry<Key, In, Contribution> is fine as a shorthand. Middleware staying single-key is correct.
  3. hide naming and shape. Shape stays: contributed key names, drift-checked against build. Name is low stakes; internal reads slightly better but I will not hold the PR on it. Point 1 is what matters.

Everything else looks good: bufferRequest, record-based ValidateEntries, the widened-entry note, nested-composite coverage.

Addresses both blocking points from review.

**Internal keys are scoped, not deleted.** The boundary deleted every hidden
name from the context, including one an upstream layer had contributed, while
the types said it survived — internal keys are absent from `Contributes`, so
neither `NoConflict` nor `ValidateEntries` sees them and the downstream type
keeps the upstream's value. For a composite that marks `auth` internal, any
third-party `auth` placed before it disappeared silently.

The composite now records what the upstream held under those names before its
parts run and restores it at the boundary, deleting only the names the upstream
did not have. The snapshot rides the context under a symbol unique to each
composite: a closure would race across concurrent requests, and a shared symbol
would let a nested composite clobber an enclosing one's snapshot. Composites
with no internal keys are untouched — no wrapper, no snapshot. Six tests: flat,
nested, no upstream counterpart, the composite's own value still visible to its
parts, nested composites both marking internals, and no marker left behind.

**`Entry` is the record form.** `Entry<Contributes, In = {}>`, no conditional,
with `SingleKeyEntry<Key, In, Contribution>` as the one-key shorthand and
`AnyEntry` unchanged. The two-argument spelling `Entry<'k', In>` is now a
constraint violation reported at the annotation, rather than resolving to a
`never` contribution and surfacing as a bogus conflict on the *next* entry.
Pinned as a negative in the consumer floor fixture.

One trap found while doing it, documented on `SingleKeyEntry` and at the call
site: the shorthand must not be used as the declared return type of a
config-only call signature. A generic alias in that position defeats the
`const Entries` tuple inference `defineComposite` performs on its `build`
result, collapsing every part's contributions to the constraint. `Middleware`
declares `Entry<{ [K in Key]: Contribution }, In>` directly.

**`hide` renamed to `internal`**, per review preference. Shape unchanged:
contributed key names, drift-checked against `build`.

121 engine tests, typecheck, lint, prettier, attw, smoke and the TS 5.4.2
consumer floor all green.

`@supabase/server` migration verified end to end against this build: 22 errors
before, 0 after, with 398 unit + 27 nestjs tests passing. Four files, +24/-19 —
`SingleKeyEntry` for the two public single-key returns, the engine's exported
`AnyEntry` plus a record-shaped `MiddlewareCtx` in `with-supabase.ts`, and
`Entry<Record<string, unknown>>` for the widened-entry test, which still pins
the same poisoning behavior.
`typecheck:min` — the engine's own source at TypeScript 5.4.2 — failed on the
new nested test. The error was on the call, not the composition: at 5.4.2 the
`Middleware` propagation overload wins where 5.9 picks the cascade, so
`Omit<Ctx, 'auth'>` lands in the produced `In`, `ctx` becomes required, and
`app(request)` reports "Expected 2 arguments, but got 1".

Anchoring the outermost call with `satisfies FetchHandler` selects the cascade
at both versions. That is what the docs already ask of an outermost call, so
the test now does what a consumer should rather than relying on which overload
happens to win.
@johnstonmatt

johnstonmatt commented Sep 4, 2026 •

Copy link
Copy Markdown
Collaborator Author

Thanks @mandarini — both blocking points fixed, and I took the rename. d488031 + 99a09a4.

1. internal keys are scoped, not deleted

Your repro was exact, and it failed in both forms — still came back null at runtime while typed 'from-upstream'. Fixed as you described: the composite snapshots what the upstream held under those names before its parts run, and at the boundary restores the ones that were present and deletes the ones that were not. No type change.

Six tests: flat, nested, no upstream counterpart, the composite's own value still visible to its parts while they run, nested composites where both mark internals, and one asserting no marker is left on the context. Plus the doc line.

2. Entry renamed to the record form

Took the rename rather than patching the alias. Entry<Contributes, In = {}>, conditional gone, AnyEntry unchanged, SingleKeyEntry<Key, In, Contribution> as the shorthand, Middleware still single-key. Entry<'k', In> is now a constraint violation reported at the annotation instead of a bogus conflict on the next entry, and that negative is in test/ts-floor/consumer.ts.

One engine-internal constraint, with exactly one site: inside Middleware, Key and Contribution are still the interface's own parameters, so any indirection over Entry there leaves a deferred mapped type that Contributions cannot infer through — every part's contributions collapse to the constraint, and the symptom is a composite's internal list failing because keyof Contributions<Entries> became never. Alias and interface-extending-Entry both do it, so Middleware spells out Entry<{ [K in Key]: Contribution }, In>.

This does not affect the usage authors actually write. A wrapper naming an entry type to thread a generic — withSupabaseClient<Database>(): SingleKeyEntry<'supabase', {}, SupabaseClient<Database>> — composes normally, because the mapped type resolves as soon as Key is a literal, which it is at every call site. Two tests pin it: such a part types through its generic inside a composite, and can be marked internal, which only works if Contributions resolved its key.

3. hide → internal

Done. Shape unchanged: contributed key names, drift-checked against build.

Your migration, verified

I ran the @supabase/server migration against this build to check your "three sites" estimate: 22 errors before, 0 after, 398 unit + 27 nestjs tests passing. Four files, +24/−19. Reverted after measuring — nothing is committed there.

  • middleware/client/index.ts, middleware/admin-client/index.ts — Entry → SingleKeyEntry on the public return and its cast. One word each.
  • with-supabase.ts — drop the local type AnyEntry = Entry<string, object, unknown> and import the engine's AnyEntry; MiddlewareCtx folds Entry<infer Contributes> instead of destructuring Key/Contribution, which makes it shorter.
  • with-supabase.test.ts — the widened-entry test becomes Entry<Record<string, unknown>>, and still pins the same poisoning behavior, so the Widened guard is doing its job through the rename.

Everything else was cascade off those.

One thing to flag — pre-existing, not from this PR

typecheck:min failed on the new nested test, and chasing it down turned up something that has nothing to do with composites. On main, at TS 5.4.2, this does not compile:

const app = withOuter(withInner(async (_req, ctx) => Response.json({ o: ctx.outer })))
await app(new Request('http://localhost/'))
//    ^ TS2554: Expected 2 arguments, but got 1

Two plain defineMiddleware layers, no defineComposite, none of this branch. I checked it in a worktree on main to be sure.

The trigger is all three of: no satisfies FetchHandler on the outermost call, an inner handler that reads a key the enclosing layer contributes, and then calling the stack with just a request. Drop any one and it compiles. At 5.9 it compiles either way — 5.4.2 picks the propagation overload where 5.9 picks the cascade, so Omit<Ctx, key> lands in the produced In and ctx becomes required.

Three things that make this mild:

  • It is loud. A compile error, not a silent wrong type. The only unhelpful part is that it lands on the call rather than on the composition that caused it.
  • The fix is what the docs already prescribe — anchor the outermost call. That is what I did in the test, so it is idiomatic rather than a workaround.
  • Existing coverage never hit it because the consumer fixture anchors everything and never calls a produced handler. That gap is worth closing on its own.

123 engine tests, typecheck, typecheck:min, lint, prettier, attw, smoke and the 5.4.2 consumer floor all green.

The remark told authors not to use `SingleKeyEntry` as the declared return type
of a config-only call signature. That reads as a warning about the one thing
authors actually write — a wrapper that names an entry type to thread a generic
through a middleware, which is how `@supabase/server` declares
`withSupabaseClient<Database>`. That usage is fine.

Verified fine, and now pinned: a part declared `SingleKeyEntry<'thing', {},
Client<Database>>` composes normally, types through the generic, and can be
marked `internal` — which only works if `Contributions` resolved its key.
Concrete instantiations were never at risk; the mapped type resolves as soon as
`Key` is a literal, which it is at every call site.

The constraint is engine-internal and has exactly one site. Inside
`Middleware`, `Key` and `Contribution` are still the interface's own
parameters, so any indirection over `Entry` leaves a deferred mapped type that
`Contributions` cannot infer through. Both an alias and an interface extending
`Entry` were tried; both collapse every part's contributions to the constraint.
That reasoning moved to a comment at the site it governs, and the public remark
now shows the wrapper pattern instead of warning against it.

123 engine tests, typecheck, typecheck:min, lint, prettier, attw, smoke and the
5.4.2 consumer floor all green.
A pass over everything the branch added, for accuracy first.

Wrong, now fixed:

- `NoConflict` claimed to name "the first offender". It resolves to a union of
  messages when several keys collide, so it names all of them.
- The config-only comment in `Middleware` had my note wedged into the middle of
  the existing sentence about overload fall-through, leaving both mangled.
- The authoring guide justified stripping internal keys by saying it stops them
  shadowing "a layer further down", then said an upstream's key is restored.
  Two opposite directions read as a contradiction; both are now stated as such,
  one clause each.

Stale after the rename: prose and identifiers still said "hidden" where the
option is `internal` — `@param spec.internal`, the guide, two describe blocks
and seven test titles, `Hidden`/`UpstreamHidden`, and "so it is hidden" in the
example.

Trimmed without losing content: `Entry`'s remarks (16 lines to 10),
`SingleKeyEntry`'s example (a signature, not a body with a double cast), and the
two runtime comments in `defineComposite`, which both explained the scoping and
now say one thing each.

Also dropped a "now matches what the types say" — the reader has no "before".

No behavior or type change. 123 tests, typecheck, typecheck:min, lint, prettier,
attw, smoke and the 5.4.2 consumer floor green.
@johnstonmatt
johnstonmatt marked this pull request as ready for review September 4, 2026 12:05
@johnstonmatt
johnstonmatt requested review from a team as code owners September 4, 2026 12:05

@mandarini mandarini left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-reviewed and I'm approving! :D Thanks for taking the rename and for the concurrency-safe snapshot design!!

The TS 5.4.2 unanchored-nesting finding is filed as SDK-1731, I'll do as followup at some point!

@mandarini
mandarini merged commit 9396cb7 into main Sep 4, 2026
5 checks passed
@mandarini
mandarini deleted the feat/composite-middleware branch September 4, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants