Skip to content

WIP metrics in python lambdas #2705

WIP metrics in python lambdas

WIP metrics in python lambdas #2705

Triggered via push May 1, 2026 16:45
Status Failure
Total duration 4m 5s
Artifacts 5
Set CI/CD metadata
5s
Set CI/CD metadata
Commit stage  /  Scan secrets
15s
Commit stage / Scan secrets
Commit stage  /  Check file format
9s
Commit stage / Check file format
Commit stage  /  Check Markdown format
3s
Commit stage / Check Markdown format
Commit stage  /  Check English usage
10s
Commit stage / Check English usage
Commit stage  /  Check TODO usage
4s
Commit stage / Check TODO usage
Commit stage  /  Count lines of code
9s
Commit stage / Count lines of code
Commit stage  /  Scan dependencies
46s
Commit stage / Scan dependencies
Commit stage  /  Detect Terraform Changes
6s
Commit stage / Detect Terraform Changes
Commit stage  /  Run terraform-docs
8s
Commit stage / Run terraform-docs
Commit stage  /  Lint Terraform
19s
Commit stage / Lint Terraform
Test stage  /  Contract tests
47s
Test stage / Contract tests
Test stage  /  Linting
2m 52s
Test stage / Linting
Test stage  /  Typecheck
2m 16s
Test stage / Typecheck
Test stage  /  Detect Schema Changes
10s
Test stage / Detect Schema Changes
Test stage  /  Unit tests
2m 30s
Test stage / Unit tests
Test stage  /  Check generated dependencies
0s
Test stage / Check generated dependencies
Test stage  /  Perform static analysis
0s
Test stage / Perform static analysis
Build stage  /  Detect Documentation Changes
Build stage / Detect Documentation Changes
Build stage  /  Build Docs
Build stage / Build Docs
Trigger dynamic environment creation
0s
Trigger dynamic environment creation
Publish stage  /  Publish packages
Publish stage / Publish packages
Acceptance stage  /  Accessibility test
Acceptance stage / Accessibility test
Acceptance stage  /  Integration test
Acceptance stage / Integration test
Acceptance stage  /  Load test
Acceptance stage / Load test
Acceptance stage  /  Security test
Acceptance stage / Security test
Acceptance stage  /  UI performance test
Acceptance stage / UI performance test
Acceptance stage  /  UI test
Acceptance stage / UI test
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 13 warnings
Test stage / Unit tests
Process completed with exit code 2.
Test stage / Unit tests
utils#test:unit: command (/home/runner/work/nhs-notify-digital-letters/nhs-notify-digital-letters/utils/utils) /opt/hostedtoolcache/node/24.10.0/x64/bin/npm run test:unit exited (1)
Test stage / Detect Schema Changes
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test stage / Contract tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test stage / Unit tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test stage / Linting: lambdas/print-analyser/src/__tests__/test-data.ts#L61
Found readFileSync from package "node:fs" with non literal argument at index 0
Test stage / Linting: src/typescript-schema-generator/src/generate-types.ts#L34
Found writeFileSync from package "node:fs" with non literal argument at index 0
Test stage / Linting: src/typescript-schema-generator/src/generate-guard-functions.ts#L51
Found writeFileSync from package "node:fs" with non literal argument at index 0
Test stage / Linting: utils/utils/src/event-publisher/event-publisher.ts#L113
Function Call Object Injection Sink
Test stage / Linting: utils/utils/src/dynamodb/delete-dynamo-batch.ts#L47
Generic Object Injection Sink
Test stage / Linting: utils/utils/src/dynamodb/delete-dynamo-batch.ts#L34
Generic Object Injection Sink
Test stage / Linting: utils/utils/src/config-reader.ts#L69
Variable Assigned to Object Injection Sink
Test stage / Linting: utils/utils/src/cache/cache.ts#L52
Generic Object Injection Sink
Test stage / Linting: utils/utils/src/cache/cache.ts#L33
Variable Assigned to Object Injection Sink

Artifacts

Produced during runtime
Name Size Digest
lines-of-code-report.json.zip
986 Bytes
sha256:b2e68984cc9d2819535a8de0d0b90f5157bda8e7a994b25dbf04fcdf3da5791d
pact-contracts
609 Bytes
sha256:3356df43a5076c8c45e9d2e8abb23996d7997a771dfe165df25363a5a8cb63ee
sbom-repository-report.json.zip
380 KB
sha256:db1f62f422744f124a9b09b8bd50c4ca5e5cfa4be2c4ac443156f155e790238c
unit-tests
369 KB
sha256:a6e700bdc9ec95d564ef5aeff13c6439916737c93375f4d9a149cbe8cef28754
vulnerabilities-repository-report.json.zip
4.19 KB
sha256:18fa89d85ce7c0a15dbd72ef443f3c1305cc893dd7c7f80e0b3024601927faa6