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

misc Orchestration cleanup #9720

Merged
merged 5 commits into from
Jul 16, 2024
Merged

misc Orchestration cleanup #9720

merged 5 commits into from
Jul 16, 2024

Conversation

turadg
Copy link
Member

@turadg turadg commented Jul 16, 2024

incidental

Description

Miscellaneous cleanups while starting #9719 for #9303.

See each commit title for changes

Security Considerations

none

Scaling Considerations

none

Documentation Considerations

none

Testing Considerations

CI

Upgrade Considerations

not yet deployed

@turadg turadg requested review from dckc and 0xpatrickdev July 16, 2024 19:38
Copy link

cloudflare-workers-and-pages bot commented Jul 16, 2024

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: e8d0a7f
Status: ✅  Deploy successful!
Preview URL: https://7585d466.agoric-sdk.pages.dev
Branch Preview URL: https://9303-misc.agoric-sdk.pages.dev

View logs

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.

good stuff.

one suggestion

@@ -35,9 +35,6 @@ export const Proto3Shape = {
value: M.string(),
};

// XXX same as ChainAmountShape and DenomAmount type
export const CoinShape = { value: M.bigint(), denom: M.string() };
Copy link
Member

Choose a reason for hiding this comment

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

👍

Comment on lines +20 to +27
* @template {(orc: Orchestrator, ctx: any, ...args: any[]) => Promise<any>} GF
* @typedef {GF extends (
* orc: Orchestrator,
* ctx: any,
* ...args: infer GA
* ) => Promise<infer GR>
* ? (...args: HostArgs<GA>) => Vow<GR>
* : never} HostForGuest
Copy link
Member

Choose a reason for hiding this comment

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

this is at the edge of my tsc-fu; an example in the form of a type test would help me.

Copy link
Member Author

Choose a reason for hiding this comment

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

worthwhile. probably another PR.

@turadg turadg added the automerge:rebase Automatically rebase updates, then merge label Jul 16, 2024
@mergify mergify bot merged commit 0889e20 into master Jul 16, 2024
79 checks passed
@mergify mergify bot deleted the 9303-misc branch July 16, 2024 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:rebase Automatically rebase updates, then merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants