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

Vat-side promise ID retirement #2358

Merged
merged 1 commit into from
Feb 8, 2021
Merged

Vat-side promise ID retirement #2358

merged 1 commit into from
Feb 8, 2021

Conversation

FUDCo
Copy link
Contributor

@FUDCo FUDCo commented Feb 7, 2021

Changes to allow vat-side promise ID retirement.

Note that the xs vat worker test (in SwingSet/test/workers/test-worker.js) is currently disabled, as there's something in there that doesn't get along with these changes. This probably should be addressed before we land this.

Also: doc changes still to come.

@FUDCo FUDCo added enhancement New feature or request SwingSet package: SwingSet labels Feb 7, 2021
@FUDCo FUDCo requested a review from warner February 7, 2021 10:04
@FUDCo FUDCo self-assigned this Feb 7, 2021
@@ -28,7 +28,7 @@ test('local vat manager', async t => {
t.deepEqual(JSON.parse(c.kpResolution(c.bootstrapResult).body), expected);
});

test('xs vat manager', async t => {
test.skip('xs vat manager', async t => {
Copy link
Member

Choose a reason for hiding this comment

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

that's fine, this test is going away in @dckc 's work anyways, to be replaced with the xsnap variant

Copy link
Member

Choose a reason for hiding this comment

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

I don't know why I thought this was true. It's not. The xsnap variant uses the same test.

@warner
Copy link
Member

warner commented Feb 8, 2021

Looks pretty good. Please fix the minor liveSlots.js issue (harden before WeakMap.add), and I'll r+ it.

Copy link
Contributor Author

@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.

This is not a review. This is a GitHub glitch.

Copy link
Member

@warner warner 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. I think Dan's PR just landed so you'll need one more rebase.

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

Successfully merging this pull request may close these issues.

3 participants