Skip to content

refactor: support non-evm tokens in asset-picker #59629

refactor: support non-evm tokens in asset-picker

refactor: support non-evm tokens in asset-picker #59629

Triggered via pull request February 24, 2025 23:23
Status Failure
Total duration 19m 58s
Artifacts 10

main.yml

on: pull_request
Wait for CircleCI workflow status  /  Wait for CircleCI workflow status
19m 39s
Wait for CircleCI workflow status / Wait for CircleCI workflow status
Build storybook  /  Build storybook
2m 53s
Build storybook / Build storybook
Build beta  /  Build beta
37s
Build beta / Build beta
Matrix: Run tests / Unit tests
Matrix: Validate lavamoat policy webapp / Validate lavamoat policy webapp
Lint workflows  /  Lint workflows
8s
Lint workflows / Lint workflows
Test lint shellcheck  /  Test lint shellcheck
8s
Test lint shellcheck / Test lint shellcheck
Test lint  /  Test lint
7m 27s
Test lint / Test lint
Test lint changelog  /  Test lint changelog
1m 28s
Test lint changelog / Test lint changelog
Test lint lockfile  /  Test lint lockfile
2m 6s
Test lint lockfile / Test lint lockfile
Test yarn dedupe  /  Test yarn dedupe
1m 30s
Test yarn dedupe / Test yarn dedupe
Test deps depcheck  /  Test deps depcheck
1m 46s
Test deps depcheck / Test deps depcheck
Test storybook  /  Test storybook
8m 11s
Test storybook / Test storybook
Validate lavamoat allow scripts  /  Validate lavamoat allow scripts
1m 41s
Validate lavamoat allow scripts / Validate lavamoat allow scripts
Validate lavamoat policy build  /  Validate lavamoat policy build
2m 43s
Validate lavamoat policy build / Validate lavamoat policy build
prep-build-test-browserify
7m 52s
prep-build-test-browserify
prep-build-test-webpack
2m 20s
prep-build-test-webpack
Run tests  /  Webpack tests
2m 2s
Run tests / Webpack tests
Run tests  /  Integration tests
4m 25s
Run tests / Integration tests
Test circular deps
1m 57s
Test circular deps
Test deps audit  /  Test deps audit
1m 54s
Test deps audit / Test deps audit
Runway  /  Runway
Runway / Runway
Publish prerelease  /  Publish prerelease
Publish prerelease / Publish prerelease
Matrix: run-benchmarks / benchmarks
Run tests  /  Report coverage
0s
Run tests / Report coverage
All jobs completed
0s
All jobs completed
All jobs pass
0s
All jobs pass
Log merge group failure  /  Log merge group failure
Log merge group failure / Log merge group failure
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 16 warnings
Run tests / Unit tests (4)
Process completed with exit code 1.
Run tests / Unit tests (2)
The job was canceled because "_4" failed.
Run tests / Unit tests (2)
The operation was canceled.
Run tests / Unit tests (5)
The job was canceled because "_4" failed.
Run tests / Unit tests (5)
The operation was canceled.
Run tests / Unit tests (3)
The job was canceled because "_4" failed.
Run tests / Unit tests (3)
The operation was canceled.
Test lint / Test lint: ui/hooks/bridge/useTokensWithFiltering.ts#L142
Type '{ address: `0x${string}` | `${string}:${string}`; type: AssetType.token; symbol: string; image: string; decimals: number; chainId: `0x${string}`; isNative?: boolean | undefined; aggregators?: string[] | undefined; ... 6 more ...; title: string; } | { ...; }' is not assignable to type 'AssetWithDisplayData<ERC20Asset> | AssetWithDisplayData<NativeAsset>'.
Test lint / Test lint
Process completed with exit code 2.
Wait for CircleCI workflow status / Wait for CircleCI workflow status
Workflow status is 'failed'. Exiting with error.
Wait for CircleCI workflow status / Wait for CircleCI workflow status
Process completed with exit code 1.
All jobs pass
Process completed with exit code 1.
Build beta / Build beta
Failed to download action 'https://api.github.com/internal/immutable-actions/actions/setup-node/download/sha256:78c50889126c1fd3c70002a856b88cfed38c7684fcd3452ab33b3c4d7683734f?x-ghcr-actor-id=42009758&x-ghcr-actor-type=repository&x-ghcr-alg=hmac-sha256&x-ghcr-date=2025-02-24T23:23:19Z&x-ghcr-expires=10m0s&x-ghcr-host=ghcr.io&***
Build beta / Build beta
Back off 16.114 seconds before retry.
Run tests / Integration tests
Failed to download action 'https://api.github.com/internal/immutable-actions/actions/upload-artifact/download/sha256:616a78d560ff6e51da6ee0e5fe2a6ab1222f75c981f88d2f74a65cd8d7b0a95b?x-ghcr-actor-id=42009758&x-ghcr-actor-type=repository&x-ghcr-alg=hmac-sha256&x-ghcr-date=2025-02-24T23:23:17Z&x-ghcr-expires=10m0s&x-ghcr-host=ghcr.io&***
Run tests / Integration tests
Back off 27.633 seconds before retry.
Test lint / Test lint: app/scripts/controllers/swaps/swaps.test.ts#L1265
Some tests seem to be commented
Test lint / Test lint: app/scripts/controllers/swaps/swaps.test.ts#L1286
Some tests seem to be commented
Test lint / Test lint: app/scripts/controllers/swaps/swaps.test.ts#L1306
Some tests seem to be commented
Test lint / Test lint: app/scripts/controllers/swaps/swaps.test.ts#L1390
Some tests seem to be commented
Test lint / Test lint: app/scripts/controllers/swaps/swaps.test.ts#L1406
Some tests seem to be commented
Test lint / Test lint: app/scripts/controllers/swaps/swaps.test.ts#L1429
Some tests seem to be commented
Test lint / Test lint: test/e2e/flask/solana/common-solana.ts#L91
'#fb9f18' Hex color values are not allowed. Consider using design tokens instead. For support reach out to the design system team #metamask-design-system on Slack
Test lint / Test lint: ui/components/app/alert-system/alert-modal/alert-modal.tsx#L209
React Hook "useI18nContext" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return?
Test lint / Test lint: ui/components/app/assets/asset-list/asset-list-control-bar/asset-list-control-bar.tsx#L83
React Hook useMemo has an unnecessary dependency: 'TEST_CHAINS'. Either exclude it or remove the dependency array. Outer scope values like 'TEST_CHAINS' aren't valid dependencies because mutating them doesn't re-render the component
Test lint / Test lint: ui/components/app/assets/asset-list/asset-list-control-bar/asset-list-control-bar.tsx#L109
React Hook useEffect has missing dependencies: 'allOpts', 'currentNetwork.chainId', 'dispatch', and 'tokenNetworkFilter'. Either include them or remove the dependency array
run-benchmarks / webpack-pageload
Failed to download action 'https://api.github.com/internal/immutable-actions/actions/upload-artifact/download/sha256:616a78d560ff6e51da6ee0e5fe2a6ab1222f75c981f88d2f74a65cd8d7b0a95b?x-ghcr-actor-id=42009758&x-ghcr-actor-type=repository&x-ghcr-alg=hmac-sha256&x-ghcr-date=2025-02-24T23:31:15Z&x-ghcr-expires=10m0s&x-ghcr-host=ghcr.io&***
run-benchmarks / webpack-pageload
Back off 27.206 seconds before retry.

Artifacts

Produced during runtime
Name Size
benchmark-browserify-pageload
796 Bytes
benchmark-browserify-userActions
197 Bytes
benchmark-webpack-pageload
819 Bytes
benchmark-webpack-userActions
196 Bytes
coverage-integration
809 KB
coverage-unit-1
1.08 MB
coverage-unit-6
1.08 MB
coverage-webpack
14.6 KB
prep-build-test-browserify
58.5 MB
prep-build-test-webpack
27.5 MB