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)!: remove stats from vatAdmin API #3337

Merged
merged 2 commits into from
Jun 16, 2021
Merged

Conversation

warner
Copy link
Member

@warner warner commented Jun 16, 2021

The "Admin Node" returned by vatAdmin~.createVatDynamically() had a method
named adminData(), which returned some statistics like the number of
objects imported into the vat. This wasn't super-useful and exposes a little
too much information about the kernel's internals, especially as GC starts to
get more interesting. So we've decided to remove this API.

closes #3331

@warner warner added SwingSet package: SwingSet Zoe package: Zoe pegasus labels Jun 16, 2021
@warner warner self-assigned this Jun 16, 2021
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.

dead. Dead. DEAD.

@michaelfig
Copy link
Member

I would like to see a change that removes Pegasus's dependency on packages/pegasus/test/fakeVatAdmin.js and replaces it with deps on @agoric/zoe/tools/fakeVatAdmin.js.

It's fine if you land this without fixing that, though.

Copy link
Contributor

@katelynsills katelynsills 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 warner force-pushed the 3331-remove-stats branch from 4a929ef to 3d8bfef Compare June 16, 2021 19:53
warner added 2 commits June 16, 2021 13:02
The "Admin Node" returned by `vatAdmin~.createVatDynamically()` had a method
named `adminData()`, which returned some statistics like the number of
objects imported into the vat. This wasn't super-useful and exposes a little
too much information about the kernel's internals, especially as GC starts to
get more interesting. So we've decided to remove this API.

closes #3331
@warner warner force-pushed the 3331-remove-stats branch from 3d8bfef to 8fd3fdd Compare June 16, 2021 20:02
@warner warner enabled auto-merge June 16, 2021 20:08
@warner warner merged commit 3e06926 into master Jun 16, 2021
@warner warner deleted the 3331-remove-stats branch June 16, 2021 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pegasus SwingSet package: SwingSet Zoe package: Zoe
Projects
None yet
Development

Successfully merging this pull request may close these issues.

remove 'stats' from vatAdmin API
4 participants