Description
After an email is sent, the notification delivery_status still remains in PENDING.
It is never updated to either DELIVERED or FAILED in case of errors.
Steps to Reproduce
Create a feature assigned to an existing user:
POST /api/features
{
"productCode": "intellij",
"title": "Delivery Status Test",
"description": "Test notification delivery status",
"assigneeUserId": "bob"
}
Look up notification in DB:
SELECT delivery_status FROM notifications WHERE recipient_user_id = 'bob';
Actual:
delivery_status = "PENDING"
Expected:
delivery_status = "DELIVERED"
Similarly, when we hit failure trying to send the email – is is never updated to FAILED and stays PENDING as well.
Description
After an email is sent, the notification
delivery_statusstill remains inPENDING.It is never updated to either
DELIVEREDorFAILEDin case of errors.Steps to Reproduce
Create a feature assigned to an existing user:
Look up notification in DB:
Actual:
Expected:
Similarly, when we hit failure trying to send the email – is is never updated to
FAILEDand staysPENDINGas well.