Bug: "medium" and "original" id generators are not sufficiently unique
- Dominant language
- JavaScript
- Stars
- 80
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
The "original" and "medium" generators only take account of the message body, date and list id.
This is not sufficient to uniquely identify a message. For example, automated services may send subject-only mails, and may send more than one with the same time.
Since the generated id is used as the database key, this means that only one of the messages will be stored in the database.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the "original" and "medium" id generators and the database code that uses their results as keys. Reproduce the subject-only, same-time message case, then verify that distinct messages receive distinct IDs and are both stored.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100