Skip to content

CCM-14974: Additional failure events in CSV reports#245

Open
ScottFullerton-NHSE wants to merge 13 commits intomainfrom
feature/CCM-14974-csv-reports-failure-events
Open

CCM-14974: Additional failure events in CSV reports#245
ScottFullerton-NHSE wants to merge 13 commits intomainfrom
feature/CCM-14974-csv-reports-failure-events

Conversation

@ScottFullerton-NHSE
Copy link
Contributor

@ScottFullerton-NHSE ScottFullerton-NHSE commented Mar 17, 2026

Description

Added 4 existing events to the failure report:

  • PDMResourceSubmissionRejected
  • PDMResourceRetriesExceeded
  • MessageRequestRejected
  • FileQuarantined

I've also included a fix for the current trivy vulnerabilities - including pulling in one of dependabot's PRs.

Context

These events could lead to a failure, and we want to send comprehensive reports to trusts, so they understand why a request might have failed.

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
  • If I have used the 'skip-trivy-package' label I have done so responsibly and in the knowledge that this is being fixed as part of a separate ticket/PR.

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.

CSV From the component tests:
https://820178564574-oocgiqa6.eu-west-2.console.aws.amazon.com/s3/object/nhs-820178564574-eu-west-2-pr245-dl-reporting?region=eu-west-2&prefix=event-reports/report-generator-test-b9345bbf-998f-45ac-99bb-cb72bf104042/completed_communications/completed_communications_2026-03-18.csv

@ScottFullerton-NHSE ScottFullerton-NHSE requested review from a team as code owners March 17, 2026 10:37
@tdroza-nhs tdroza-nhs self-assigned this Mar 19, 2026
Copy link
Contributor

@simonlabarere simonlabarere left a comment

Choose a reason for hiding this comment

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

A few comments, sorry!

Copy link
Contributor

Choose a reason for hiding this comment

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

I was expecting to see a failureCode/message being set for these new statuses. e.g. for the FileQuarantined event we'd have a failurecode/message that says something about a virus being detected.

I don't see that in the story though - would be good to clarify that with TomH to see if it's covered by another story or should be in this one

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will catch up on Monday with Tom H to discuss this. We're happy for the ticket to progress in the time being until then.

ScottFullerton-NHSE and others added 5 commits March 19, 2026 11:07
…-reports-failure-events

# Conflicts:
#	package-lock.json
#	src/eventcatalog/package-lock.json
#	src/eventcatalog/package.json
…tcatalog/h3-1.15.8' into feature/CCM-14974-csv-reports-failure-events
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.

3 participants