Replace superstruct
with ESM-compatible fork @metamask/superstruct
#4458
main.yml
on: pull_request
Check workflows
5s
Matrix: Build, lint, and test / Prepare
Matrix: Build, lint, and test / Test platform compatibility
Matrix: Build, lint, and test / Lint
Build, lint, and test
/
Build "@metamask/snaps-simulator"
1m 19s
Build, lint, and test
/
Build "@metamask/test-snaps"
47s
Build, lint, and test
/
Generate LavaMoat policy
1m 10s
Matrix: Build, lint, and test / Test
Build, lint, and test
/
Upload coverage to Codecov
0s
Matrix: Build, lint, and test / E2E Test
Determine whether this is a release merge commit
0s
Publish Snaps Simulator to `staging` folder
/
Publish to GitHub Pages
All jobs pass
0s
Publish release
/
Determine whether this release updates the iframe execution environment
Publish release
/
Determine whether this release updates the simulator
Publish release
/
Determine whether this release updates test snaps
Publish release
/
Configure iframe execution environment release
Publish release
/
Publish to NPM
Publish release
/
...
/
Publish to GitHub Pages
publish-release
/
...
/
Publish to GitHub Pages
Publish release
/
...
/
Publish to GitHub Pages
Publish release
/
...
/
Publish to GitHub Pages
Publish release
/
...
/
Publish execution environment
Annotations
15 errors and 6 warnings
Build, lint, and test / Lint (@metamask/snaps-controllers):
packages/snaps-controllers/src/services/AbstractExecutionService.ts#L444
Unexpected `await` of a non-Promise (non-"Thenable") value
|
Build, lint, and test / Lint (@metamask/snaps-controllers)
Process completed with exit code 1.
|
Build, lint, and test / Build:
packages/snaps-rpc-methods/src/permitted/createInterface.ts#L42
Type '(req: JsonRpcRequest<CreateInterfaceParams>, res: PendingJsonRpcResponse<string>, _next: unknown, end: JsonRpcEngineEndCallback, { createInterface }: CreateInterfaceMethodHooks) => Promise<...>' is not assignable to type 'HandlerMiddlewareFunction<CreateInterfaceMethodHooks, CreateInterfaceParams, string>'.
|
Build, lint, and test / Build:
packages/snaps-rpc-methods/src/permitted/getAllSnaps.ts#L27
Type '(request: JsonRpcRequest<JsonRpcParams>, response: PendingJsonRpcResponse<GetSnapsResult>, _next: unknown, end: JsonRpcEngineEndCallback, { getAllSnaps }: GetAllSnapsHooks) => Promise<...>' is not assignable to type 'HandlerMiddlewareFunction<GetAllSnapsHooks, JsonRpcParams, GetSnapsResult>'.
|
Build, lint, and test / Build:
packages/snaps-rpc-methods/src/permitted/getClientStatus.ts#L25
Type '(_request: JsonRpcRequest<JsonRpcParams>, response: PendingJsonRpcResponse<GetClientStatusResult>, _next: unknown, end: JsonRpcEngineEndCallback, { getIsLocked }: GetClientStatusHooks) => Promise<...>' is not assignable to type 'HandlerMiddlewareFunction<GetClientStatusHooks, JsonRpcParams, GetClientStatusResult>'.
|
Build, lint, and test / Build:
packages/snaps-rpc-methods/src/permitted/getInterfaceState.ts#L34
Type '(req: JsonRpcRequest<GetInterfaceStateParams>, res: PendingJsonRpcResponse<Record<string, string | boolean | { name: string; size: number; contentType: string; contents: string; } | Record<...> | null>>, _next: unknown, end: JsonRpcEngineEndCallback, { getInterfaceState }: GetInterfaceStateMethodHooks) => void' is not assignable to type 'HandlerMiddlewareFunction<GetInterfaceStateMethodHooks, GetInterfaceStateParams, Record<string, string | boolean | { name: string; size: number; contentType: string; contents: string; } | Record<...> | null>>'.
|
Build, lint, and test / Build:
packages/snaps-rpc-methods/src/permitted/getSnaps.ts#L21
Type '(_req: unknown, res: PendingJsonRpcResponse<GetSnapsResult>, _next: unknown, end: JsonRpcEngineEndCallback, { getSnaps }: GetSnapsHooks) => Promise<...>' is not assignable to type 'HandlerMiddlewareFunction<GetSnapsHooks, JsonRpcParams, GetSnapsResult>'.
|
Build, lint, and test / Build:
packages/snaps-rpc-methods/src/permitted/requestSnaps.ts#L43
Type '(req: JsonRpcRequest<RequestSnapsParams>, res: PendingJsonRpcResponse<RequestSnapsResult>, _next: unknown, end: JsonRpcEngineEndCallback, { installSnaps, requestPermissions, getPermissions }: RequestSnapsHooks) => Promise<...>' is not assignable to type 'HandlerMiddlewareFunction<RequestSnapsHooks, RequestSnapsParams, RequestSnapsResult>'.
|
Build, lint, and test / Build:
packages/snaps-rpc-methods/src/permitted/resolveInterface.ts#L34
Type '(req: JsonRpcRequest<ResolveInterfaceParams>, res: PendingJsonRpcResponse<null>, _next: unknown, end: JsonRpcEngineEndCallback, { resolveInterface }: ResolveInterfaceMethodHooks) => Promise<...>' is not assignable to type 'HandlerMiddlewareFunction<ResolveInterfaceMethodHooks, ResolveInterfaceParams, null>'.
|
Build, lint, and test / Build:
packages/snaps-rpc-methods/src/permitted/updateInterface.ts#L35
Type '(req: JsonRpcRequest<UpdateInterfaceParams>, res: PendingJsonRpcResponse<null>, _next: unknown, end: JsonRpcEngineEndCallback, { updateInterface }: UpdateInterfaceMethodHooks) => Promise<...>' is not assignable to type 'HandlerMiddlewareFunction<UpdateInterfaceMethodHooks, UpdateInterfaceParams, null>'.
|
Build, lint, and test / Build:
packages/snaps-rpc-methods/src/permitted/getFile.ts#L39
Type '(req: JsonRpcRequest<GetFileParams>, res: PendingJsonRpcResponse<string>, _next: unknown, end: JsonRpcEngineEndCallback, { getSnapFile }: GetFileHooks) => Promise<...>' is not assignable to type 'HandlerMiddlewareFunction<GetFileHooks, GetFileParams, string>'.
|
Build, lint, and test / Build:
packages/snaps-rpc-methods/src/permitted/invokeSnapSugar.ts#L20
Type '(req: JsonRpcRequest<InvokeSnapParams>, res: PendingJsonRpcResponse<Json>, _next: JsonRpcEngineNextCallback, end: JsonRpcEngineEndCallback, { invokeSnap }: InvokeSnapSugarHooks) => Promise<...>' is not assignable to type 'HandlerMiddlewareFunction<InvokeSnapSugarHooks, InvokeSnapParams, Json>'.
|
Build, lint, and test / Test (20.11.x, @metamask/snaps-cli)
Process completed with exit code 1.
|
Build, lint, and test / Test (18.x, @metamask/snaps-cli)
Process completed with exit code 1.
|
All jobs pass
Process completed with exit code 1.
|
|
Build, lint, and test / Lint (@metamask/cronjob-example-snap)
Failed to download action 'https://api.github.com/repos/actions/checkout/tarball/692973e3d937129bcbf40652eb9f2f61becf3332'. Error: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
|
Build, lint, and test / Lint (@metamask/cronjob-example-snap)
Back off 17.624 seconds before retry.
|
Build, lint, and test / Lint (@metamask/cronjob-example-snap)
Failed to download action 'https://api.github.com/repos/actions/checkout/tarball/692973e3d937129bcbf40652eb9f2f61becf3332'. Error: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
|
Build, lint, and test / Lint (@metamask/cronjob-example-snap)
Back off 20.368 seconds before retry.
|
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage-snaps-cli
Expired
|
13.6 KB |
|