Skip to content

CCM-17641: Reporting failures#335

Closed
nhsd-angel-pastor wants to merge 5 commits into
mainfrom
feature/CCM-17641_reporting_failure
Closed

CCM-17641: Reporting failures#335
nhsd-angel-pastor wants to merge 5 commits into
mainfrom
feature/CCM-17641_reporting_failure

Conversation

@nhsd-angel-pastor
Copy link
Copy Markdown
Contributor

@nhsd-angel-pastor nhsd-angel-pastor commented May 8, 2026

Description

Taken from CCM-17639 the rename of the fields reasonCode and reasonText of the event DigitalLetterUnsuccessful.

Updated the report to send to trusts to use the reasonCode and reasonText for the event DigitalLetterUnsuccessful, which marks the communication type Digital as Failed.

Updated component test to reflect this.

Context

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@nhsd-angel-pastor nhsd-angel-pastor force-pushed the feature/CCM-17641_reporting_failure branch 11 times, most recently from ebb31fe to 1c5e70e Compare May 13, 2026 08:44
@nhsd-angel-pastor nhsd-angel-pastor force-pushed the feature/CCM-17641_reporting_failure branch from 38abefa to 37ab511 Compare May 13, 2026 08:53
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
with:
name: Integration test report
name: Integration test report${{ inputs.shard != '' && format(' ({0})', steps.shard_label.outputs.value) || '' }}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Taken for now from Ian's review to give the artifacts different name.

@nhsd-angel-pastor nhsd-angel-pastor force-pushed the feature/CCM-17641_reporting_failure branch 2 times, most recently from bb4f33d to 37ab511 Compare May 13, 2026 13:37
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
- name: "Build docs"
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/build-docs@3.0.0
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/build-docs@3.1.6
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Taken version that includes the build documentation fix from NHSDigital/nhs-notify-shared-modules#195.

@nhsd-angel-pastor nhsd-angel-pastor force-pushed the feature/CCM-17641_reporting_failure branch from 37ab511 to a6d499f Compare May 13, 2026 13:48
$ref: ../defs/core.schema.yaml#/properties/failureCode
failureReason:
$ref: ../defs/core.schema.yaml#/properties/failureReason
reasonCode:
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

taken from #339

@nhsd-angel-pastor nhsd-angel-pastor force-pushed the feature/CCM-17641_reporting_failure branch from a6d499f to 146b50b Compare May 13, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants