Skip to content

Ready to release sdk version 0.2.9 #6104

Ready to release sdk version 0.2.9

Ready to release sdk version 0.2.9 #6104

Triggered via pull request December 17, 2024 16:02
Status Failure
Total duration 1h 29m 59s
Artifacts

check_build_test.yml

on: pull_request
Check-Build-Test
1h 28m
Check-Build-Test
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 11 warnings
Check-Build-Test: examples/rooch_fish/web/src/App.tsx#L10
'Args' is defined but never used
Check-Build-Test: examples/rooch_fish/web/src/App.tsx#L10
'Transaction' is defined but never used
Check-Build-Test: examples/rooch_fish/web/src/App.tsx#L24
'CountUp' is defined but never used
Check-Build-Test: examples/rooch_fish/web/src/App.tsx#L30
'useGameState' is defined but never used
Check-Build-Test: examples/rooch_fish/web/src/App.tsx#L31
'useLatestTransaction' is defined but never used
Check-Build-Test: examples/rooch_fish/web/src/App.tsx#L33
'getNextRewardClick' is defined but never used
Check-Build-Test: examples/rooch_fish/web/src/App.tsx#L64
'counterAddress' is assigned a value but never used
Check-Build-Test: examples/rooch_fish/web/src/App.tsx#L67
'roochCounterObject' is assigned a value but never used
Check-Build-Test: examples/rooch_fish/web/src/App.tsx#L70
'treasuryObject' is assigned a value but never used
Check-Build-Test: examples/rooch_fish/web/src/App.tsx#L107
'signAndExecuteTransaction' is assigned a value but never used
Unhandled error: sdk/typescript/rooch-sdk-kit/src/hooks/useSession.ts#L12
TypeError: Cannot read properties of undefined (reading 'includes') ❯ src/hooks/useSession.ts:12:13 ❯ src/hooks/useSession.ts:11:20 ❯ memoizedSelector ../../../node_modules/.pnpm/use-sync-external-store@1.2.2_react@18.3.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js:79:30 ❯ getSnapshotWithSelector ../../../node_modules/.pnpm/use-sync-external-store@1.2.2_react@18.3.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js:134:14 ❯ updateSyncExternalStore ../../../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.development.js:16041:22 ❯ Object.useSyncExternalStore ../../../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.development.js:17124:14 ❯ useSyncExternalStore ../../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.development.js:1676:21 ❯ useSyncExternalStoreWithSelector ../../../node_modules/.pnpm/use-sync-external-store@1.2.2_react@18.3.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js:145:15 ❯ Module.useStore ../../../node_modules/.pnpm/zustand@4.5.5_@types+react@18.3.5_react@18.3.1/node_modules/zustand/esm/index.mjs:17:17 This error originated in "test/case/use-default-client.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "should remove expired session from storage when receives expired error". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
test/case/use-default-client.test.tsx > useDefaultClient > should remove expired session from storage when receives expired error: sdk/typescript/rooch-sdk-kit/test/case/use-default-client.test.tsx#L86
AssertionError: Target cannot be null or undefined. Ignored nodes: comments, script, style <html> <head /> <body> <div /> </body> </html> ❯ test/case/use-default-client.test.tsx:86:39 ❯ runWithExpensiveErrorDiagnosticsDisabled ../../../node_modules/.pnpm/@testing-library+dom@10.4.0/node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback ../../../node_modules/.pnpm/@testing-library+dom@10.4.0/node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback ../../../node_modules/.pnpm/@testing-library+dom@10.4.0/node_modules/@testing-library/dom/dist/wait-for.js:118:16
Check-Build-Test
Process completed with exit code 1.
Check-Build-Test
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Check-Build-Test: examples/rooch_fish/web/src/hooks/useFishController.ts#L160
React Hook useEffect has a missing dependency: 'handleFishMove'. Either include it or remove the dependency array
Check-Build-Test: examples/rooch_fish/web/src/hooks/useRoochFieldStates.ts#L52
React Hook useEffect has a missing dependency: 'deserializeFieldState'. Either include it or remove the dependency array
Check-Build-Test: examples/rooch_fish/web/src/hooks/useRoochWSFieldStates.ts#L94
React Hook useEffect has a missing dependency: 'fetchFullData'. Either include it or remove the dependency array
Check-Build-Test: examples/rooch_fish/web/src/hooks/useRoochWSFieldStates.ts#L190
React Hook useEffect has missing dependencies: 'fetchDiffData' and 'fetchFullData'. Either include them or remove the dependency array
Check-Build-Test: examples/rooch_fish/web/src/hooks/useSeqNumber.ts#L13
The 'queryKey' array makes the dependencies of useCallback Hook (at line 27) change on every render. To fix this, wrap the initialization of 'queryKey' in its own useMemo() Hook
Check-Build-Test: examples/rooch_fish/web/src/hooks/useSeqNumber.ts#L13
The 'queryKey' array makes the dependencies of useCallback Hook (at line 44) change on every render. To fix this, wrap the initialization of 'queryKey' in its own useMemo() Hook
Check-Build-Test: third_party/move/language/evm/hardhat-move/src/index.ts#L230
Expected '===' and instead saw '=='
Check-Build-Test: third_party/move/language/evm/hardhat-move/src/index.ts#L342
Expected '===' and instead saw '=='
Check-Build-Test: third_party/move/language/evm/hardhat-move/src/index.ts#L347
Expected '===' and instead saw '=='
Check-Build-Test: third_party/move/language/evm/hardhat-move/src/index.ts#L361
Expected '===' and instead saw '=='