-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send VA Profile data on Email Notification Delivery status #1770
Comments
Hey team! Please add your planning poker estimate with Zenhub @EvanParish @kalbfled @ldraney @MackHalliday @mchlwellman |
Clarification about TTL: We don't want to lookup the access token every time we need to make a request to VA Profile. We discussed using the TTL cache package for this purpose. |
Ian McEwan from VA Profile sent @k-macmillan info on their INT environment which can be configured in our Dev to test this |
Today I worked on implementing the feature to send data to va profile. The ticket says to "Utilize Tomorrow I should have the feature work mostly wrapped up and I'll be working on unit testing. |
Okay, I think I'm good on unit testing, but when deploying my code I didn't see any logs, so there's obviously something I'm missing when it comes to the celery task. I'll connect with @kalbfled or @mchlwellman tomorrow to see if they can help out with this issue. |
I ran into issues with the celery task being executed when deployed. It seems that you can't pass objects into a task, so you have to make the data json serializable first. It looks like the task is executing now, so I'll continue testing tomorrow. It looks like unit tests will need to be fixed up a bit because of the required changes, so I'll be working on that as well. |
The cause of the errors seen when deploying to perf were because I connected to VA Profile's |
No QA possible since feature flag is not enabled in any env other than Perf. Reviewed logs with Evan and it looks great. |
QA PASSED CONDITIONALLY It is possible to validate in Perf by virtue of the following log message:
Evan to create the bug ticket for the v3 email notifications not showing the logging statement. |
The bug is in v3, not this code. See #1616. |
The documentation has been added to the team repo here. |
User Story - Business Need
VA Profile is interested in tracking email bounces so that they might offer data to their partners regarding the quality of email data/the likelihood of delivery success. VA Notify needs to send VA Profile the delivery status of ALL email notifications so VA Profile can track this information.
User Story
As a developer on the VA Notify team
I want to send real-time email delivery status updates to VA Profile
So that the VA system can improve the management and reliability of email data, thereby enhancing communication with veterans and maintaining the organization's email reputation.
Additional Info and Resources
Engineering Checklist
process_ses_results
Celery Task to use the new function. The status of ALL email notifications should be sent to VA Profile.UtilizeI don't think this makes sense given how it's implemented.create_delivery_status_callback_data
to build the data that will be sent to VA Profile (bonus points for only calling this once, and only when necessary).Acceptance Criteria
QA Considerations
The text was updated successfully, but these errors were encountered: