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

feat(swingset): defaultManagerType option in makeSwingsetController #2266

Merged
merged 12 commits into from
Feb 8, 2021

Conversation

dckc
Copy link
Member

@dckc dckc commented Jan 26, 2021

fixes #2260

todo:

  • might have missed the mark on "separate options bag"
  • catch up with master

but I'd like to start getting feedback from the ci bots...

@dckc dckc requested a review from warner January 26, 2021 22:44
@dckc dckc force-pushed the 2260-xs-all-option branch 2 times, most recently from 18eb7fb to df4b0ed Compare January 26, 2021 22:48
@dckc dckc self-assigned this Jan 26, 2021
@dckc dckc force-pushed the 2260-xs-all-option branch from df4b0ed to 42ffa42 Compare January 27, 2021 17:27
@dckc dckc force-pushed the 2260-xs-all-option branch 2 times, most recently from 3c2b51b to 5184f71 Compare February 5, 2021 20:22
@dckc dckc marked this pull request as ready for review February 5, 2021 20:24
@dckc dckc force-pushed the 2260-xs-all-option branch from 5184f71 to 3269e5c Compare February 5, 2021 20:46
@dckc
Copy link
Member Author

dckc commented Feb 5, 2021

@warner I think this is ready for review.

It definitely needs fresh eyes. I've been staring at it for way too long.

@warner
Copy link
Member

warner commented Feb 8, 2021

Other than that one note to add, it looks good. Add that and rebase to current trunk (fixing the conflict in xsnap/package.json) and I'll r+.

dckc added 12 commits February 8, 2021 09:47
ref attachment from PH Tue Feb 2 07:28:28 2021 -0800

 - don't hold arraybuffer pointer across macros
 - replace C stack report / result with xsVar(1) and xsVar(2)
  - route call to manager
  - some VatPowers type annotations, esp. transformTildot
we get an empty JSON response for at least vatstoreSet

These are missing from SwingSet/docs/vat-worker.md
... and to buildVatController

Usage: WORKER_TYPE=xs-worker yarn test
   or: XSNAP_DEBUG=1 WORKER_TYPE=xs-worker yarn test
   or: XSNAP_DEBUG=1 WORKER_TYPE=xs-worker yarn test --watch

ref #2260

  - fix: comms vat must be local to use setUp
  - chore(swingset): log fallback-to-local workerType
  - chore: refine xs-worker diagnostics
  - chore(xs-worker): include vatID in log messages
  - fix(xs-worker): catch exceptions from exception handler
  - chore(swingset): use ambient process.env unless caller overrides
  - fix(swingset): proplems in types.js shown by @ts-check
@dckc dckc force-pushed the 2260-xs-all-option branch from 3269e5c to a9aa181 Compare February 8, 2021 15:49
@warner warner self-requested a review February 8, 2021 18:50
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! squash and merge at will.

@dckc dckc merged commit b57f08f into master Feb 8, 2021
@dckc dckc deleted the 2260-xs-all-option branch February 8, 2021 18:52
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.

add kernel option to use XS worker for all vats
2 participants