Skip to content

Improve api for Caveat Enforcer actions and Client #215

Improve api for Caveat Enforcer actions and Client

Improve api for Caveat Enforcer actions and Client #215

Triggered via pull request August 7, 2025 01:38
Status Failure
Total duration 3m 58s
Artifacts

main.yml

on: pull_request
Check workflows
27s
Check workflows
Matrix: Build, lint, and test / Turbo Pipeline
Matrix: End to end tests / Turbo Pipeline
Code scanner  /  Run security scan
3m 6s
Code scanner / Run security scan
All jobs completed
0s
All jobs completed
All jobs pass
3s
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

65 errors and 24 warnings
Build, lint, and test / Turbo Pipeline (20.x)
'"./actions"' has no exported member named 'CaveatEnforcerClient'. Did you mean 'caveatEnforcerActions'?
Build, lint, and test / Turbo Pipeline (20.x)
Module '"./actions"' has no exported member 'createCaveatEnforcerClient'.
Build, lint, and test / Turbo Pipeline (20.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
Build, lint, and test / Turbo Pipeline (20.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
Build, lint, and test / Turbo Pipeline (20.x)
@metamask/delegation-toolkit#build: command (/home/runner/work/delegation-toolkit/delegation-toolkit/packages/delegation-toolkit) /tmp/xfs-05a29ee2/yarn run build exited (2)
Build, lint, and test / Turbo Pipeline (20.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
Build, lint, and test / Turbo Pipeline (20.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
Build, lint, and test / Turbo Pipeline (20.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
Build, lint, and test / Turbo Pipeline (20.x)
Property 'args' does not exist on type 'Caveat | undefined'.
Build, lint, and test / Turbo Pipeline (20.x)
Property 'terms' does not exist on type 'Caveat | undefined'.
Build, lint, and test / Turbo Pipeline (22.x)
'"./actions"' has no exported member named 'CaveatEnforcerClient'. Did you mean 'caveatEnforcerActions'?
Build, lint, and test / Turbo Pipeline (22.x)
Module '"./actions"' has no exported member 'createCaveatEnforcerClient'.
Build, lint, and test / Turbo Pipeline (22.x)
@metamask/delegation-toolkit#build: command (/home/runner/work/delegation-toolkit/delegation-toolkit/packages/delegation-toolkit) /tmp/xfs-a74db8ae/yarn run build exited (2)
Build, lint, and test / Turbo Pipeline (22.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
Build, lint, and test / Turbo Pipeline (22.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
Build, lint, and test / Turbo Pipeline (22.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
Build, lint, and test / Turbo Pipeline (22.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
Build, lint, and test / Turbo Pipeline (22.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
Build, lint, and test / Turbo Pipeline (22.x)
Property 'args' does not exist on type 'Caveat | undefined'.
Build, lint, and test / Turbo Pipeline (22.x)
Property 'terms' does not exist on type 'Caveat | undefined'.
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)
'"./actions"' has no exported member named 'CaveatEnforcerClient'. Did you mean 'caveatEnforcerActions'?
End to end tests / Turbo Pipeline (18.x)
Module '"./actions"' has no exported member 'createCaveatEnforcerClient'.
End to end tests / Turbo Pipeline (18.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
End to end tests / Turbo Pipeline (18.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
End to end tests / Turbo Pipeline (18.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
End to end tests / Turbo Pipeline (18.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
End to end tests / Turbo Pipeline (18.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
End to end tests / Turbo Pipeline (18.x)
Property 'args' does not exist on type 'Caveat | undefined'.
End to end tests / Turbo Pipeline (18.x)
Property 'terms' does not exist on type 'Caveat | undefined'.
End to end tests / Turbo Pipeline (18.x)
@metamask/delegation-toolkit#build: command (/home/runner/work/delegation-toolkit/delegation-toolkit/packages/delegation-toolkit) /tmp/xfs-a0f2c0f6/yarn run build exited (2)
Build, lint, and test / Turbo Pipeline (18.x)
'"./actions"' has no exported member named 'CaveatEnforcerClient'. Did you mean 'caveatEnforcerActions'?
Build, lint, and test / Turbo Pipeline (18.x)
Module '"./actions"' has no exported member 'createCaveatEnforcerClient'.
Build, lint, and test / Turbo Pipeline (18.x)
@metamask/delegation-toolkit#build: command (/home/runner/work/delegation-toolkit/delegation-toolkit/packages/delegation-toolkit) /tmp/xfs-c44469e7/yarn run build exited (2)
Build, lint, and test / Turbo Pipeline (18.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
Build, lint, and test / Turbo Pipeline (18.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
Build, lint, and test / Turbo Pipeline (18.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
Build, lint, and test / Turbo Pipeline (18.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
Build, lint, and test / Turbo Pipeline (18.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
Build, lint, and test / Turbo Pipeline (18.x)
Property 'args' does not exist on type 'Caveat | undefined'.
Build, lint, and test / Turbo Pipeline (18.x)
Property 'terms' does not exist on type 'Caveat | undefined'.
Build, lint, and test / Turbo Pipeline (18.x)
The strategy configuration was canceled because "build-lint-test.pipeline._20_x" failed
End to end tests / Turbo Pipeline (22.x)
The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.
End to end tests / Turbo Pipeline (22.x)
'"./actions"' has no exported member named 'CaveatEnforcerClient'. Did you mean 'caveatEnforcerActions'?
End to end tests / Turbo Pipeline (22.x)
Module '"./actions"' has no exported member 'createCaveatEnforcerClient'.
End to end tests / Turbo Pipeline (22.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
End to end tests / Turbo Pipeline (22.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
End to end tests / Turbo Pipeline (22.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
End to end tests / Turbo Pipeline (22.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
End to end tests / Turbo Pipeline (22.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
End to end tests / Turbo Pipeline (22.x)
Property 'args' does not exist on type 'Caveat | undefined'.
End to end tests / Turbo Pipeline (22.x)
Property 'terms' does not exist on type 'Caveat | undefined'.
End to end tests / Turbo Pipeline (22.x)
The strategy configuration was canceled because "end-to-end-tests.pipeline._18_x" failed
End to end tests / Turbo Pipeline (20.x)
The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.
End to end tests / Turbo Pipeline (20.x)
'"./actions"' has no exported member named 'CaveatEnforcerClient'. Did you mean 'caveatEnforcerActions'?
End to end tests / Turbo Pipeline (20.x)
Module '"./actions"' has no exported member 'createCaveatEnforcerClient'.
End to end tests / Turbo Pipeline (20.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
End to end tests / Turbo Pipeline (20.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
End to end tests / Turbo Pipeline (20.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
End to end tests / Turbo Pipeline (20.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
End to end tests / Turbo Pipeline (20.x)
Argument of type 'Delegation' is not assignable to parameter of type 'DelegationStruct<`0x${string}` | Uint8Array>'.
End to end tests / Turbo Pipeline (20.x)
Property 'args' does not exist on type 'Caveat | undefined'.
End to end tests / Turbo Pipeline (20.x)
Property 'terms' does not exist on type 'Caveat | undefined'.
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 (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)
Cache save failed.
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']
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)
Cache save failed.
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']
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)
Cache save failed.
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']
End to end tests / 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']
End to end tests / Turbo Pipeline (22.x)
Failed to restore: Cache service responded with 400
End to end tests / Turbo Pipeline (22.x)
Cache save failed.
End to end tests / 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']
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)
Cache save failed.
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']
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.