Skip to content

Notification delivery status stays PENDING forever #296

@innokenty

Description

@innokenty

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions