Skip to content
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

fix(swingset): check promise resolution table during comms.inbound #1405

Merged
merged 3 commits into from
Aug 11, 2020

Conversation

warner
Copy link
Member

@warner warner commented Aug 9, 2020

closes #1400

This fixes the case where a cross-machine message is pipelined to a result promise that gets resolved before that message arrives. Previously the receiving comms vat would mistakenly deliver it into the kernel to the old promise-ID, which the kernel has forgotten by that point. Now the comms vat references its internal promise table on the way in, so the message is delivered into the kernel to the new object-ID.

@warner warner force-pushed the 1400-comms-bug branch 2 times, most recently from 0904e3d to 47746aa Compare August 10, 2020 23:55
@warner warner changed the base branch from master to 1400-enhance-loopbox August 10, 2020 23:56
@warner warner marked this pull request as ready for review August 10, 2020 23:56
@warner warner requested review from FUDCo and dtribble August 11, 2020 00:02
@warner warner self-assigned this Aug 11, 2020
@warner warner added the SwingSet package: SwingSet label Aug 11, 2020
@warner warner linked an issue Aug 11, 2020 that may be closed by this pull request
@warner
Copy link
Member Author

warner commented Aug 11, 2020

@dtribble tagging you as a reviewer to make sure this fixed the problem you were seeing with the API deploy in #1400
@FUDCo tagging you to review the actual comms-vat change

@warner warner marked this pull request as draft August 11, 2020 00:10
@warner warner changed the base branch from 1400-enhance-loopbox to remove-loopbox August 11, 2020 00:12
@warner warner changed the base branch from remove-loopbox to 1400-enhance-loopbox August 11, 2020 00:19
@warner warner marked this pull request as ready for review August 11, 2020 00:19
Base automatically changed from 1400-enhance-loopbox to master August 11, 2020 01:50
Copy link
Contributor

@FUDCo FUDCo left a comment

Choose a reason for hiding this comment

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

lgtm

@warner
Copy link
Member Author

warner commented Aug 11, 2020

@dtribble said it fixed the failures he saw, treating that as a r+ from him

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SwingSet package: SwingSet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pipelined requests through fake-chain linkage can fail
2 participants