Skip to content

Bump the effect group across 1 directory with 4 updates #1588

Bump the effect group across 1 directory with 4 updates

Bump the effect group across 1 directory with 4 updates #1588

Triggered via pull request August 9, 2024 04:02
Status Failure
Total duration 55s
Artifacts 1

ci.yml

on: pull_request
Smoke test
0s
Smoke test
Push image
0s
Push image
Matrix: deploy
Notify of failure
0s
Notify of failure
Fit to window
Zoom out
Zoom in

Annotations

25 errors
Typecheck: src/CoarNotify.ts#L31
Property 'nonEmpty' does not exist on type 'typeof import("/home/runner/work/coar-notify/coar-notify/node_modules/@effect/schema/dist/dts/Schema")'.
Typecheck: src/Logger.ts#L19
Property 'error' does not exist on type 'RequestError'.
Typecheck: src/OpenAlex/OpenAlexApi.ts#L156
Expected 1 arguments, but got 2.
Typecheck: src/ReviewRequest.ts#L31
Expected 1 arguments, but got 2.
Typecheck: src/ReviewRequest.ts#L32
Expected 1 arguments, but got 2.
Typecheck: src/ReviewRequest.ts#L56
Argument of type 'readonly string[] | undefined' is not assignable to parameter of type 'readonly string[]'.
Typecheck: src/ReviewRequest.ts#L70
Type 'unknown' must have a '[Symbol.iterator]()' method that returns an iterator.
Typecheck: src/ReviewRequest.ts#L70
Argument of type 'readonly "write-prereview"[] | undefined' is not assignable to parameter of type 'readonly "write-prereview"[]'.
Typecheck: src/Router.ts#L30
Property 'nonEmpty' does not exist on type 'typeof import("/home/runner/work/coar-notify/coar-notify/node_modules/@effect/schema/dist/dts/Schema")'.
Typecheck: src/Slack.ts#L26
Property 'nonEmpty' does not exist on type 'typeof import("/home/runner/work/coar-notify/coar-notify/node_modules/@effect/schema/dist/dts/Schema")'.
Lint: src/CoarNotify.ts#L31
Unsafe argument of type `any` assigned to a parameter of type `(_: filter<Schema<string, string, never>>) => Schema.All | PropertySignature.All<PropertyKey>`
Lint: src/CoarNotify.ts#L31
Unsafe call of an `error` type typed value
Lint: src/ReviewRequest.ts#L306
Unsafe assignment of an `any` value
Lint: src/Router.ts#L30
Unsafe argument of type `any` assigned to a parameter of type `(_: filter<Schema<string, string, never>>) => Schema.All | PropertySignature.All<PropertyKey>`
Lint: src/Router.ts#L30
Unsafe call of an `error` type typed value
Lint: src/Slack.ts#L26
Unsafe argument of type `any` assigned to a parameter of type `(_: typeof String$) => Schema.All | PropertySignature.All<PropertyKey>`
Lint: src/Slack.ts#L26
Unsafe call of an `error` type typed value
Lint: src/Slack.ts#L31
Unsafe argument of type `any` assigned to a parameter of type `(_: typeof String$) => Schema.All | PropertySignature.All<PropertyKey>`
Lint: src/Slack.ts#L31
Unsafe call of an `error` type typed value
Lint: src/Slack.ts#L218
Unsafe assignment of an error typed value
test/CoarNotify.test.ts: src/CoarNotify.ts#L31
TypeError: Schema.nonEmpty is not a function ❯ src/CoarNotify.ts:31:55 ❯ test/CoarNotify.test.ts:4:31
test/OpenAlex/OpenAlexApiLive.test.ts > OpenAlexApiLive > getWork > when the response has a non-200 status code (with seed=-1204847794): test/OpenAlex/OpenAlexApiLive.test.ts#L78
Error: Property failed after 1 tests { seed: -1204847794, path: "0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0", endOnFailure: true } Counterexample: ["10.00/&",{"body":undefined,"status":201}] Shrunk 26 time(s) Got AssertionError: expected 'StatusCode: invalid status code (201 …' to contain 'StatusCode error' at next (/home/runner/work/coar-notify/coar-notify/test/OpenAlex/OpenAlexApiLive.test.ts:78:32) Hint: Enable verbose mode in order to have the list of all failing values encountered during the run ❯ next test/OpenAlex/OpenAlexApiLive.test.ts:78:32 ❯ buildError node_modules/fast-check/lib/esm/check/runner/utils/RunDetailsFormatter.js:126:15 ❯ asyncThrowIfFailed node_modules/fast-check/lib/esm/check/runner/utils/RunDetailsFormatter.js:143:11
test/OpenAlex/OpenAlexApiLive.test.ts > OpenAlexApiLive > listWorks > when the response has a non-200 status code (with seed=-176272583): test/OpenAlex/OpenAlexApiLive.test.ts#L178
Error: Property failed after 1 tests { seed: -176272583, path: "0:0:0:0:0:0:0:0:0:0:0:0", endOnFailure: true } Counterexample: [,{"body":undefined,"status":201}] Shrunk 11 time(s) Got AssertionError: expected 'StatusCode: invalid status code (201 …' to contain 'StatusCode error' at next (/home/runner/work/coar-notify/coar-notify/test/OpenAlex/OpenAlexApiLive.test.ts:178:32) Hint: Enable verbose mode in order to have the list of all failing values encountered during the run ❯ next test/OpenAlex/OpenAlexApiLive.test.ts:178:32 ❯ buildError node_modules/fast-check/lib/esm/check/runner/utils/RunDetailsFormatter.js:126:15 ❯ asyncThrowIfFailed node_modules/fast-check/lib/esm/check/runner/utils/RunDetailsFormatter.js:143:11
Test
Process completed with exit code 1.
Build image
buildx failed with: ERROR: failed to solve: process "/bin/sh -c npx tsc --project tsconfig.build.json" did not complete successfully: exit code: 2

Artifacts

Produced during runtime
Name Size
PREreview~coar-notify~LKN59U.dockerbuild
7.31 KB