fix failing unit tests #2798
cicd-1-pull-request.yaml
on: push
Set CI/CD metadata
5s
Commit stage
/
Scan secrets
10s
Commit stage
/
Check file format
7s
Commit stage
/
Check Markdown format
9s
Commit stage
/
Check English usage
7s
Commit stage
/
Check TODO usage
6s
Commit stage
/
Trivy Package Scan
10s
Commit stage
/
Count lines of code
10s
Commit stage
/
Scan dependencies
44s
Commit stage
/
Check for changes to event schema package compared to main branch
5s
Commit stage
/
Check event schema version has been updated
0s
Commit stage
/
Check for event schemas package version change
0s
Commit stage
/
Run terraform-docs
8s
Commit stage
/
Lint Terraform
4s
Commit stage
/
Trivy IaC Scan
19s
Test stage
/
Check generated dependencies
58s
Test stage
/
Pact tests
1m 3s
Test stage
/
Linting
2m 26s
Test stage
/
Typecheck
2m 4s
Test stage
/
Test coverage
3s
Test stage
/
Perform static analysis
1m 1s
Matrix: Build stage / artefact-oas-spec
Publish stage
/
Publish npm packages to npm.pkg.github.com
Publish stage
/
Publish nuget packages to nuget.pkg.github.com
Matrix: Publish stage / publish-oas-specs
Waiting for pending jobs
Publish stage
/
Success notification
Annotations
1 error and 12 warnings
|
Build stage / Build proxies
Process completed with exit code 1.
|
|
Test stage / Linting:
lambdas/api-handler/src/utils/validation.ts#L41
Unsafe Regular Expression
|
|
Test stage / Linting:
lambdas/api-handler/src/utils/common-ids.ts#L5
Prefer default export on a file with single export
|
|
Test stage / Linting:
lambdas/api-handler/src/utils/__tests__/validation.test.ts#L74
Test has no assertions
|
|
Test stage / Linting:
lambdas/api-handler/src/handlers/post-mi.ts#L3
Caution: `mi-operations.ts` has a default export `postMI`. This imports `postMI` as `postMIOperation`. Check if you meant to write `import postMI from '../services/mi-operations'` instead
|
|
Test stage / Linting:
lambdas/api-handler/src/handlers/__tests__/utils/test-utils.ts#L3
Prefer default export on a file with single export
|
|
Test stage / Linting:
lambdas/api-handler/src/handlers/__tests__/post-mi.test.ts#L7
Caution: `mi-operations.ts` has a default export `postMI`. This imports `postMI` as `postMiOperation`. Check if you meant to write `import postMI from '../../services/mi-operations'` instead
|
|
Test stage / Linting:
internal/helpers/src/id-ref.ts#L54
Variable Assigned to Object Injection Sink
|
|
Test stage / Linting:
internal/events/src/events/event-envelope.ts#L94
Found non-literal argument to RegExp Constructor
|
|
Test stage / Linting:
internal/events/src/events/event-envelope.ts#L84
Unsafe Regular Expression
|
|
Test stage / Linting:
internal/datastore/src/letter-repository.ts#L76
Variable Assigned to Object Injection Sink
|
|
Build stage / Build Docs
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0Aql8aQAAAACz0lylGnISQZnc9unQQaZLUEhMMzBFREdFMDExMQBFZGdl
|
|
Build stage / Build Docs
Failed to restore: Cache service responded with 400
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
api-oas-specification-internal-dev-sandbox-1.1.0-20260130.124412+f022bf9
|
20.9 KB |
sha256:b00e8fd7e52e50a15e8f4d3e21b224ea38c3c8c1517ab989238e8a27a82fcc10
|
|
|
code-coverage-report
|
3.49 KB |
sha256:74547186c3c6eb3c00d0a70ae06c940806fef1896a1fe40f642c9e7b9cd998be
|
|
|
internal-dev-sandbox-build-output
|
20.9 KB |
sha256:89aabd30f6f52f79457b102ec0a292e2f3432a81c7b0bf235c7ef42b9bd01a31
|
|
|
jekyll-docs-1.1.0-20260130.124412+f022bf9
Expired
|
1.4 MB |
sha256:766db20e0ea7c771d4769863cd584e6039770ae24cb901b1b0e75ca7f4473f9e
|
|
|
lines-of-code-report.json.zip
|
994 Bytes |
sha256:c03b2f4c7df6957a1348a33d3ae7c59e87ee3c70de24525b32937b7c7d2f7402
|
|
|
sbom-repository-report.json.zip
|
137 KB |
sha256:67eefd51f91e79c7c02c04e4cc1f31b3d4bc27c5c1151e45c42bc399c851f659
|
|
|
unit-tests
|
673 KB |
sha256:a77927f1a2d1c80b65c23fc6c508d122ef24b6869bdf5d989bf562684cacc7b6
|
|
|
vulnerabilities-repository-report.json.zip
|
4.26 KB |
sha256:4036c1baf87553efedbdaf81baf9af5db169fc15ad7afd2f7eb46fcdf4337b61
|
|