Skip to content

Introducing Caveat "Scopes" #124

Introducing Caveat "Scopes"

Introducing Caveat "Scopes" #124

Triggered via pull request July 10, 2025 05:08
Status Failure
Total duration 5m 3s
Artifacts

main.yml

on: pull_request
Check workflows
23s
Check workflows
Matrix: Build, lint, and test / Turbo Pipeline
Matrix: End to end tests / Turbo Pipeline
Code scanner  /  Run security scan
3m 1s
Code scanner / Run security scan
All jobs completed
All jobs completed
All jobs pass
2s
All jobs pass
Determine whether this is a release merge commit
0s
Determine whether this is a release merge commit
Publish release  /  publish-release
Publish release / publish-release
Publish release  /  publish-npm-dry-run
Publish release / publish-npm-dry-run
Publish release  /  publish-npm
Publish release / publish-npm
Fit to window
Zoom out
Zoom in

Annotations

37 errors and 16 warnings
Build, lint, and test / Turbo Pipeline (20.x): packages/delegation-toolkit/src/utils.ts#L65
Type Parameter name `T` must match the RegExp: /^.{3,}/u
Build, lint, and test / Turbo Pipeline (20.x): packages/delegation-toolkit/src/delegation.ts#L25
`./caveatBuilder/scope` type import should occur before import of `./caveats`
Build, lint, and test / Turbo Pipeline (20.x): packages/delegation-toolkit/src/caveatBuilder/scope/ownershipScope.ts#L5
`../../utils` import should occur before import of `../coreCaveatBuilder`
Build, lint, and test / Turbo Pipeline (20.x): packages/delegation-toolkit/src/caveatBuilder/scope/nativeTokenScope.ts#L7
`../../utils` import should occur before import of `../coreCaveatBuilder`
Build, lint, and test / Turbo Pipeline (20.x): packages/delegation-toolkit/src/caveatBuilder/scope/functionCallScope.ts#L24
This assertion is unnecessary since it does not change the type of the expression
Build, lint, and test / Turbo Pipeline (20.x): packages/delegation-toolkit/src/caveatBuilder/scope/functionCallScope.ts#L8
`../../utils` import should occur before type import of `../allowedCalldataBuilder`
Build, lint, and test / Turbo Pipeline (20.x): packages/delegation-toolkit/src/caveatBuilder/scope/erc721Scope.ts#L5
`../../utils` import should occur before import of `../coreCaveatBuilder`
Build, lint, and test / Turbo Pipeline (20.x): packages/delegation-toolkit/src/caveatBuilder/scope/erc20Scope.ts#L7
`../../utils` import should occur before import of `../coreCaveatBuilder`
Build, lint, and test / Turbo Pipeline (18.x): packages/delegation-toolkit/src/delegation.ts#L25
`./caveatBuilder/scope` type import should occur before import of `./caveats`
Build, lint, and test / Turbo Pipeline (18.x): packages/delegation-toolkit/src/caveatBuilder/scope/ownershipScope.ts#L5
`../../utils` import should occur before import of `../coreCaveatBuilder`
Build, lint, and test / Turbo Pipeline (18.x): packages/delegation-toolkit/src/caveatBuilder/scope/nativeTokenScope.ts#L7
`../../utils` import should occur before import of `../coreCaveatBuilder`
Build, lint, and test / Turbo Pipeline (18.x): packages/delegation-toolkit/src/caveatBuilder/scope/functionCallScope.ts#L24
This assertion is unnecessary since it does not change the type of the expression
Build, lint, and test / Turbo Pipeline (18.x): packages/delegation-toolkit/src/caveatBuilder/scope/functionCallScope.ts#L8
`../../utils` import should occur before type import of `../allowedCalldataBuilder`
Build, lint, and test / Turbo Pipeline (18.x)
@metamask/delegation-toolkit#lint: command (/home/runner/work/delegation-toolkit/delegation-toolkit/packages/delegation-toolkit) /tmp/xfs-5f5bdc7d/yarn run lint exited (1)
Build, lint, and test / Turbo Pipeline (18.x): packages/delegation-toolkit/src/caveatBuilder/scope/erc721Scope.ts#L5
`../../utils` import should occur before import of `../coreCaveatBuilder`
Build, lint, and test / Turbo Pipeline (18.x): packages/delegation-toolkit/src/caveatBuilder/scope/erc20Scope.ts#L7
`../../utils` import should occur before import of `../coreCaveatBuilder`
Build, lint, and test / Turbo Pipeline (18.x)
The strategy configuration was canceled because "build-lint-test.pipeline._20_x" failed
Build, lint, and test / Turbo Pipeline (22.x)
@metamask/delegation-toolkit#lint: command (/home/runner/work/delegation-toolkit/delegation-toolkit/packages/delegation-toolkit) /tmp/xfs-697df913/yarn run lint exited (1)
Build, lint, and test / Turbo Pipeline (22.x): packages/delegation-toolkit/src/delegation.ts#L25
`./caveatBuilder/scope` type import should occur before import of `./caveats`
Build, lint, and test / Turbo Pipeline (22.x): packages/delegation-toolkit/src/caveatBuilder/scope/ownershipScope.ts#L5
`../../utils` import should occur before import of `../coreCaveatBuilder`
Build, lint, and test / Turbo Pipeline (22.x): packages/delegation-toolkit/src/caveatBuilder/scope/nativeTokenScope.ts#L7
`../../utils` import should occur before import of `../coreCaveatBuilder`
Build, lint, and test / Turbo Pipeline (22.x): packages/delegation-toolkit/src/caveatBuilder/scope/functionCallScope.ts#L24
This assertion is unnecessary since it does not change the type of the expression
Build, lint, and test / Turbo Pipeline (22.x): packages/delegation-toolkit/src/caveatBuilder/scope/functionCallScope.ts#L8
`../../utils` import should occur before type import of `../allowedCalldataBuilder`
Build, lint, and test / Turbo Pipeline (22.x): packages/delegation-toolkit/src/caveatBuilder/scope/erc721Scope.ts#L5
`../../utils` import should occur before import of `../coreCaveatBuilder`
Build, lint, and test / Turbo Pipeline (22.x): packages/delegation-toolkit/src/caveatBuilder/scope/erc20Scope.ts#L7
`../../utils` import should occur before import of `../coreCaveatBuilder`
Build, lint, and test / Turbo Pipeline (22.x)
The strategy configuration was canceled because "build-lint-test.pipeline._20_x" failed
End to end tests / Turbo Pipeline (18.x)
Process completed with exit code 1.
End to end tests / Turbo Pipeline (18.x)
@metamask/delegator-e2e#e2etest:smoketest: command (/home/runner/work/delegation-toolkit/delegation-toolkit/packages/delegator-e2e) /tmp/xfs-fc8f5a09/yarn run e2etest:smoketest exited (1)
End to end tests / Turbo Pipeline (20.x)
The operation was canceled.
End to end tests / Turbo Pipeline (20.x)
The strategy configuration was canceled because "end-to-end-tests.pipeline._18_x" failed
All jobs pass
Process completed with exit code 1.
Build, lint, and test / Turbo Pipeline (20.x)
Unexpected input(s) 'submodules', valid inputs are ['is-high-risk-environment', 'fetch-depth', 'ref', 'cache-node-modules', 'node-version', 'skip-allow-scripts', 'yarn-install-max-retries', 'yarn-custom-url']
Build, lint, and test / Turbo Pipeline (20.x)
Failed to restore: Cache service responded with 400
Build, lint, and test / Turbo Pipeline (20.x)
Unexpected input(s) 'submodules', valid inputs are ['is-high-risk-environment', 'fetch-depth', 'ref', 'cache-node-modules', 'node-version', 'skip-allow-scripts', 'yarn-install-max-retries', 'yarn-custom-url']
Build, lint, and test / Turbo Pipeline (18.x)
Unexpected input(s) 'submodules', valid inputs are ['is-high-risk-environment', 'fetch-depth', 'ref', 'cache-node-modules', 'node-version', 'skip-allow-scripts', 'yarn-install-max-retries', 'yarn-custom-url']
Build, lint, and test / Turbo Pipeline (18.x)
Failed to restore: Cache service responded with 400
Build, lint, and test / Turbo Pipeline (18.x)
Unexpected input(s) 'submodules', valid inputs are ['is-high-risk-environment', 'fetch-depth', 'ref', 'cache-node-modules', 'node-version', 'skip-allow-scripts', 'yarn-install-max-retries', 'yarn-custom-url']
Build, lint, and test / Turbo Pipeline (22.x)
Unexpected input(s) 'submodules', valid inputs are ['is-high-risk-environment', 'fetch-depth', 'ref', 'cache-node-modules', 'node-version', 'skip-allow-scripts', 'yarn-install-max-retries', 'yarn-custom-url']
Build, lint, and test / Turbo Pipeline (22.x)
Failed to restore: Cache service responded with 400
Build, lint, and test / Turbo Pipeline (22.x)
Unexpected input(s) 'submodules', valid inputs are ['is-high-risk-environment', 'fetch-depth', 'ref', 'cache-node-modules', 'node-version', 'skip-allow-scripts', 'yarn-install-max-retries', 'yarn-custom-url']
Code scanner / Run security scan
Unable to validate code scanning workflow: error: getWorkflow() failed: Error: Expected to find a code scanning workflow file at /home/runner/work/delegation-toolkit/delegation-toolkit/.github/workflows/main.yml, but no such file existed. This can happen if the currently running workflow checks out a branch that doesn't contain the corresponding workflow file.
End to end tests / Turbo Pipeline (18.x)
Unexpected input(s) 'submodules', valid inputs are ['is-high-risk-environment', 'fetch-depth', 'ref', 'cache-node-modules', 'node-version', 'skip-allow-scripts', 'yarn-install-max-retries', 'yarn-custom-url']
End to end tests / Turbo Pipeline (18.x)
Failed to restore: Cache service responded with 400
End to end tests / Turbo Pipeline (18.x)
Unexpected input(s) 'submodules', valid inputs are ['is-high-risk-environment', 'fetch-depth', 'ref', 'cache-node-modules', 'node-version', 'skip-allow-scripts', 'yarn-install-max-retries', 'yarn-custom-url']
End to end tests / Turbo Pipeline (20.x)
Unexpected input(s) 'submodules', valid inputs are ['is-high-risk-environment', 'fetch-depth', 'ref', 'cache-node-modules', 'node-version', 'skip-allow-scripts', 'yarn-install-max-retries', 'yarn-custom-url']
End to end tests / Turbo Pipeline (20.x)
Failed to restore: Cache service responded with 400
End to end tests / Turbo Pipeline (20.x)
Unexpected input(s) 'submodules', valid inputs are ['is-high-risk-environment', 'fetch-depth', 'ref', 'cache-node-modules', 'node-version', 'skip-allow-scripts', 'yarn-install-max-retries', 'yarn-custom-url']