Skip to content

fix the reject pending invocations when worker process exits unexpect…#117

Open
tarone-saloni wants to merge 1 commit intometacall:masterfrom
tarone-saloni:issueFixer
Open

fix the reject pending invocations when worker process exits unexpect…#117
tarone-saloni wants to merge 1 commit intometacall:masterfrom
tarone-saloni:issueFixer

Conversation

@tarone-saloni
Copy link
Copy Markdown
Contributor

@tarone-saloni tarone-saloni commented Mar 7, 2026

Problem
The exit event handler in deploy.ts unconditionally called deployReject() regardless of whether the deployment had already succeeded. After a successful deploy, this was a silent no-op on the settled promise — but it left the real problem completely unhandled: any HTTP request waiting on an in-flight function invocation would hang forever if the worker process died, because the InvokeQueue callbacks had no path to rejection.

Fix Issue #114

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