Skip to content

[AQTS-1308] GOV.UK Notify audit tracking with system#3091

Merged
Hassanmir92 merged 7 commits intomainfrom
AQTS-1308-dev-spike-gov-uk-notify-audit-tracking-with-system
Mar 2, 2026
Merged

[AQTS-1308] GOV.UK Notify audit tracking with system#3091
Hassanmir92 merged 7 commits intomainfrom
AQTS-1308-dev-spike-gov-uk-notify-audit-tracking-with-system

Conversation

@Hassanmir92
Copy link
Copy Markdown
Collaborator

@Hassanmir92 Hassanmir92 commented Feb 25, 2026

Ticket: https://dfedigital.atlassian.net/browse/AQTS-1308

This PR ensures that with every email_delivery record we persist from our after_delivery callback, we now start to track the status of these deliveries to more proactively look at application forms where communications may not have been received.

Note that as part of this I've had to introduce a mail_notify_delivery_method_with_response.rb monkey-patch as the mail-notify gem currently doesn't provide a way for us to access the response from GOV.UK Notify once an email has been delivered to them. I would consider this patch as a temporary fix for now as I've already introduced a PR directly on the gem and hopefully if it gets approved and released we can delete this patch file.

There is no UI element to this change as this is purely a backend change to start tracking the status of these deliveries while we wait for design input around how to best show this data to assessors and managers.

@Hassanmir92 Hassanmir92 requested a review from a team as a code owner February 25, 2026 13:41
@Hassanmir92 Hassanmir92 self-assigned this Feb 25, 2026
….UK Notify API within our after_delivery callback
@Hassanmir92 Hassanmir92 force-pushed the AQTS-1308-dev-spike-gov-uk-notify-audit-tracking-with-system branch from 902813c to 82b52d9 Compare February 25, 2026 14:37
@github-actions
Copy link
Copy Markdown

…l_deliveries table to capture the status of deliveries
…dit job to fetch the status of delivery from GOV.UK Notify
# Notify returns a ResponseNotification.
# https://www.rubydoc.info/gems/notifications-ruby-client/2.2.0
#
# TODO: We have an open PR https://github.com/dxw/mail-notify/pull/200
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

As mentioned in this comment. I've opened up a PR on the mail-notify repo to fix this so that we can remove this monkey-patch

@Hassanmir92 Hassanmir92 changed the title [AQTS-1308] [SPIKE] GOV.UK Notify audit tracking with system [AQTS-1308] GOV.UK Notify audit tracking with system Feb 26, 2026
Copy link
Copy Markdown
Contributor

@syed87 syed87 left a comment

Choose a reason for hiding this comment

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

lgtm

@Hassanmir92 Hassanmir92 merged commit 82720d7 into main Mar 2, 2026
16 checks passed
@Hassanmir92 Hassanmir92 deleted the AQTS-1308-dev-spike-gov-uk-notify-audit-tracking-with-system branch March 2, 2026 14:43
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 2, 2026

Review app for PR 3091 was deleted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants