Skip to content

Stop using loader functions, part 1 #2971

Stop using loader functions, part 1

Stop using loader functions, part 1 #2971

Triggered via pull request June 17, 2024 21:06
Status Failure
Total duration 8m 51s
Artifacts

turbo-ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 9 warnings
test
minifront#test: command (/home/runner/actions-runner/_work/web/web/apps/minifront) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
src/state/staking/index.test.ts > Staking Slice > has correct initial state: apps/minifront/src/state/staking/index.test.ts#L243
AssertionError: expected { …(19) } to deeply equal { account: +0, …(19) } - Expected + Received Object { "account": 0, "action": undefined, "amount": "", "delegate": Any<Function>, "delegationsByAccount": Map {}, "error": undefined, "loadDelegationsForCurrentAccount": Any<Function>, "loadUnbondingTokensForCurrentAccount": Any<Function>, "loading": false, "onClickActionButton": Any<Function>, "onClose": Any<Function>, "setAccount": Any<Function>, "setAmount": Any<Function>, "stakingTokensAndFilter": ObjectContaining { "data": undefined, }, "unbondingTokensByAccount": Map {}, "undelegate": Any<Function>, "undelegateClaim": Any<Function>, - "unstakedTokensByAccount": Map {}, "validatorInfo": undefined, "votingPowerByValidatorInfo": Object {}, } ❯ src/state/staking/index.test.ts:243:41
test
Process completed with exit code 1.
Lint: apps/minifront/src/components/tx-details/tx-viewer.tsx#L30
Unsafe argument of type `any` assigned to a parameter of type `TransactionView | undefined`
Lint: apps/minifront/src/components/tx-details/tx-viewer.tsx#L30
Unsafe member access .view on an `any` value
Lint: apps/minifront/src/components/tx-details/tx-viewer.tsx#L41
Unsafe argument of type `TxDetailsLoaderResult` assigned to a parameter of type `TransactionInfo`
Lint: apps/minifront/src/components/tx-details/tx-viewer.tsx#L63
Unsafe assignment of an `any` value
Lint: apps/minifront/src/components/tx-details/tx-viewer.tsx#L63
This assertion is unnecessary since the receiver accepts the original type of the expression
Lint: apps/minifront/src/components/tx-details/tx-viewer.tsx#L63
Unsafe member access .view on an `any` value
Lint: apps/minifront/src/components/tx-details/tx-viewer.tsx#L66
Unsafe call of an `any` typed value
Lint: apps/minifront/src/components/tx-details/tx-viewer.tsx#L66
Unsafe member access .toJson on an `any` value
Lint: apps/minifront/src/components/tx-details/tx-viewer.tsx#L74
Unsafe argument of type `any` assigned to a parameter of type `TransactionView | undefined`
Lint: apps/minifront/src/components/tx-details/tx-viewer.tsx#L74
Unsafe member access .view on an `any` value
Build
minifront#build: command (/home/runner/actions-runner/_work/web/web/apps/minifront) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (2)
Build
Module '"."' has no exported member 'TxDetailsLoaderResult'.
Build
Process completed with exit code 2.
Compile / wasm
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: buildjet/cache@v3, pnpm/action-setup@v2, jetli/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.316.1. Please update to the latest version 2.317.0
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: buildjet/cache@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.316.1. Please update to the latest version 2.317.0
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: buildjet/cache@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.316.1. Please update to the latest version 2.317.0
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: buildjet/cache@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint:rust
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: buildjet/cache@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test:rust
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: buildjet/cache@v3, pnpm/action-setup@v2, jetli/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.