Skip to content

[Deprecated] Improve CaveatBuilders to be less risky #70

[Deprecated] Improve CaveatBuilders to be less risky

[Deprecated] Improve CaveatBuilders to be less risky #70

Triggered via pull request July 2, 2025 04:55
Status Failure
Total duration 5m 20s
Artifacts

main.yml

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

27 errors and 13 warnings
Build, lint, and test / Turbo Pipeline (20.x): packages/delegation-toolkit/src/caveatBuilder/erc20PeriodTransferBuilder.ts#L22
Expected @param names to be "environment, config". Got "environment, tokenAddress, periodAmount, periodDuration, startDate"
Build, lint, and test / Turbo Pipeline (20.x): packages/delegation-toolkit/src/caveatBuilder/deployedBuilder.ts#L17
Expected @param names to be "environment, config". Got "environment, contractAddress, salt, bytecode"
Build, lint, and test / Turbo Pipeline (20.x): packages/delegation-toolkit/src/caveatBuilder/coreCaveatBuilder.ts#L82
`./ownershipTransferBuilder` import should occur before import of `./redeemerBuilder`
Build, lint, and test / Turbo Pipeline (20.x): packages/delegation-toolkit/src/caveatBuilder/caveatBuilder.ts#L14
Missing @param "caveats.allowInsecureUnrestrictedDelegation"
Build, lint, and test / Turbo Pipeline (20.x): packages/delegation-toolkit/src/caveatBuilder/caveatBuilder.ts#L12
Missing JSDoc @param "caveats.allowInsecureUnrestrictedDelegation" declaration
Build, lint, and test / Turbo Pipeline (18.x): packages/delegation-toolkit/src/caveatBuilder/erc20PeriodTransferBuilder.ts#L22
Expected @param names to be "environment, config". Got "environment, tokenAddress, periodAmount, periodDuration, startDate"
Build, lint, and test / Turbo Pipeline (18.x): packages/delegation-toolkit/src/caveatBuilder/deployedBuilder.ts#L17
Expected @param names to be "environment, config". Got "environment, contractAddress, salt, bytecode"
Build, lint, and test / Turbo Pipeline (18.x): packages/delegation-toolkit/src/caveatBuilder/coreCaveatBuilder.ts#L82
`./ownershipTransferBuilder` import should occur before import of `./redeemerBuilder`
Build, lint, and test / Turbo Pipeline (18.x): packages/delegation-toolkit/src/caveatBuilder/caveatBuilder.ts#L14
Missing @param "caveats.allowInsecureUnrestrictedDelegation"
Build, lint, and test / Turbo Pipeline (18.x): packages/delegation-toolkit/src/caveatBuilder/caveatBuilder.ts#L12
Missing JSDoc @param "caveats.allowInsecureUnrestrictedDelegation" declaration
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 (20.x)
Process completed with exit code 1.
End to end tests / Turbo Pipeline (20.x)
@metamask/delegator-e2e#e2etest:smoketest: command (/home/runner/work/delegation-toolkit/delegation-toolkit/packages/delegator-e2e) /tmp/xfs-9c84d315/yarn run e2etest:smoketest exited (1)
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-fe729416/yarn run e2etest:smoketest exited (1)
End to end tests / Turbo Pipeline (18.x)
The strategy configuration was canceled because "end-to-end-tests.pipeline._20_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: getCacheEntry failed: Cache service responded with 503
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: getCacheEntry failed: Cache service responded with 503
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']
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 (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: getCacheEntry failed: Cache service responded with 503
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 (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: getCacheEntry failed: Cache service responded with 503
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']