Skip to content

feat/activity filters #396

feat/activity filters

feat/activity filters #396

Triggered via pull request January 28, 2025 22:47
Status Failure
Total duration 4m 15s
Artifacts 4

main.yml

on: pull_request
Matrix: analysis / codeql / analyze
Matrix: Analysis / Tests
Matrix: Build containers / Builds
Analysis  /  Trivy Security Scan
22s
Analysis / Trivy Security Scan
Analysis  /  Pre-Commit Validation
48s
Analysis / Pre-Commit Validation
Analysis  /  Commitlint
11s
Analysis / Commitlint
Analysis  /  ...  /  Terraform plan frontend
34s
Analysis / Verify Terraform / Deploys Cloudfront / Terraform plan frontend
Analysis  /  ...  /  Terraform plan database
28s
Analysis / Verify Terraform / Deploys Database / Terraform plan database
Analysis  /  ...  /  Terraform plan api
19s
Analysis / Verify Terraform / Deploys API / Terraform plan api
Deploys Application to AWS dev  /  ...  /  infra
Deploys Application to AWS dev / Deploys Cloudfront / infra
Deploys Application to AWS dev  /  ...  /  infra
Deploys Application to AWS dev / Deploys Database / infra
Analysis  /  ...  /  Builds UI
0s
Analysis / Verify Terraform / Builds UI
Deploys Application to AWS dev  /  ...  /  infra
Deploys Application to AWS dev / Deploys API / infra
Analysis Results
0s
Analysis Results
Deploys Application to AWS dev  /  Builds UI
Deploys Application to AWS dev / Builds UI
Review Test Deployment
0s
Review Test Deployment
FTA Migration  /  ...  /  infra
FTA Migration / Run FTA Dev Migration / infra
Deploys Application to AWS test
0s
Deploys Application to AWS test
Release  /  Release
Release / Release
Deploys Application to AWS prod
0s
Deploys Application to AWS prod
Matrix: Promote / Promote Images
Waiting for pending jobs
Review Prod Deployment
0s
Review Prod Deployment
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
src/recreation-resource/recreation-resource.service.spec.ts > RecreationResourceService > searchRecreationResources > should return an array of Recreation Resources: backend/src/recreation-resource/recreation-resource.service.ts#L94
TypeError: Cannot read properties of undefined (reading 'findMany') ❯ RecreationResourceService.getActivityCounts src/recreation-resource/recreation-resource.service.ts:94:68 ❯ RecreationResourceService.searchRecreationResources src/recreation-resource/recreation-resource.service.ts:214:38 ❯ src/recreation-resource/recreation-resource.service.spec.ts:256:7
src/recreation-resource/recreation-resource.service.spec.ts > RecreationResourceService > searchRecreationResources > should correctly format recreation_activity with_description relation in the results: backend/src/recreation-resource/recreation-resource.service.ts#L94
TypeError: Cannot read properties of undefined (reading 'findMany') ❯ RecreationResourceService.getActivityCounts src/recreation-resource/recreation-resource.service.ts:94:68 ❯ RecreationResourceService.searchRecreationResources src/recreation-resource/recreation-resource.service.ts:214:38 ❯ src/recreation-resource/recreation-resource.service.spec.ts:282:23
src/recreation-resource/recreation-resource.service.spec.ts > RecreationResourceService > searchRecreationResources > should return results sorted by name in ascending order: backend/src/recreation-resource/recreation-resource.service.ts#L94
TypeError: Cannot read properties of undefined (reading 'findMany') ❯ RecreationResourceService.getActivityCounts src/recreation-resource/recreation-resource.service.ts:94:68 ❯ RecreationResourceService.searchRecreationResources src/recreation-resource/recreation-resource.service.ts:214:38 ❯ src/recreation-resource/recreation-resource.service.spec.ts:303:23
src/recreation-resource/recreation-resource.service.spec.ts > RecreationResourceService > searchRecreationResources > should return an empty array if no Recreation Resources are found: backend/src/recreation-resource/recreation-resource.service.spec.ts#L321
AssertionError: promise rejected "TypeError: Cannot read properties of unde…" instead of resolving ❯ src/recreation-resource/recreation-resource.service.spec.ts:321:53 Caused by: Caused by: TypeError: Cannot read properties of undefined (reading 'findMany') ❯ RecreationResourceService.getActivityCounts src/recreation-resource/recreation-resource.service.ts:94:68 ❯ RecreationResourceService.searchRecreationResources src/recreation-resource/recreation-resource.service.ts:214:38 ❯ src/recreation-resource/recreation-resource.service.spec.ts:320:7
Analysis / Tests (backend)
Process completed with exit code 1.
Analysis / Tests (frontend)
The job was canceled because "backend" failed.
Analysis Results
Process completed with exit code 1.
Tests / Playwright e2e
Process completed with exit code 1.
Tests / Playwright e2e
Process completed with exit code 1.
Analysis / Tests (frontend)
Docker network rm failed with exit code 1

Artifacts

Produced during runtime
Name Size
bcgov~nr-rec-resources~A7QR0K.dockerbuild
41.8 KB
bcgov~nr-rec-resources~OXW38L.dockerbuild
64.1 KB
bcgov~nr-rec-resources~Q8NZGC.dockerbuild
37.7 KB
bcgov~nr-rec-resources~Y2F3UY.dockerbuild
42.3 KB