Skip to content

chore(release): 0.13.23 — redirect handling, stdio console routing, mirror, canvas, and pacer fixes, Vitest 5 - #899

Merged
cyanheads merged 10 commits into
mainfrom
release/0.13.23
Nov 26, 2026
Merged

cyanheads merged 10 commits into
mainfrom
release/0.13.23

Conversation

@cyanheads

@cyanheads cyanheads commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

fetchWithTimeout follows redirects the same way on Node, Bun, and workerd, stdio keeps console output off the JSON-RPC stream, and defects in the SQLite mirror, DuckDB canvas, pacer, and Markdown escaping are fixed. Tests and scaffolds move to Vitest 5.

Changes

Gates

Re-run on the review head (9e499e86):

  • bun run devcheck — exit 0, zero warnings
  • bun run rebuild — ok, 884 files
  • bun run test:all — exit 0
    • test:coverage (Bun) — 309 files, 10,613 passed, 19 skipped, 0 failed
    • test:node unit — 309 files, 10,617 passed, 15 skipped, 0 failed
    • test:node integration — 33 files, 336 passed
    • test:worker — workerd 14 files, 164 passed; worker-bundle 1 file, 1 passed
    • test:integration (Bun) — 33 files, 336 passed
  • bun run test:package — exit 0, 1 file, 1 passed
  • bun run test:soak — exit 0, 1 file, 1 passed

CHANGELOG v0.13.23

…hes (#893, #870, #862, #891, #863)

Catalog reads use duckdb_tables(), duckdb_views(), and duckdb_columns(); engine-error classification moves to duckdbErrors.ts.
…420, #882)

Scaffolds require vitest ^5.1.2 and set [run] bun = true in bunfig.toml; the @duckdb/node-api peer range admits ^2.0.1-r.1.
…t function and symbol values (#895, #844)

Sync-state seed rows insert only when missing; a function or symbol in a record, id, or filter rejects with ValidationError.
…ects itself, quieter timeout records (#892, #854, #864, #878, #883)

fetchWithTimeout follows redirects the same way on Node, Bun, and workerd; the pacer sheds callers a cooldown pushes past maxWaitMs at once.
…lines (#887, #879)

Working memory stays proportional to the output; a line of seven or more # no longer reads back as a heading closing sequence.
createApp routes the console before core services start and setup() runs, so startup output stays off the JSON-RPC stream.
…body, prior simplifier pass

Each edited skill carries its version bump; the template and antipattern-script wording follows the stringbool change.
…irror, canvas, and pacer fixes, Vitest 5

Version files, changelog entry, rollup, and tree regeneration.
@cyanheads cyanheads self-assigned this Nov 26, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-26T12:07:47.036100Z 5977c5d 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.

The manifest holds a caret range; bun.lock pins the exact version the Worker lanes run.
…nsole mechanics

Names the method each redirect rewrites, the 303 stream-body exception, the guard under redirect: 'error', when shutdown removes the scratch directory, and the scaffold's stringbool line.
@cyanheads

Copy link
Copy Markdown
Owner Author

Release review of main...release/0.13.23: head 5977c5d2 before the pass, 9e499e86 after.

Changes landed

  • 9e499e86 — the 0.13.23 changelog entry now matches the code. The fetchWithTimeout redirect bullet names the methods each status rewrites: a 301 or 302 for a POST, and a 303 for any method but GET or HEAD. It also says a 303 still follows when the body is a stream, and that rejectPrivateIPs follows a 3xx under redirect: 'error'. The teardown bullet says shutdown() removes the scratch directory only after the deferred closes, without awaiting them. The stdio bullet scopes its guarantee to console output. The Skills bullet records the scaffold CLAUDE.md's z.stringbool() vocabulary line.
  • 4e1c2b67 — a test helper and the benchmark README described wrangler as an exact pin in devDependencies. The manifest has a caret range, and bun.lock pins the exact version.
  • PR body: the canvas bullet now includes the recovery hint change for rejected constant arguments, the deps line says runtime and dev-dep bumps (@hono/node-server and jose are runtime), and ## Gates holds the re-run on 9e499e86.

Automated review and code scanning

  • Codex: completed on 5977c5d2 with no findings.
  • Code scanning alert feat(config): format server config validation errors at startup instead of raw ZodError #35 (js/server-side-unvalidated-url-redirection, tests/unit/utils/network/fetchWithTimeout.loopback.test.ts): dismissed as used in tests. The flagged code is a test server bound to 127.0.0.1 that redirects to whatever location its test requests, so the redirect handling can be exercised. It ships in no package.

Checked and left alone

  • Redirect following against the Fetch Standard and undici's own following: method and body rewrites, body-describing headers, the credentials and Host dropped across origins and kept dropped for the rest of the chain, the hop limits, the stream-body rule, and which body types count as streams on Bun and Node.
  • The DuckDB catalog reads through duckdb_tables(), duckdb_views(), and duckdb_columns(), the drops qualified by database name, the deferred close while calls hold a canvas, and the engine-error mapping. On DuckDB 2.0.1, async_threads reads 1 on a canvas engine and four per detected thread without the option.
  • stdio console routing, which is idempotent and applied before setup(), and the U+2028/U+2029 escaping against the SDK transport's write, drain, and error handling.
  • escapeMarkdownInline: a differential run against the previous implementation over 600,000 generated inputs. Output differs only on lines made of seven or more #.
  • Scaffold [run] bun = true: bun run start now runs on Bun, the runtime the scaffold's Dockerfile already uses.
  • Dependency arrows in the changelog checked against package.json, templates/package.json, and bun.lock. Skill version bumps and version strings are consistent.

No new issues filed.

@cyanheads
cyanheads merged commit 9e499e8 into main Nov 26, 2026
3 checks passed
@cyanheads
cyanheads deleted the release/0.13.23 branch November 26, 2026 12:27
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