Skip to content

fix(cloudflare): Avoid turning DurableObject sync methods into async #17184

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 28, 2025

Conversation

andreiborza
Copy link
Member

bb5d3e9 demonstrates the issue with a failing test
2c9a487 uses isThenable to determine how to wrap methods in wrapMethodWithSentry

Fixes: #17094

@andreiborza andreiborza force-pushed the ab/durable-object-respect-sync branch from 2c9a487 to 681959d Compare July 28, 2025 10:19
@andreiborza andreiborza requested a review from s1gr1d July 28, 2025 10:59
Copy link
Member

@s1gr1d s1gr1d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@s1gr1d s1gr1d merged commit 273cef9 into develop Jul 28, 2025
44 checks passed
@s1gr1d s1gr1d deleted the ab/durable-object-respect-sync branch July 28, 2025 11:13
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.

Cloudflare Durable Object instrumentDurableObjectWithSentry throwing errors
2 participants