Skip to content

Fix MCP Durable Object construction crash#886

Merged
RhysSullivan merged 1 commit into
mainfrom
rs/fix-mcp-do-construction-crash
Jun 2, 2026
Merged

Fix MCP Durable Object construction crash#886
RhysSullivan merged 1 commit into
mainfrom
rs/fix-mcp-do-construction-crash

Conversation

@RhysSullivan
Copy link
Copy Markdown
Owner

No description provided.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Jun 2, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing bf8e945 Commit Preview URL

Branch Preview URL
Jun 02 2026, 07:50 PM

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Jun 2, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud bf8e945 Jun 02 2026, 07:51 PM

…umentation

`instrumentPrototypeMethods: true` makes Sentry walk the DO prototype and read
every property (including accessors) to find methods to wrap. That invokes the
`sessionId` getter with `this` bound to the prototype — where ctx is undefined —
throwing "Cannot read properties of undefined (reading 'id')" and aborting
construction on every session create and cold restore.

Drop the flag (its purpose was to surface DO errors in Sentry) and capture init
errors explicitly via the captureCause seam instead.
@RhysSullivan RhysSullivan force-pushed the rs/fix-mcp-do-construction-crash branch from 6d0cc6b to bf8e945 Compare June 2, 2026 19:49
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Jun 2, 2026

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@886

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@886

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@886

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@886

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@886

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@886

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@886

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@886

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@886

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@886

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@886

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@886

executor

npm i https://pkg.pr.new/executor@886

commit: 6d0cc6b

@RhysSullivan RhysSullivan marked this pull request as ready for review June 2, 2026 19:50
@RhysSullivan RhysSullivan merged commit 56292b0 into main Jun 2, 2026
7 of 9 checks 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