Skip to content

Sync workerd 20261009 and Agents 0.27 - #92

Merged
MiguelsPizza merged 5 commits into
mainfrom
alex/october-9-refresh
Oct 9, 2026
Merged

MiguelsPizza merged 5 commits into
mainfrom
alex/october-9-refresh

Conversation

@MiguelsPizza

Copy link
Copy Markdown
Contributor

Refreshes both upstreams to their latest releases (checked Oct 8–9).

Commits

  1. Align October 9 workerd contracts and oracle: oracle v1.20261009.1, Workers types 5.20261009.1 in all four manifests, wrangler 4.148.0, vitest-pool-workers 0.23.0. Ports spanContext() on untraced spans (workerd ec93d7032), with a shared conformance row that failed in Node before the port.
  2. Record every October 9 workerd sync disposition: all 124 commits in docs/workerd-sync-2026-10-09.csv.
    • The experimental DO snapshot API is recorded with the oracle's measured errors, not shimmed.
    • The client-WebSocket use-after-free fixes, retry diagnostics, TS streams and V8 startup snapshots don't apply here.
  3. Integrate Agents 0.27 without losing durable Stop: fork 74570a19 → e3351863 (agents 0.27.0, think 0.20.1). All 34 commits are dispositioned and four files conflicted.
    • Think #2495's _settleContinuationTurn is composed behind the fork's Stop-aware ownership guard.
    • An independent three-way review of every non-fast-forward file found no mis-merges.
  4. Record October 9 Cloudflare refresh evidence: docs/cloudflare-sync-2026-10-09.md.

Validation (local CI mirror, all green)

Check Result
SDK suites 3,519 tests
Runtime unit 1,022
Conformance workerd 83, Node 83, Chromium 96, transformed 83 per lane
sdk:check passed
check:oracle passed
typecheck passed
Both example e2e journeys passed
check:package passed
sdk:pack passed

Rook adoption

  • Channels: agents/channels* is removed. Rook main (3b246e26) has no imports of it.
  • MCP sign-in (needs a Rook change): removeMcpServer() now deletes saved OAuth state (agents #2475).
    • Rook's root-agent.ts #connectMcpConnector removes and re-adds servers in the failed / not-connected states.
    • After this upgrade, a transient MCP failure would force the user through OAuth again.
    • Rook should reconnect in place instead, e.g. mcp.establishConnection(id).
    • disconnectMcpConnector forgetting credentials is the desired behavior.
  • Storage: no migrations.

Move the exact oracle to 1.20261009.1 and Workers types to 5.20261009.1.
Add spanContext() to the untraced span in the same commit, since the new
types require it, returning workerd's fresh all-zero identity that survives
end(). Refresh wrangler within range and take vitest-pool-workers 0.23.0,
which only adds the rename deprecation.

Upstream: https://github.com/cloudflare/workerd/releases/tag/v1.20261009.1
Tracing: cloudflare/workerd@ec93d70
Validation: workerd, Node, Chromium and transformed conformance; the shared
spanContext row failed in Node before the port and matches the native runtime.
…vidence

Audit v1.20261002.1 through v1.20261009.1 and link all 124 commits in the
review ledger. Keep the span-context port distinct from the experimental
snapshot API, client WebSocket lifetime fixes, retry diagnostics, TypeScript
streams and startup-snapshot work, recording the oracle's measured snapshot
errors rather than shimming them.

Upstream: cloudflare/workerd@v1.20261002.1...v1.20261009.1

Validation: 1022 unit tests and all five conformance lanes passed (83 workerd,
83 Node, 96 browser, 83 each transformed lane). Oracle consistency check passes.
Advance the retained six-package closure from 74570a19 to e3351863. Review
all 34 intervening commits and merge against the recorded upstream base;
28 touch the retained packages. Four files conflicted.

Upstream moves Channels to agents/experimental/channels and adds opt-in
harnesses, Web Search, OpenCode models, WebSockets.use and an agents CLI.
Compose Think's new continuation settlement with the fork's Stop-aware
finish so a newer client-tool continuation survives while Stop still
releases both slots. Keep the fork's newer TanStack AI types for Web Search,
gitignore the generated container daemon, and bring the copied package
docs up from their stale 0.24 base.

Upstream: cloudflare/agents@74570a1...e335186
Validation: 3,519 maintained SDK/native/browser tests on the October 9
workerd oracle, both browser examples, frozen installs, exports, format,
lint and package types. The committed audit retains exact counts and scope.
Tie the workerd and Agents commit inventories to the final runtime, SDK,
browser, package and lockfile checks. Record why the root lockfile keeps
rolldown 1.2.8, which suites stayed outside the maintained gate, and the
one consumer-visible behavior change: MCP server removal now forgets saved
OAuth credentials, so hosts must reconnect failed servers in place.
The readable-stream re-entry test asserted the creator's input lock was
gone after one timer tick. On a loaded runner the release can land a task
later (CI run 37890888867), failing the precondition rather than the
re-entry contract the test pins. Wait for the release instead.
@MiguelsPizza
MiguelsPizza merged commit 12abf89 into main Oct 9, 2026
1 check passed
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