Skip to content

feat: usage/record capability definition #1433

feat: usage/record capability definition

feat: usage/record capability definition #1433

Triggered via pull request October 11, 2024 13:26
Status Failure
Total duration 45s
Artifacts

upload-api.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 2 warnings
Typecheck
Class 'import("/home/runner/work/w3up/w3up/packages/upload-api/test/storage/usage-storage", { assert: { "resolution-mode": "import" } }).UsageStorage' incorrectly implements interface 'import("/home/runner/work/w3up/w3up/packages/upload-api/src/types/usage", { assert: { "resolution-mode": "import" } }).UsageStorage'.
Typecheck
Type '{ errorReporter: { catch(error: HandlerExecutionError | WriteError<unknown>): void; }; maxUploadSize: number; filecoinSubmitQueue: API.Queue<T>; pieceOfferQueue: API.Queue<...>; ... 27 more ...; url: URL; }' is not assignable to type 'UcantoServerContext'.
Typecheck
Type '{ mail: DebugEmail; service: ServiceSigner; connection: ConnectionView<Service>; grantAccess: (mail: { url: string | URL; }) => Promise<...>; ... 33 more ...; validateAuthorization: (authorization: Authorization<...>) => Await<...>; }' is not assignable to type 'UcantoServerTestContext'.
Typecheck
Process completed with exit code 1.
Test
Class 'import("/home/runner/work/w3up/w3up/packages/upload-api/test/storage/usage-storage", { assert: { "resolution-mode": "import" } }).UsageStorage' incorrectly implements interface 'import("/home/runner/work/w3up/w3up/packages/upload-api/src/types/usage", { assert: { "resolution-mode": "import" } }).UsageStorage'.
Test
Type '{ errorReporter: { catch(error: HandlerExecutionError | WriteError<unknown>): void; }; maxUploadSize: number; filecoinSubmitQueue: API.Queue<T>; pieceOfferQueue: API.Queue<...>; ... 27 more ...; url: URL; }' is not assignable to type 'UcantoServerContext'.
Test
Type '{ mail: DebugEmail; service: ServiceSigner; connection: ConnectionView<Service>; grantAccess: (mail: { url: string | URL; }) => Promise<...>; ... 33 more ...; validateAuthorization: (authorization: Authorization<...>) => Await<...>; }' is not assignable to type 'UcantoServerTestContext'.
Test
Process completed with exit code 1.
Typecheck
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/