Skip to content

[EdgeDB] Add Engagement queries | refactor service/repo layers appropriately #2296

[EdgeDB] Add Engagement queries | refactor service/repo layers appropriately

[EdgeDB] Add Engagement queries | refactor service/repo layers appropriately #2296

Triggered via pull request June 6, 2024 21:26
Status Failure
Total duration 20m 35s
Artifacts

test.yml

on: pull_request
Matrix: E2E
Fit to window
Zoom out
Zoom in

Annotations

36 errors
Language e2e › The list of projects the language is engagement in: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at createLanguageEngagement (test/utility/create-engagement.ts:43:18) at async Promise.all (index 0) at Object.<anonymous> (test/language.e2e-spec.ts:220:5)
Language e2e › should throw error if trying to set hasExternalFirstScripture=true while language has engagements that have firstScripture=true: src/components/engagement/handlers/set-initial-end-date.handler.ts#L70
[Server]: Could set initial end date on engagement ServerException: Could set initial end date on engagement at SetInitialEndDate.handle (src/components/engagement/handlers/set-initial-end-date.handler.ts:70:13) at SyncEventBus.publish (src/core/events/event-bus.service.ts:48:7) at EngagementService.createLanguageEngagement (src/components/engagement/engagement.service.ts:80:5) at EngagementResolver.createLanguageEngagement (src/components/engagement/engagement.resolver.ts:133:24) [cause]: InputException: Another engagement has already been marked as having done the first scripture at EngagementRepository.verifyFirstScripture (src/components/engagement/engagement.repository.ts:676:13) at EngagementRepository.updateLanguage (src/components/engagement/engagement.repository.ts:372:7) at SetInitialEndDate.updateEngagementInitialEndDate (src/components/engagement/handlers/set-initial-end-date.handler.ts:87:7) at SetInitialEndDate.handle (src/components/engagement/handlers/set-initial-end-date.handler.ts:49:7) at SyncEventBus.publish (src/core/events/event-bus.service.ts:48:7) at EngagementService.createLanguageEngagement (src/components/engagement/engagement.service.ts:80:5) at EngagementResolver.createLanguageEngagement (src/components/engagement/engagement.resolver.ts:133:24) at createLanguageEngagement (test/utility/create-engagement.ts:43:18) at Object.<anonymous> (test/language.e2e-spec.ts:269:5)
Language e2e › can set hasExternalFirstScripture=true if language has no engagements that have firstScripture=true: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at createLanguageEngagement (test/utility/create-engagement.ts:43:18) at Object.<anonymous> (test/language.e2e-spec.ts:306:5)
Language e2e › presetInventory flag: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at createLanguageEngagement (test/utility/create-engagement.ts:43:18) at Object.<anonymous> (test/language.e2e-spec.ts:321:5)
Language e2e › List view of languages by presetInventory flag: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at createLanguageEngagement (test/utility/create-engagement.ts:43:18) at Object.<anonymous> (test/language.e2e-spec.ts:350:5)
Engagement Changeset Aware e2e › Create: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at createLanguageEngagement (test/utility/create-engagement.ts:43:18) at Object.<anonymous> (test/engagement-changeset-aware.e2e-spec.ts:169:5)
Engagement Changeset Aware e2e › Update: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at createLanguageEngagement (test/utility/create-engagement.ts:43:18) at Object.<anonymous> (test/engagement-changeset-aware.e2e-spec.ts:220:32)
Engagement Changeset Aware e2e › Update - created in changeset: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=changeset=iNijRtGOHcg) NotFoundException: Could not find Language (undefined=changeset=iNijRtGOHcg) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at Object.<anonymous> (test/engagement-changeset-aware.e2e-spec.ts:277:33)
Engagement Changeset Aware e2e › Delete: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at createLanguageEngagement (test/utility/create-engagement.ts:43:18) at Object.<anonymous> (test/engagement-changeset-aware.e2e-spec.ts:343:5)
Engagement Changeset Aware e2e › Cannot create duplicate language engagements in a changeset: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at createLanguageEngagement (test/utility/create-engagement.ts:43:18) at Object.<anonymous> (test/engagement-changeset-aware.e2e-spec.ts:413:5)
Product e2e › create & read product by id: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at createLanguageEngagement (test/utility/create-engagement.ts:43:18) at Object.<anonymous> (test/product.e2e-spec.ts:53:18)
Product e2e › create DirectScriptureProduct with unspecifiedScripture: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at createLanguageEngagement (test/utility/create-engagement.ts:43:18) at Object.<anonymous> (test/product.e2e-spec.ts:53:18)
Product e2e › create product with scriptureReferences: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at createLanguageEngagement (test/utility/create-engagement.ts:43:18) at Object.<anonymous> (test/product.e2e-spec.ts:53:18)
Product e2e › create DerivativeScriptureProduct with produces: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at createLanguageEngagement (test/utility/create-engagement.ts:43:18) at Object.<anonymous> (test/product.e2e-spec.ts:53:18)
Product e2e › create DerivativeScriptureProduct with scriptureReferencesOverride: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at createLanguageEngagement (test/utility/create-engagement.ts:43:18) at Object.<anonymous> (test/product.e2e-spec.ts:53:18)
Product e2e › update product: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at createLanguageEngagement (test/utility/create-engagement.ts:43:18) at Object.<anonymous> (test/product.e2e-spec.ts:53:18)
Product e2e › update DirectScriptureProduct: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at createLanguageEngagement (test/utility/create-engagement.ts:43:18) at Object.<anonymous> (test/product.e2e-spec.ts:53:18)
Product e2e › update DerivativeScriptureProduct: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at createLanguageEngagement (test/utility/create-engagement.ts:43:18) at Object.<anonymous> (test/product.e2e-spec.ts:53:18)
Product e2e › update DerivativeScriptureProduct with scriptureReferencesOverride: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at createLanguageEngagement (test/utility/create-engagement.ts:43:18) at Object.<anonymous> (test/product.e2e-spec.ts:53:18)
Product e2e › update DerivativeScriptureProduct with scriptureReferencesOverride which is null: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at createLanguageEngagement (test/utility/create-engagement.ts:43:18) at Object.<anonymous> (test/product.e2e-spec.ts:53:18)
Project-Workflow e2e › Workflow › Step 1. Create Project: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at createLanguageEngagement (test/utility/create-engagement.ts:43:18) at Object.<anonymous> (test/project-workflow.e2e-spec.ts:119:32)
E2E Tests (neo4j 6/6)
Process completed with exit code 1.
Project e2e › List of projects sorted by Sensitivity: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at createLanguageEngagement (test/utility/create-engagement.ts:43:18) at Object.<anonymous> (test/project.e2e-spec.ts:468:5)
Project e2e › Project engagement and sensitivity connected to language engagements: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at createLanguageEngagement (test/utility/create-engagement.ts:43:18) at Object.<anonymous> (test/project.e2e-spec.ts:662:5)
Project e2e › List view of internship engagement: src/components/engagement/internship-engagement.resolver.ts#L44
[Server]: The loader.load() function must be called with a value, but got: undefined. TypeError: The loader.load() function must be called with a value, but got: undefined. at src/components/engagement/internship-engagement.resolver.ts:44:17 at mapSecuredValue (src/common/secured-mapper.ts:18:24) at InternshipEngagementResolver.countryOfOrigin (src/components/engagement/internship-engagement.resolver.ts:43:18) at src/core/graphql/graphql-tracing.plugin.ts:76:9 at src/core/tracing/tracing.service.ts:16:21 at createInternshipEngagement (test/utility/create-engagement.ts:95:18) at Object.<anonymous> (test/project.e2e-spec.ts:705:5)
E2E Tests (neo4j 5/6)
Process completed with exit code 1.
ProgressReport Media e2e › View uploadable options: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at Object.<anonymous> (test/progress-report-media.e2e-spec.ts:64:27)
ProgressReport Media e2e › Upload: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at Object.<anonymous> (test/progress-report-media.e2e-spec.ts:64:27)
ProgressReport Media e2e › Update: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at Object.<anonymous> (test/progress-report-media.e2e-spec.ts:64:27)
ProgressReport Media e2e › Upload another variant in group: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at Object.<anonymous> (test/progress-report-media.e2e-spec.ts:64:27)
ProgressReport Media e2e › Only one variant per group: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at Object.<anonymous> (test/progress-report-media.e2e-spec.ts:64:27)
ProgressReport Media e2e › Delete: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at Object.<anonymous> (test/progress-report-media.e2e-spec.ts:64:27)
ProgressReport Media e2e › Featured Media › Upload: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at Object.<anonymous> (test/progress-report-media.e2e-spec.ts:64:27)
ProgressReport Media e2e › Featured Media › Latest Wins: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at Object.<anonymous> (test/progress-report-media.e2e-spec.ts:64:27)
ProgressReport Media e2e › Featured Media › None if not published variant: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at Object.<anonymous> (test/progress-report-media.e2e-spec.ts:64:27)
Engagement e2e › creates a language engagement: src/core/data-loader/data-loader.config.ts#L13
[NotFound, Input, Client]: Could not find Language (undefined=active=true) NotFoundException: Could not find Language (undefined=active=true) at Object.createError (src/core/data-loader/data-loader.config.ts:13:9) at createLanguageEngagement (test/utility/create-engagement.ts:43:18) at Object.<anonymous> (test/engagement.e2e-spec.ts:96:32)