Repository navigation
Conversation
A send's result kept its sender as decider until delivery, so terminating the sender rejected it, the receiver was terminated at its resolve, and the run loop died. As SwingSet does, the translation now checks that the result is the sender's to give and clears its decider. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This was referenced Nov 24, 2026
sirtimid
marked this pull request as ready for review
November 24, 2026 17:42
Contributor
Coverage Report
File Coverage
|
||||||||||||||||||||||||||||||||||||||||||||||||||
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Terminating a vat, or giving up on a peer, while one of its messages was still queued rejected that message's result. The receiver was then terminated when it answered, and the run loop died.
A queued message's result now has no decider until it is delivered, as in SwingSet, so the sender's death leaves it alone. A send that names a result the sender does not decide is refused (#1276's third item).
Tested with a real kernel: a
terminateVatqueued ahead of a vat's send killed the run loop before, and now the receiver answers.Known gaps: a refused send rarely terminates the vat (#1165), a peer's refused message is not acknowledged (#1326), a send to its own result is never settled (#1327), and a restarted vat can reuse a promise ID (#1328).
Closes #1324
Refs #1276
🤖 Generated with Claude Code