cds-snc / platform-forms-client

NextJS application that serves the public-facing website for Forms
https://forms-staging.cdssandbox.xyz/
MIT License
28 stars 12 forks source link

feat: add healthcheck logs for Notify callback #3907

Closed patheard closed 2 days ago

patheard commented 2 days ago

Summary

Add healthcheck logging for Notify callback behaviour. This will allow us to monitor callback behaviour on the service health dashboard.

Test instructions | Instructions pour tester la modification

  1. Happy path: submit a form with a valid email address and expect to see the log that no reprocessing is required.
  2. Unhappy path: submit a form with an invalid email address and expect to see the permanent failure log message.

Unresolved questions / Out of scope | Questions non résolues ou hors sujet

None

Pull Request Checklist

Please complete the following items in the checklist before you request a review:

github-actions[bot] commented 2 days ago

:test_tube: Review environment

https://oky3xscujtwvhrecqiyiorpzge0mpqzi.lambda-url.ca-central-1.on.aws/

patheard commented 2 days ago

Test results from the PR review env: image