Skip to content

test: investigate slow request handler imports #2687

test: investigate slow request handler imports

test: investigate slow request handler imports #2687

Triggered via pull request March 18, 2025 11:36
Status Failure
Total duration 4m 34s
Artifacts

v-next-ci.yml

on: pull_request
is-v-next
5s
is-v-next
List packages
5s
List packages
Check dependency versions
4s
Check dependency versions
Check that the npm scripts are consistent
4s
Check that the npm scripts are consistent
Matrix: bundle
Matrix: ci
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
should load all the handlers in a reasonable amount of time: v-next/hardhat/test/internal/builtin-plugins/network-manager/request-handlers/handlers-array.ts#L88
AssertionError: The maximum import duration of 92ms (local-accounts.ts) exceeds the 20ms limit - Expected + Received - true + false at TestContext.<anonymous> (test/internal/builtin-plugins/network-manager/request-handlers/handlers-array.ts:88:14)
[hardhat] ci on ubuntu-latest (Node 22)
Process completed with exit code 1.
should load all the handlers in a reasonable amount of time: v-next/hardhat/test/internal/builtin-plugins/network-manager/request-handlers/handlers-array.ts#L88
AssertionError: The maximum import duration of 46ms (hd-wallet-handler.ts) exceeds the 20ms limit - Expected + Received - true + false at TestContext.<anonymous> (test/internal/builtin-plugins/network-manager/request-handlers/handlers-array.ts:88:14)
[hardhat] ci on macos-latest (Node 22)
Process completed with exit code 1.
[hardhat] ci on windows-latest (Node 22)
Process completed with exit code 1.
should load all the handlers in a reasonable amount of time: v-next/hardhat/test/internal/builtin-plugins/network-manager/request-handlers/handlers-array.ts#L88
AssertionError: The maximum import duration of 106ms (hd-wallet-handler.ts) exceeds the 20ms limit - Expected + Received - true + false at TestContext.<anonymous> (test/internal/builtin-plugins/network-manager/request-handlers/handlers-array.ts:88:14)
[hardhat] ci on macos-13 (Node 22)
Process completed with exit code 1.
ci
Process completed with exit code 1.
List packages
'base' input parameter is ignored when action is triggered by pull request event