Skip to content

chore(deps): bump 17 patch releases, including Effect 4.0.5 - #899

Merged
allisonmahmood merged 1 commit into
mainfrom
deps/877-patch-group
Oct 23, 2026
Merged

allisonmahmood merged 1 commit into
mainfrom
deps/877-patch-group

Conversation

@allisonmahmood

@allisonmahmood allisonmahmood commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

What changed

Dependabot's patch-updates group (#877) failed nearly every check, all from two real breaks. This applies the group's 17 patch releases (Effect 4.0.1 → 4.0.5, vite 8.3.4, vitest 5.0.5, turbo 2.11.9, and the rest in #877's table) with the fixes they need. Nothing changes for someone using Patchy.

Replaces #877, which stays open for Allison to close.

Look at

Why #877 is red. No flakes were involved. Every failing job comes down to one of two breaks:

  1. @patchy/companies and @patchy/portal stopped building (lint, image, cli-smoke, tier2-smoke, browser and the test jobs all build first). Effect 4.0.5 lets UrlParams carry Redacted values for outgoing requests, so its entries are now typed string | Redacted; 4.0.6 keeps that type. Three forms spread Object.fromEntries(yield* request.urlParamsBody) into string fields:
    src/Join.ts(169,47): error TS2339: Property 'trim' does not exist on type 'string | Redacted<string>'.
    src/CompanyPage.ts(338,72): error TS2322: Type 'string | Redacted<string>' is not assignable to type 'string'.
    src/PortalPages.ts(513,11): error TS2322: Type 'string | Redacted<string>' is not assignable to type 'string | undefined'.
    
    A parsed request body only ever holds strings, because urlParamsBody is UrlParams.fromInput(new URLSearchParams(text)). So the join form, the invite form and the patch card forms now read new URLSearchParams(yield* request.text) themselves: last value wins, as before, and MaxBodySize still applies to the read. The MCP stack, which landed after build(deps): bump the patch-updates group across 1 directory with 17 updates #877 opened, added one more caller of the same shape: the OAuth token endpoint (packages/auth/src/OAuthEndpoints.ts tokenParams). It rebuilt URLSearchParams from urlParamsBody's entries and now reads the text directly. The other urlParamsBody callers pass the record to Schema.decodeUnknown* or use UrlParams.getFirst, which still return strings; they're unchanged.
  2. Two CLI test files (cliRepo.test.ts, cliRepoBuild.test.ts) expect the loaded vite and vite-plugin-singlefile to match packages/patchy/src/toolchain.json's testedAgainst:
    AssertionError: expected 'Loaded vite 8.3.4 is unsupported; thi…' to contain 'Loaded vite 8.3.2 is unsupported'
    
    testedAgainst now matches the bumps (vite 8.3.4, vite-plugin-singlefile 2.3.4, and @types/node 22.20.5, which the packed Preact e2e installs). The accepted ranges, and the upgrade line in the CLI README and ADR-0004, are unchanged.

Also from the MCP stack: packages/mcp gets the same vitest range (^5.0.5) and lockfile entries as its siblings. A textual rebase left its importer pointing at Effect 4.0.1 snapshots that no longer exist; after the fix, pnpm install --frozen-lockfile passes and pnpm install --lockfile-only makes no change.

How it was verified

  • pnpm build, pnpm typecheck, pnpm lint, pnpm format:check are clean locally. Before the fix, pnpm build failed on exactly the errors above.
  • packages/patchy/src/cliRepo.test.ts + cliRepoBuild.test.ts: 48/48 pass (4 failed on build(deps): bump the patch-updates group across 1 directory with 17 updates #877).
  • packages/auth, packages/mcp, packages/companies, packages/portal and the two CLI files: 498/498 pass on the rebased head. They post the join, invite, role and patch card forms and the OAuth token requests.
  • pnpm verify and Sol review, round 1 on the pre-train head; CI and acceptance on every head (see comments).

Release impact

  • Breaking — requires action from anyone already running this
  • Not breaking — no action required

Dependency patch releases. The forms take the same fields with the same last-value-wins parsing. testedAgainst only shows up in the CLI's toolchain messages and the e2e installs.

  • What does a revert leave behind? Nothing: no schema, data or contract change.
  • Does the release before it still work with that? Yes.

Built by Claude Opus 5.5 (xhigh) in Claude Code on T3 Code; reviewed and accepted by GPT-6.1-Sol (xhigh).

@github-actions github-actions Bot added area:server Touches the server area area:ci CI, shared testing infrastructure, development scripts and tooling area:cli Touches the cli area area:primitives Patch tables and files area:integrations Company connections and integration implementations area:ui Portal and first-party browser pages, shared rendering and styles size:s Under 100 changed lines labels Oct 23, 2026
@allisonmahmood

Copy link
Copy Markdown
Owner Author

Review: GPT-6.1-Sol (xhigh), 1 round

Round 1 on 89ee9fb found nothing, blocking or otherwise.

  • Form parsing: the three replacements keep last-value-wins, percent/plus decoding, malformed-escape handling and content-type handling, as urlParamsBody itself doesn't check content type. The portal's 16 KiB cap still applies, and read failures are still HttpServerError / RequestParseError. Checked with 50 parser-parity cases plus body-limit and stream-error probes.
  • The other urlParamsBody callers are safe: four go through Schema, and UserLifecyclePage.ts uses the getters, which still return strings.
  • Effect 4.0.1 → 4.0.5 sources were compared for SQL, HTTP, filesystem and CLI changes. Nothing else affects this code.
  • toolchain.json: every testedAgainst matches the installed version and sits inside its accepted range. The README and ADR-0004 repair commands still hold.
  • Lockfile: one Effect, one Vitest, pnpm 12 settings intact. No missed surface.

Local pnpm verify on 89ee9fb: 8 of 9 suites passed. In test, 2035 of 2036 passed. The one failure was cliRepoPublish.test.ts, where tar read typescript.js while another worktree on this machine was re-patching it in the shared pnpm store (File shrank by 5547416 bytes). Re-run alone it passes 3/3, and CI's three test jobs passed.

@allisonmahmood
allisonmahmood force-pushed the deps/877-patch-group branch 3 times, most recently from 0050f14 to c41db26 Compare October 23, 2026 17:40
@github-actions github-actions Bot added size:m 100-500 changed lines and removed size:s Under 100 changed lines labels Oct 23, 2026
Dependabot's patch-updates group (#877) applied as is, plus the fixes
it needs:

- Effect 4.0.5 types UrlParams entries as `string | Redacted`, so the join,
  invite and patch-card forms and the OAuth token endpoint read their
  fields from the body text through URLSearchParams, which is what
  urlParamsBody does internally.
- The CLI's toolchain.json moves testedAgainst with vite 8.3.4,
  vite-plugin-singlefile 2.3.4 and @types/node 22.20.5; accepted ranges
  are unchanged.
- packages/mcp, which landed after Dependabot opened #877, gets the same
  vitest range and lockfile entries as its siblings.

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

Copy link
Copy Markdown
Owner Author

Review: GPT-6.1-Sol (xhigh), round 2 (after the rebase over the MCP stack, #900 and #901)

Round 2 on c41db26 found nothing, blocking or otherwise. The patch is unchanged through 6d5fe22 and e518fe2: each later rebase only moved the base, by CI and acceptance-doc files.

  • OAuth token endpoint (tokenParams): reading request.text into URLSearchParams keeps parameter order, duplicates, decoding and the "Send X only once" check. The header checks still run first. The 8 KiB limit and the error mapping are equivalent: a declared oversize body gets 413, and body-read or streamed-size failures get 400. Checked with equivalence tests and Node body-reader probes at and past 8 KiB.
  • The MCP stack's other form readers are safe under 4.0.5: the consent and agent-access decoders accept the parsed strings, and logout's UrlParams.getFirst returns a plain string.
  • Lockfile: packages/mcp matches its siblings, every snapshot reference resolves, Effect resolves only to 4.0.5, and the importer edits are exactly the intended version substitutions.
  • No missed surface. 186 tests across 17 suites passed.

@allisonmahmood

Copy link
Copy Markdown
Owner Author

Acceptance: PASS with notes

The PR moved to e518fe227dbb6851a36face24d4ad94fb49362bb during this run. This verdict covers only the requested 6d5fe22; the new head needs its own acceptance run.

Checked 6d5fe225bf4fc8197a729afbfaab8421a6d9939d (base 7eb5b491c8b3aa64ef567f4434f93ab260f3b495) on fresh team, brightline and packed-suite instances, by GPT-6.1-Sol (xhigh) in Codex on T3 Code. Production and personal MCP configuration were untouched.

Done means (PR claims; no linked issue)

  • Dependency/toolchain/lockfile updates: passed, with the timing note below. Frozen install passes on Node 24.20.0 / pnpm 12.9.1. pnpm install --lockfile-only --ignore-scripts leaves the lockfile unchanged. Format, lint, typecheck, infrastructure synthesis, all 28 Postgres concurrency tests, packed CLI/Preact, packed tier 2 and all 81 Chromium tests pass. The full offline suite passes 2,300/2,301 tests; the sole timeout passes in isolation. All checks in the CI run for this exact head pass, including Node 22/24/26, Node 26 CLI, image and live Clerk.
  • Join/invite parsing: passed over real HTTP. Repeated email, role, action, invitation, company name and handle fields use the last value. Encoded plus, percent and UTF-8 survive, and company names trim. A member cannot invite. An invited person joins and reaches Home; revoke, deactivate and reactivate work.
  • Patch card parsing: passed over real HTTP. Description, scope, rollback, reassignment, retire, delete and restore forms work. Sharing reverses, version 1 returns at the address after rollback, and retirement/deletion replace the patch with their notices until restoration. Exactly 16,384 bytes are accepted; 16,385 are refused without changing the description. The socket-reset detail below reproduces on the base.
  • Fresh MCP agent connection: passed end to end. With agent access on, Jordan consents using the real Claude Code client metadata document, gets the matching state/issuer and exchanges the authorization code with S256 PKCE. Refresh rotates the refresh token. Each of the eight token parameters, duplicated separately, returns 400 invalid_request with Send X only once. An oversized form returns 413, JSON content type returns 400, and an exactly 8,192-byte form successfully refreshes. The resulting token initializes MCP, finds four patches, opens New Business and executes real tier 2 reads and a lead mutation. Repeating the same change key replays without a second lead. Both legacy and modern MCP requests work. Turning agent access off refuses calls and names the admin; turning it back on restores the connection. Allison independently consents and reads the member-created lead.

Golden journeys

  • Sign in / machine login: passed through the signed-out company door, packed CLI login/lifecycle checks, auth suites and exact-head Clerk CI.
  • Publish / share and unshare / lifecycle: passed through fresh file publishes, all card actions, packed CLI and Chromium.
  • Find and open: passed in portal route tests and fresh MCP discovery/open. The named Home/Kudos browser walkthrough was not repeated.
  • Tier 1 live: passed through the packed tier 1 journey and Chromium's multi-viewer subscription checks.
  • Tier 2: passed through packed init/typecheck, both dev mounts, hosted two-viewer sync, dropped-reply retry, files, members, CSV and tier changes, plus the fresh OAuth/MCP read/change journey.
  • Invite and join: passed on fresh team data, including its reverse states.

Rollback answers: match the diff against 7eb5b49. No migration, persisted-data shape, wire-contract or deployment behavior change; reverting leaves nothing the base cannot read. No one-way label needed.

Applicable surfaces were request-body consumers, CLI/toolchain and served-page behavior. No dev-runner contract, vocabulary, migration, company-resource or repository-layout changes needed mirroring.

Selected direct evidence and local verification result
PASS invite: repeated email/role use last values; encoded plus and percent retained
PASS join: repeated action/invite use last values; invited person lands on Home
PASS pending invitation can be revoked
PASS joined member deactivates and reactivates
PASS company creation: last fields win, UTF-8/plus/percent decode, name trims
PASS card description, scope, rollback, reassign, retire/restore/delete/restore

PASS member consent Allow -> PKCE authorization-code exchange
PASS OAuth refresh succeeds and rotates the refresh token
PASS all eight duplicated token parameters refused: Send X only once
PASS oversized OAuth token form refused with 413
PASS non-form OAuth token content type refused
PASS 8,192-byte OAuth token form refreshes successfully at the exact limit
PASS agent tool read executes real tier 2 handler and returns seeded deals
PASS agent tool mutation creates one lead; same-key retry replays without duplication
PASS modern MCP envelope executes agent read with refreshed OAuth token
PASS agent access off refuses calls; on restores connection
PASS admin independently consents and reads the member-created lead

PASS format
PASS lint
PASS typecheck
PASS synth
FAIL test: 1 timeout, 2,300 passed; isolated rerun 1 passed / 10 skipped
PASS postgres-concurrency: 28 tests
PASS cli-smoke: packed CLI and packed Preact
PASS tier2-smoke
PASS browser: 81 tests

Not run

  • Live Clerk locally: used the passing CI job on 6d5fe22; local invitations used personas and sent no mail.
  • The named Brightline Home/Kudos/Spend browser walkthroughs were not repeated. This run used fresh packed/browser equivalents and New Business's real agent handlers.
  • Acceptance of e518fe2: outside this exact-head run.

Notes

  • The full offline run timed out waiting 20 seconds for a refreshed look in devLifecycle.test.ts (refresh brings a new look into a running session, which serves it without a restart). Its isolated rerun passed in 7.36 seconds, and all three exact-head CI test jobs passed. The cause is unconfirmed; recorded as an observed timing flake in #903. No timeout, test or product code was changed.
  • For the 16,385-byte card form, the Node HTTP client observes ECONNRESET; the server records 422 and the description stays unchanged. A second fresh checkout/instance at base 7eb5b49 reproduces exactly the same result. The OAuth oversized-body check independently receives the required HTTP 413.
  • The installer ran with a Node installation containing no global patchy. Every direct environment CLI call unset PATCHY_API_URL and PATCHY_API_TOKEN, used the environment's bin/patchy and cli-state, and supplied the allowed repo-local NODE_PATH workaround. All instances started for this run have been stopped.

@allisonmahmood

Copy link
Copy Markdown
Owner Author

The acceptance verdict for 6d5fe22 (PASS with notes) carries to the current head, e518fe2. e518fe2 is 6d5fe22 rebased cleanly onto 185ecf7, and #901's only change is three added lines in .agents/skills/acceptance/SKILL.md. git range-diff shows the commit unchanged (6d5fe22 = e518fe2). All 14 checks pass on e518fe2.

@allisonmahmood
allisonmahmood merged commit 5dd94f3 into main Oct 23, 2026
14 checks passed
@allisonmahmood
allisonmahmood deleted the deps/877-patch-group branch October 23, 2026 18:17
allisonmahmood added a commit that referenced this pull request Oct 23, 2026
## What changed

This PR adds release 17's What's new entry, written from `5dd94f3`. It
covers everything merged since release 16's `through` (`dd3f41f`), and
it sets the `patchy` release to `0.17.0` in
`packages/patchy/package.json` and `CURRENT_RELEASE`. With this release,
people's agents can use their company's patches through Patchy MCP
(#833).

| Change | PRs |
| --- | --- |
| New: Your AI agent can use your company's tools | #873, #878, #880,
#881, #882, #883, #884, #886, #887 |
| New: Admins choose whether agents can use the company's tools | #871 |
| Improved: Your machines shows your agents too (Revoke all machines is
now Disconnect everything) | #885, #879 |
| New: See what agents can do with a tool | #876 |
| New: The log says when an agent made a change | #888 |
| New: Your agent can make a tool ready for agents | #869, #870, #872,
#875, #896 |
| Behind the scenes: agents' calls have their own limits, and a server
only an agent uses rests a minute after its last call | #889, #892 |
| Behind the scenes: New and Improved changes are public, for
patchyhq.com | #893 |
| Behind the scenes: library updates | #899 |

Five merged PRs get no line:
- #874 is release 16's own entry.
- #894 is dev tooling: worker agent launchers and scenario data. Its one
CLI fix lets a `patchy` installed outside a tier 2 repo publish it. The
skills have agents use the repo's pinned `pnpm patchy` instead, so that
path is off the documented one.
- #900 is CI.
- #901 rewords an internal skill.

## Look at

- **The entry**, at the top of `releases` in
`packages/core/src/whatsNew.ts`.
- It names only Claude Code and Codex. Both have connected through real
consent against dev instances. Hosted clients (Claude.ai, ChatGPT) are
checked in production only (`docs/product.md` › Patchy MCP ›
Acceptance).
- Its labels are the pages' own: Agent access on Company, Your machines,
What agents can do, Disconnect everything, and "Jordan Lee via Claude".
- **Rollback safety, from the live commit `e4243ff` to `5dd94f3`.**
- No PR in the range is labelled `one-way`, and every PR answers both
Release impact questions with "Yes".
  - Migrations 0020–0025 are all additive:
    - three defaulted or nullable columns on `companies`;
- `agent_name` on the runtime log, with a widened `credential_kind`
check;
    - the agent connection tables, `agent_consents` and `change_keys`;
    - two columns on execution bindings.

The new tables reference `users` without a cascade, but no release
deletes users or companies. Release 16 reads the runtime log only for
credential kinds it knows, so rows from agents can't break it.
- `rollback-rehearsal` on #892 rehearsed the whole stack, since #892
adds the last migration and the rest of the stack sits below it:
`Exercised rollback paths passed: e4243ff → c8bede4 → e4243ff → c8bede4,
in 238s.` #896's run skipped, because it changes no migration or handler
descriptor.
- #883 turns on the load balancer's host header preservation, which the
Deploy workflow's app stack deploy applies. A rollback leaves it on.
That's harmless, because release 16's server never reads `Host`.
- A rollback takes `/mcp` and `/whats-new.json` away. Connected agents
get a 404 until this release returns, and then their connections work
again, unless one ended in between. Agent tools published in between
stay refused to pages, because #837 already shipped in release 16.

## How it was verified

- `pnpm check` on `2d528b1`: format, lint, typecheck and synth passed.
In the test step, 2,300 of 2,301 tests passed. The one failure was
`packages/sdk/src/install.test.ts` › "says how to reach patchy when the
prefix's bin is not on PATH", which timed out at 180 s while the shared
machine was loaded. Rerun alone, that file passes all 7 tests in 62 s.
The release's own tests pass too: `whatsNew.test.ts`, `schemas.test.ts`
and `WhatsNewPages.test.ts`.
- The live commit was pinned from `/healthz/deep`: `e4243ff`, release
16. The Deploy run updated last succeeded, and none is unfinished.
- Each PR in the range was read with `gh pr view`, including its Release
impact answers.

## Release impact

- [ ] **Breaking** — requires action from anyone already running this
- [x] **Not breaking** — no action required

This PR changes only the changelog text and the `patchy` version. As
with every release, a CLI installed before this deploy is told to
upgrade.

- **What does a revert leave behind?** Nothing. People whose seen marker
reached 17 would just see no new release.
- **Does the release before it still work with that?** Yes.

If this release misbehaves, roll back to
`e4243ff54d2acbbc88b60eeb0cf9b82a26dc9d5d` (release 16).

Prepared by Claude Opus 5.5 (xhigh) in Claude Code on T3 Code.

Co-authored-by: Claude Opus 5.5 <[email protected]>
allisonmahmood added a commit that referenced this pull request Nov 18, 2026
## What changed

Brings every outdated dependency outside the Effect, TypeScript,
TanStack Hotkeys and workerd lanes up to the newest release pnpm's
one-day `minimumReleaseAge` installs, and clears the repo's open
Dependabot alerts (undici, minimatch). People using Patchy notice
nothing. Their next CLI release ships Preact 11.2.0, parse5 8.1.1 and
undici 8.12.4.

Supersedes the Dependabot PRs in the table, which stay open for Allison
to close. One commit per package or group.

| Package | From | To | Supersedes |
| --- | --- | --- | --- |
| `@aws-sdk/client-s3`, `@aws-sdk/client-ecs` | 3.1146.0 | 3.1167.0 |
#1399, #1390 |
| `@clerk/backend` | 3.23.0 | 3.27.0 | #1398 |
| `tough-cookie` | 6.0.2 | 6.1.0 | #1397 |
| `rolldown` | 1.2.15 | 1.3.2 | #1396 |
| `rolldown-plugin-dts` | 0.28.8 | 0.30.2 | #1388 |
| `posthog-node` | 5.55.0 | 5.69.0 | #1395 |
| `@babel/parser`, `@babel/types` | 8.0.8 | 8.1.2 | #1394, #1393 |
| `preact` (bundled in the CLI) | 11.1.0 | 11.2.0 | #1392 |
| `vitest` | 5.0.5 | 5.1.0 | #1389 |
| `@playwright/test` | 1.63.0 | 1.65.0 | #1387 |
| `parse5` (catalog) | 8.0.1 | 8.1.1 | #1386 |
| `imapflow` | 2.10.2 | 2.11.0 | #1385 |
| `aws-cdk` / `aws-cdk-lib` | 2.1144.0 / 2.272.0 | 2.1148.1 / 2.276.0 |
#1383 |
| `oxlint`, `@oxlint/plugins` / `oxlint-tsgolint` | 1.90.0 / 7.0.2005 |
1.93.0 / 7.0.2006 | #1382 |
| `npm`, `turbo`, `@electric-sql/pglite`, `semver`, `vite` | 12.2.1,
2.11.9, 0.5.10, 7.8.5, 8.3.4 | 12.2.2, 2.11.11, 0.5.16, 7.8.6, 8.3.8 |
#1401 |
| `papaparse` | 5.7.0 | 5.7.1 | none |
| `minimatch` | 10.2.6 | 11.0.8 | none (alerts 21, 22) |
| `undici` (transitive, lockfile only) | 8.11.2 | 8.12.4 | none (alerts
13 to 18) |

Newer releases exist for `@aws-sdk/*` (3.1168.0), `@clerk/backend`
(3.28.0), `posthog-node` (5.71.0) and `oxlint-tsgolint` (7.0.2007), but
they were still under a day old.

## Look at

**Why the three red Dependabot PRs failed, and the fixes.**

1. **parse5 (#1386, every test job).** `html-policy.test.ts` expected
`<b><div>` + 6,000 `<br>` + `</b>` to cross the HTML repair bound.
parse5 8.1 now moves the children of an element closed out of order last
child first
([inikulin/parse5@e2901d06](inikulin/parse5@e2901d06)).
That cost used to grow with the square of the child count, and the
repair bound charges for exactly that cost. The old test described the
old parser, not a product rule. The same page now parses in milliseconds
and reads its title, as a browser does. The test now asserts that a
15,000-child block reads its title, and the comment on `locate` says
why. Timed through `documentTitle` with 64 KB inputs, the bound that
fires on each version:

   | Input (64 KB) | parse5 8.0.1 | parse5 8.1.1 |
   | --- | --- | --- |
| `<b><div>` + `<br>`… + `</b>` | repair bound, null | 19 ms, title read
|
| `<a><div>` + `<br>`… + `<a>` | repair bound, null | 11 ms, title read
|
| `<table><b><div>` + `<br>`… | repair bound, null | 9 ms, title read |
| 500 distinct `<b a=n>` + `x<p>`… | created bound, null | created
bound, null (234 ms) |
   | deep `<span><div>` pairs | depth bound, null | depth bound, null |

   Every other shape I tried parses in under 20 ms on 8.1.1.

**The sibling-repair bound keeps a test of its own.** On 8.1.1 no known
input reaches `MAX_REPAIR_WORK`. A fuzz of about 22,000 generated
documents and fragments, repeated motifs over tables, formatting
elements, foster parenting and adoption, never had a single move pass
more than one sibling. With the check removed, every parse test still
passed, because their refusals come from the created-node and attribute
bounds. The bound stays as the guard against a parser release that moves
front first again, as parse5 did before 8.1, and the comment on `locate`
now says so. Its test drives the bounded tree adapter directly
(`boundedTreeAdapter`, now exported from the module for it; core's
package exports are unchanged). Detaching 6,000 children last first
passes, and detaching them front first is refused with the repair
message. With line 91's check deleted, the test fails:

   ```
× bounds error recovery that moves nodes from the front of a long
sibling list 112ms
FAIL packages/core/src/html-policy.test.ts > boundedTreeAdapter > bounds
error recovery that moves nodes from the front of a long sibling list
   AssertionError: expected [Function] to throw an error
         Tests  1 failed | 31 passed (32)
   ```

With the check in place, 32 of 32 pass. parse5 8.1 also brings a series
of security fixes: mutation-XSS cases where parse5's tree differed from
a browser's, and quadratic parse times. bundleCheck and the HTML policy
now see the tree a browser builds in those cases. The rest of
`packages/core`, `serving/src/shell`, `bundleCheck`, `repoBuild.test.ts`
and `pageImports` pass unchanged.

2. **Babel (#1394, lint).** `@babel/parser` takes its AST types from
`@babel/types`. With only the parser on 8.1.0, the CLI had two copies of
the types, and `editUses.ts`, `packagePin.ts` and `pageImports.ts`
failed to typecheck (`Type 'ArrayExpression' is not assignable to type
'Node'`, plus an excessive-stack-depth error). Both now move to 8.1.2
together, and `pnpm typecheck:tests` is clean.

3. **Patch group (#1401, test on Node).** `cliRepo.test.ts` and
`cliRepoBuild.test.ts` expect the loaded vite to match
`packages/patchy/src/toolchain.json`'s `testedAgainst` (`expected
'Loaded vite 8.3.7 is unsupported' to contain 'Loaded vite 8.3.4 is
unsupported'`). Those files are Node-only, which is why Bun passed.
`testedAgainst` and the patchy-loop skill's toolchain table now say
8.3.8, as #899 did for the last vite bump. The accepted range stays
`^8.3.0`.

**CDK synth.** I synthesized the production example (`synth:example`'s
context) before and after the aws-cdk bump. Both templates differ only
in the `CDKMetadata` analytics blob, which encodes the library version.
No resource changed. The new feature flags are left unset and keep their
old behaviour.

**rolldown-plugin-dts 0.30** folds `dtsInput` into `dtsOnly`, so the
release build now names the new option. The published `.d.ts` files are
byte-identical except that `preact.d.ts` and the two JSX runtime entries
keep their bare `import "./preact/runtime.js"`. rolldown emits that as
one `_types/runtime-*.d.ts` holding `export {}`. The plugin forces
internal modules to keep side effects in `dtsOnly` mode, so there's no
option to drop it. TypeScript reads it as an empty module.

**Behaviour changes in changelogs, and why none needed a change here:**
- `@clerk/backend` 3.26.1 refuses the legacy `cl_I7d4PD111III` JWT
category, which Clerk no longer issues. 3.28.0, not taken here, will
refuse session JWTs without a `cat` header. We only call
`authenticateRequest` on Clerk-issued tokens.
- `tough-cookie` 6.1 refuses `Secure` cookies set from plain-http
origins other than loopback, and wants an explicit `Path=/` on `__Host-`
cookies. It is used only in auth's tests, which pass.
- `posthog-node` 5.57 to 5.69 change local flag evaluation, exception
autocapture and email. We use only `capture` and `shutdown`, with GeoIP
off.
- `@electric-sql/pglite` 0.5.12 runs initdb with `TZ=UTC`, so new local
`.patchy/` databases default to UTC, as production does. 0.5.15 rejects
committing an aborted transaction instead of resolving.
- Preact 11.1.1 and 11.2.0 reach every page the CLI bundles. An `on*`
prop with a non-function value no longer registers an event handler. A
thrown `null` or `undefined` now reaches error boundaries as itself
instead of a `TypeError`. A node that unmounts keeps its handlers, so an
event already bubbling through it finishes. `<template>` in SVG and
MathML now renders and hydrates. These are fixes to what a page
observes. No change to `patchy/preact` was needed, and the packed Preact
suite (one runtime, hooks, compat, signals, `useQuery`, dev debugging)
passes.
- `imapflow` 2.11 only adds an opt-in `sessionExpires` option.
- The `@aws-sdk` clients gain features and fixes. S3 and ECS keep their
protocols. `@aws-sdk/client-ecs` now sets a default socket timeout of
900,000 ms. That's moot here: every ECS call runs under our own
`Effect.timeout`, which aborts the request through its `abortSignal` at
10 s for management calls, 40 s for `list` and 50 s for starts.
- `aws-cdk` 2.1148 rejects a single-value option given twice. The deploy
workflow repeats only `-c`, which takes many.
- Playwright 1.64 forwards a device descriptor's `screen`, and 1.65
loads `.css` imports in test files as empty modules. The CI browser
cache keys on `playwright --version`, so it follows the bump without a
change.

## How it was verified

- Each red Dependabot failure was reproduced locally first, then the
targeted suites ran green: `html-policy.test.ts`, `typecheck:tests`,
`cliRepo`, `cliRepoBuild`, `initProject`, the Babel-using CLI suites,
the auth suites that use tough-cookie, the IMAP suites,
`company-database`, CSV, the labeler test, the lint plugin's tests and
`apps/infra`.
- `pnpm audit` went from 9 advisories (8 undici, 1 minimatch) to none.
Under minimatch 10 and 11, every one of the 54 label globs matches the
same 1,457 tracked files.
- papaparse 5.7.1 parses the CSV test's 500,000-row input in about 300
ms, against about 470 ms on 5.7.0.
- `pnpm check`: format, lint, typecheck and synth pass. The offline
tests passed 3,603 of 3,613. The 10 failures were this shared machine,
not the change: two timeouts under a load average near 40, and
`install.test.ts`, which needs npm beside the Node that runs it while
this shell's first `node` was a system build without one. Rerun alone on
Node 24.20.0 (CI's and `mise.toml`'s), those three files pass, 90 of 90.
- `pnpm verify` on Node 24.20.0: format, lint, typecheck, synth,
postgres-concurrency, cli-smoke, install, tier2-smoke and browser
(Chromium and Firefox) pass. `test` and `test (bun)` failed on timeouts
while the shared machine ran near load 45: 25 Node cases in 18 files and
9 Bun cases in 8 files, nearly all `Test timed out`. Rerun alone, the 8
Bun files pass (149 of 149), and 17 of the 18 Node files pass. The last
one, `PgliteCompanyDatabases.test.ts`, timed out its 5 s case once more
among the 18 and passes alone twice in about 1.6 s. PGlite 0.5.16 boots
a fresh database as fast as 0.5.10 (1.1–2.4 s against 1.4–2.4 s over
three cold boots each). CI's `test (24)` and `test (bun)` passed on this
branch.
- Not run locally: the live Clerk, Pidgeon, Attio and IMAP suites, which
create real accounts and send mail, the server image and the rollback
rehearsal. CI runs them.

**Left out:** `embedded-postgres` 18.6.0-beta.19. It swaps
`async-exit-hook`, which `patches/[email protected]` fixes,
for `exit-hook` 5. That honours `process.exitCode` on `beforeExit`, so
the patch could go. But exit-hook also installs `exit` and IPC `message`
listeners, and prints a termination notice on any explicit
`process.exit()` while Postgres's async hook is registered. The dev
supervisor, `packed-cli-e2e.mjs` and `rollback-rehearsal.ts` all manage
those handlers by hand, so moving needs its own pass over their signal
and exit codes.

## Release impact

- [ ] **Breaking** — requires action from anyone already running this
- [x] **Not breaking** — no action required

Library and tooling bumps. No API, schema, CLI flag or configuration
change. The CLI release bundles a newer Preact, parse5 and undici. CDK
templates are unchanged.

- **What does a revert leave behind?** Nothing. Lockfile, manifests and
one test change. No migration, data or infrastructure moves.
- **Does the release before it still work with that?** Yes.

Made by Claude Opus 5.5 in T3 Code via Claude Code.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci CI, shared testing infrastructure, development scripts and tooling area:cli Touches the cli area area:integrations Company connections and integration implementations area:primitives Patch tables and files area:server Touches the server area area:ui Portal and first-party browser pages, shared rendering and styles size:m 100-500 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant