Skip to content

Investigate Bug - A NR consumed <5 minutes from approved will generate a "Rejected" email #29780

Closed

Description

@moraesfm

check google cloud task email manager

approved status - confirm it does not put a rejected email in the queue

Activity

  1. added
    Names Team
    bug
    on Jul 24, 2025
  2. moraesfm commented on Jul 24, 2025

    @moraesfm
    Author

    Steps to reproduce it:

    • Create a NR
    • Approve it in NameX
    • As soon as it gets approved, consume it as soon as possible. (2 minutes, by filling in only the mandatory fields)
    • Verify DB will register it as 'Approved'

    Expected result:

    • User receives an email confirming its approval

    Actual result:
    DB:
    image.png

    NameX vs Email:

    • User receives an email with the status as Rejected

    image.png

    |
    OBS:
    the emailer knows to send a decision email (approved, conditional, or rejected) for that nr, and looks in the database 5 minutes later for the state - assuming it will match one of those 3 decisions.
    The problem is that in those 5 minutes the NR became a state not in those 3 conditions. And the logic more or less checks if its approved or conditional, and if not one of those 2 assumes it is rejected (since consumed it not an option).

  3. changed the title [-]Bug - A NR approved <5 minutes generates an email as "Rejected"[/-] [+]Bug - A NR consumed <5 minutes from approved will generate a "Rejected" email[/+] on Jul 24, 2025
  4. changed the title [-]Bug - A NR consumed <5 minutes from approved will generate a "Rejected" email[/-] [+]Investigate Bug - A NR consumed <5 minutes from approved will generate a "Rejected" email[/+] on Jul 25, 2025
  5. davemck513 commented on Jun 12, 2026

    @davemck513
    Collaborator

    Not going to happen in real world, closing.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Names Teambugtimeboxed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions