Skip to content

chore(release): 0.13.22 — Per-tenant filesystem storage, server-side error bodies, Bun 1.4.4 floor - #848

Merged
cyanheads merged 11 commits into
mainfrom
release/0.13.22
Nov 8, 2026
Merged

cyanheads merged 11 commits into
mainfrom
release/0.13.22

Conversation

@cyanheads

@cyanheads cyanheads commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

Filesystem storage keeps every valid key as written and gives every tenant its own directory, captured upstream error bodies stay off client envelopes by default, tool output fields with transforming schemas stop failing successful calls, and engines.bun rises to >=1.4.4.

Changes

Gates

Run on the finished tree (main @ 50f9b21 + working tree) before the commit stack:

On the release branch head after review (420b889d):

  • bun run devcheck — exit 0; one exempt Security Audit warning, all transitive (dev tree only)
  • bun run rebuild — exit 0
  • bun run test:all lanes — exit 0: Bun + coverage 309 files, 10,231 passed / 15 skipped; Node 309 files, 10,231 passed / 15 skipped; worker 14 files / 162; worker bundle 1 / 1; integration 33 files / 330 on Bun and on Node
  • bun run test:package — exit 0, 1 / 1

CHANGELOG v0.13.22

Bun 1.4.4 fixes bun:sqlite multi-statement exec dropping a failing statement's error (#632). hono ^4.13.16 → ^4.13.17; @biomejs/biome 2.6.5 → 2.6.6 (framework and scaffold); @opentelemetry/instrumentation-pino ^0.70.0 → ^0.71.0 (dev), peer ^0.70.0 → ^0.70.0 || ^0.71.0; @opentelemetry/semantic-conventions ^1.44.0 → ^1.45.0 (dev); openai ^7.47.0 → ^7.53.0 (dev); scaffold tsc-alias ^1.9.9 → ^1.9.10.
…ch sizes

Filesystem storage keeps every valid key as written under a percent-encoded _v2 layout with one directory per tenant (#656) (#845); KV and R2 reject over-limit names with ValidationError and respect list and delete caps (#840).
…nd failed fetches

Captured bodies stay off client envelopes unless exposeBody or exposeErrorBody is set (#590); caller aborts, stray AbortErrors, and mid-stream body failures map to RequestCancelled, Timeout, or ServiceUnavailable (#604) (#799) (#819).
…ma input

Output and enrichment parsing defers validation so z.stringbool(), cross-type pipes, and codecs return their parsed value; a success result with a top-level error key is refused, and handler returns take the schema input type (#846).
…rt wrapped repairs as sent

Repaired values face .min/.max/.length/.multipleOf (#745); wrong-type too_big/too_small are dropped from messages (#719); repair CPU cost is a small multiple of one parse (#739).
…stroy pdf.js documents

Opening a SQLite mirror store on Bun below the engines floor throws ConfigurationError (#632); pdfParser destroys its pdf.js document after extraction (#810); canvas export symlink coverage (#334); htmlExtractor documents its synchronous cost (#755).
…ent, and Bun floor changes

Adds the AuthContext.token no-passthrough note and corrects a V8 version comment in encoding.ts.
…error bodies, Bun 1.4.4 floor

Version bump, changelog entry, rollup, and tree.
@cyanheads cyanheads self-assigned this Nov 8, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-08T11:30:52.884636Z
We couldn’t complete this review. Comment @codex review to try again.
ed613ae PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

Under a .passthrough() or .catchall() output root, a service-layer enrich of a declared output field replaced the parsed value unparsed; it now fails as -32603 naming the enrichment contract. The enrichment schema is built once per tool instead of on every call.
The three opt-in cases say they send body and responseBody on the wire rather than comparing against an earlier wire shape.
Names the enrichment open-root refusal and the antipattern script's header change, states the error-body bullets as the behavior that holds, and moves the htmlExtractor docs bullet under Changed.
@cyanheads

Copy link
Copy Markdown
Owner Author

Review pass on release/0.13.22: main...ed613aee reviewed; head is now 420b889d.

Fixes

  • cb9d0c45 fix(tools): under a .passthrough() or .catchall() output root, a key enriched from the service layer that names a declared output field replaced that field's parsed value without being parsed, so structuredContent could break the declared output. It now fails as -32603 naming the enrichment contract, with a test for both open roots. The enrichment schema is also built once per tool instead of on every call. CLAUDE.md / AGENTS.md state the refusal.
  • 0afe06b1 test(http): the three exposeBody / exposeErrorBody cases are named by the keys they send.
  • 420b889d docs(changelog): the entry names the open-root refusal and the header-comment change in scripts/check-framework-antipatterns.ts, which the scaffold copies; the error-body bullet states the behavior that holds; the htmlExtractor docs bullet moves under Changed, since bug(parsing): htmlExtractor CPU time grows quadratically with nesting depth #755 stays open.

The PR body's ## Changes were synced the same way: the #845 bullet states the bound that holds, and the argument-repair and grouped bullets now cover the entries they had left out. ## Gates carries this head's results.

Automated review

  • Codex: the review did not run (the usage-limit notice on this PR). No inline comments to verify.
  • Code scanning: CodeQL passed on ed613aee and on 420b889d. No open alerts on the PR merge ref or on main.

Considered and left alone

  • fetchWithTimeout checks timeoutMs before the caller's signal in the catch block and the 2xx body classifier, while the non-2xx capture uses whichever signal fired first. The two orders differ only when both signals have fired, and the catch block's order was already there before this release.
  • Under a default (stripping) output root, an enriched key naming a declared output field is stripped and the handler's value stands, the same as any undeclared enrichment key.

Gates on 420b889d: devcheck exit 0 (one exempt, all-transitive Security Audit warning), rebuild, every test:all lane (coverage, Node, worker, worker bundle, integration on Bun and Node), and test:package all green.

No out-of-scope issues filed.

@cyanheads
cyanheads merged commit 420b889 into main Nov 8, 2026
3 checks passed
@cyanheads
cyanheads deleted the release/0.13.22 branch November 8, 2026 11:57
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.

1 participant