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

refactor(orchestration): simplify example guest code #9586

Merged
merged 2 commits into from
Jun 28, 2024

Conversation

erights
Copy link
Member

@erights erights commented Jun 26, 2024

closes: #XXXX
refs: https://github.com/Agoric/agoric-sdk/pull/9566/files#r1653602477

Description

At https://github.com/Agoric/agoric-sdk/pull/9566/files#r1653602477 @dckc commented on a cleanup that I thought I did and marked as done, but was not done.

Before #9566, the code that would be guest code had several workarounds marked // XXX when() until membrane that correctly indicated that they should be cleaned up as of #9566, which introduces exactly that membrane.

In addition, guest code has no need for heapVowE since it doesn't see vows. It should just use the normal E. To keep this distinct, I stopped renaming hostVowE where host code needs it in the same file.

Security Considerations

none

Scaling Considerations

none

Documentation Considerations

examples are now more like what we want to teach

Testing Considerations

I believe this PR is a pure refactor that should not have any observable effects. Thus, it should not affect any tests. We'll see soon.

Upgrade Considerations

none

@erights erights self-assigned this Jun 26, 2024
Copy link

cloudflare-workers-and-pages bot commented Jun 26, 2024

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0bd6dd0
Status: ✅  Deploy successful!
Preview URL: https://22071b22.agoric-sdk.pages.dev
Branch Preview URL: https://markm-simplify-guest-code.agoric-sdk.pages.dev

View logs

@erights erights marked this pull request as ready for review June 26, 2024 03:51
@erights erights requested a review from dckc June 26, 2024 03:51
Copy link
Member

@dckc dckc left a comment

Choose a reason for hiding this comment

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

nice.

@erights erights added the automerge:squash Automatically squash merge label Jun 26, 2024
Copy link
Member

@dtribble dtribble left a comment

Choose a reason for hiding this comment

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

LGTM

@erights erights added automerge:squash Automatically squash merge and removed automerge:squash Automatically squash merge labels Jun 27, 2024
@mergify mergify bot merged commit f0f1a3e into master Jun 28, 2024
77 checks passed
@mergify mergify bot deleted the markm-simplify-guest-code branch June 28, 2024 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:squash Automatically squash merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants