Skip to content
New issue

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

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

Already on GitHub? # to your account

Fixes "promise will never complete" when exceeding memory. #3442

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

dom96
Copy link
Collaborator

@dom96 dom96 commented Jan 30, 2025

When we grow WebAssembly memory in a specific way, we can get into a situation where the isolate gets terminated and the termination waiter signal doesn't reach the isolate. This resulted in a promise being rejected with a "Promise will never complete" exception. This PR fixes this so that a more descriptive exception is used.

Copy link

github-actions bot commented Jan 30, 2025

The generated output of @cloudflare/workers-types matches the snapshot in types/generated-snapshot 🎉

@dom96 dom96 force-pushed the dominik/fixes-EW-8891 branch 2 times, most recently from 198db4d to eeb33ee Compare January 31, 2025 12:22
@dom96 dom96 marked this pull request as ready for review January 31, 2025 12:33
@dom96 dom96 requested review from a team as code owners January 31, 2025 12:33
@dom96 dom96 requested review from anonrig and a-robinson January 31, 2025 12:33
Copy link
Collaborator

@danlapid danlapid left a comment

Choose a reason for hiding this comment

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

LGTM, but I would love to get that comment in 😄

@dom96 dom96 force-pushed the dominik/fixes-EW-8891 branch 3 times, most recently from 4724fc9 to 66256cd Compare January 31, 2025 15:11
@a-robinson a-robinson removed their request for review January 31, 2025 15:28
@dom96 dom96 force-pushed the dominik/fixes-EW-8891 branch from 66256cd to 25b6b5f Compare January 31, 2025 16:35
@dom96 dom96 merged commit 2e2a0cd into main Jan 31, 2025
17 checks passed
@dom96 dom96 deleted the dominik/fixes-EW-8891 branch January 31, 2025 17:01
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants