Skip to content

refactor: avoid computing stats and conclusion #2996

refactor: avoid computing stats and conclusion

refactor: avoid computing stats and conclusion #2996

Triggered via pull request January 1, 2025 11:26
Status Failure
Total duration 4m 12s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 4 warnings
apps/backend/src/api/handlers/getAuthProjectBuilds.e2e.test.ts > getAuthProjectBuilds > returns a list of project builds sorted by id desc: apps/backend/src/api/handlers/getAuthProjectBuilds.e2e.test.ts#L48
Error: expected 200 "OK", got 500 "Internal Server Error" ❯ apps/backend/src/api/handlers/getAuthProjectBuilds.e2e.test.ts:48:8 ❯ Test._assertStatus node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:252:14 ❯ node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:308:13 ❯ Test._assertFunction node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:285:13 ❯ Test.assert node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:164:23 ❯ Server.localAssert node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:120:14
apps/backend/src/api/handlers/getAuthProjectBuilds.e2e.test.ts > getAuthProjectBuilds > with "page" and "perPage" params > returns limited number of builds: apps/backend/src/api/handlers/getAuthProjectBuilds.e2e.test.ts#L65
Error: expected 200 "OK", got 500 "Internal Server Error" ❯ apps/backend/src/api/handlers/getAuthProjectBuilds.e2e.test.ts:65:10 ❯ Test._assertStatus node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:252:14 ❯ node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:308:13 ❯ Test._assertFunction node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:285:13 ❯ Test.assert node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:164:23 ❯ Server.localAssert node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:120:14
apps/backend/src/api/handlers/getAuthProjectBuilds.e2e.test.ts > getAuthProjectBuilds > with "commit" params > filters builds by `compareScreenshotBucket.commit` or `builds.prHeadCommit`: apps/backend/src/api/handlers/getAuthProjectBuilds.e2e.test.ts#L92
Error: expected 200 "OK", got 500 "Internal Server Error" ❯ apps/backend/src/api/handlers/getAuthProjectBuilds.e2e.test.ts:92:10 ❯ Test._assertStatus node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:252:14 ❯ node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:308:13 ❯ Test._assertFunction node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:285:13 ❯ Test.assert node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:164:23 ❯ Server.localAssert node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:120:14
apps/backend/src/api/handlers/getAuthProjectBuilds.e2e.test.ts > getAuthProjectBuilds > with "distinctName" params > returns only the latest builds by `builds.name`: apps/backend/src/api/handlers/getAuthProjectBuilds.e2e.test.ts#L121
Error: expected 200 "OK", got 500 "Internal Server Error" ❯ apps/backend/src/api/handlers/getAuthProjectBuilds.e2e.test.ts:121:10 ❯ Test._assertStatus node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:252:14 ❯ node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:308:13 ❯ Test._assertFunction node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:285:13 ❯ Test.assert node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:164:23 ❯ Server.localAssert node_modules/.pnpm/[email protected]/node_modules/supertest/lib/test.js:120:14
apps/backend/src/graphql/tests/queryRepository.e2e.test.ts > GraphQL > queryRepository > should list builds sorted by number: apps/backend/src/graphql/testing.ts#L6
AssertionError: expected [ { …(4) } ] to deeply equal [] - Expected + Received - Array [] + Array [ + Object { + "extensions": Object { + "code": "INTERNAL_SERVER_ERROR", + }, + "locations": Array [ + Object { + "column": 19, + "line": 15, + }, + ], + "message": "[ + { + \"code\": \"invalid_union\", + \"unionErrors\": [ + { + \"issues\": [ + { + \"received\": \"complete\", + \"code\": \"invalid_enum_value\", + \"options\": [ + \"accepted\", + \"rejected\" + ], + \"path\": [], + \"message\": \"Invalid enum value. Expected 'accepted' | 'rejected', received 'complete'\" + } + ], + \"name\": \"ZodError\" + }, + { + \"issues\": [ + { + \"received\": \"complete\", + \"code\": \"invalid_enum_value\", + \"options\": [ + \"no-changes\", + \"changes-detected\" + ], + \"path\": [], + \"message\": \"Invalid enum value. Expected 'no-changes' | 'changes-detected', received 'complete'\" + } + ], + \"name\": \"ZodError\" + }, + { + \"issues\": [ + { + \"received\": \"complete\", + \"code\": \"invalid_enum_value\", + \"options\": [ + \"expired\", + \"pending\", + \"progress\", + \"error\", + \"aborted\" + ], + \"path\": [], + \"message\": \"Invalid enum value. Expected 'expired' | 'pending' | 'progress' | 'error' | 'aborted', received 'complete'\" + } + ], + \"name\": \"ZodError\" + } + ], + \"path\": [], + \"message\": \"Invalid input\" + } + ]", + "path": Array [ + "project", + "builds", + "edges", + 0, + "status", + ], + }, + ] ❯ Module.expectNoGraphQLError apps/backend/src/graphql/testing.ts:6:29 ❯ apps/backend/src/graphql/tests/queryRepository.e2e.test.ts:82:7
apps/backend/src/graphql/tests/resolveBuild.e2e.test.ts > GraphQL > resolveBuild > should sort the diffs by score: apps/backend/src/graphql/tests/resolveBuild.e2e.test.ts#L108
AssertionError: expected [] to deeply equal [ …(3) ] - Expected + Received - Array [ - Object { - "name": "email_deleted", - "status": "changed", - }, - Object { - "name": "email_deleted", - "status": "unchanged", - }, - Object { - "name": "email_deleted", - "status": "unchanged", - }, - ] + Array [] ❯ apps/backend/src/graphql/tests/resolveBuild.e2e.test.ts:108:31
apps/backend/src/graphql/tests/setValidationStatus.e2e.test.ts > GraphQL > validationStatus > should mutate all the validationStatus: apps/backend/src/graphql/tests/setValidationStatus.e2e.test.ts#L104
AssertionError: expected [] to have a length of 3 but got +0 - Expected + Received - 3 + 0 ❯ apps/backend/src/graphql/tests/setValidationStatus.e2e.test.ts:104:9
integration-test
Process completed with exit code 1.
unit-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
static-analysis
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
integration-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
e2e-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636