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

restore 'builders' typecheck #8778

Merged
merged 2 commits into from
Jan 19, 2024
Merged

restore 'builders' typecheck #8778

merged 2 commits into from
Jan 19, 2024

Conversation

turadg
Copy link
Member

@turadg turadg commented Jan 19, 2024

Description

Typechecking of deploy-script-support was lost at some point. #8747 (comment)

This restores the checking and resolves the errors encountered.

I punted on solving the makeInstallCache types.

Security Considerations

Scaling Considerations

Documentation Considerations

Testing Considerations

Upgrade Considerations

Copy link
Member

@mhofman mhofman left a comment

Choose a reason for hiding this comment

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

This seems to solve my issues when cherry-picked into the release branch, except that the vats jsconfig change causes some test files to become checked there, and fail with unrelated errors (likely fixed in master, but I'm not chasing those changes)

Copy link
Member

Choose a reason for hiding this comment

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

For cherry-pick purposes, could you split this in a separate commit?

Copy link
Member

Choose a reason for hiding this comment

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

For reference here are the issues I encountered in the release branch

@agoric/vats: ../inter-protocol/test/psm/psm-storage-fixture.js(42,11): error TS2304: Cannot find name 'AnchorOptions'.
@agoric/vats: ../solo/src/vat-http.js(109,61): error TS2554: Expected 0-2 arguments, but got 3.
@agoric/vats: src/core/demoIssuers.js(245,14): error TS2339: Property 'mints' does not exist on type '{ agoricNames: Producer<NameHub>; agoricNamesAdmin: Producer<NameAdmin>; bankManager: Producer<{ getAssetSubscription(): IterableEachTopic<AssetDescriptor>; getRewardDistributorDepositFacet(denom: string, feeKit: AssetIssuerKit<...>): ERef<...>; getModuleAccountAddress(moduleName: string): Promise<...>; addAsset(den...'.

@turadg turadg force-pushed the ta/restore-builders-typecheck branch from 2113911 to dce9a24 Compare January 19, 2024 17:19
@turadg turadg added the automerge:rebase Automatically rebase updates, then merge label Jan 19, 2024
@turadg turadg force-pushed the ta/restore-builders-typecheck branch from dce9a24 to 755a2f7 Compare January 19, 2024 17:34
@turadg turadg added the bypass:integration Prevent integration tests from running on PR label Jan 19, 2024
@mhofman mhofman self-requested a review January 19, 2024 17:41
@mergify mergify bot merged commit 1cea34c into master Jan 19, 2024
66 checks passed
@mergify mergify bot deleted the ta/restore-builders-typecheck branch January 19, 2024 18:28
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 bypass:integration Prevent integration tests from running on PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants