Skip to content

fix: scope notification deduplication by type#944

Merged
RUKAYAT-CODER merged 6 commits into
rinafcode:mainfrom
larryjay007:fix/notification-deduplication-scope
Jul 2, 2026
Merged

fix: scope notification deduplication by type#944
RUKAYAT-CODER merged 6 commits into
rinafcode:mainfrom
larryjay007:fix/notification-deduplication-scope

Conversation

@larryjay007

Copy link
Copy Markdown
Contributor

Description

Fixed deduplication to scope by notification type so EMAIL and PUSH with same content are both delivered.

Changes

  • Updated findDuplicate() WHERE clause to include type
  • Added unit test for mixed-type scenario
  • Deduplication still works for same-type duplicates

Related Issue

Closes #822

- Updated findDuplicate to include type filter
- Added composite index suggestion
- Added mixed-type unit test
- Closes rinafcode#822
@drips-wave

drips-wave Bot commented Jun 29, 2026

Copy link
Copy Markdown

@larryjay007 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@RUKAYAT-CODER

Copy link
Copy Markdown
Contributor

Kindly resolve conflict.

@larryjay007

larryjay007 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

conflict resolved

@larryjay007

Copy link
Copy Markdown
Contributor Author

@RUKAYAT-CODER hi, please review, thanks.

@RUKAYAT-CODER

Copy link
Copy Markdown
Contributor

Great job so far

There’s just one blocker — the workflow is failing. Could you take a look and fix it so all checks pass?

Happy to review again once that’s done.

@larryjay007

Copy link
Copy Markdown
Contributor Author

Alright i will do that right away.

@RUKAYAT-CODER

Copy link
Copy Markdown
Contributor

workflow still failing.

@larryjay007

Copy link
Copy Markdown
Contributor Author

Hi @RUKAYAT-CODER , here is what i realized, the core fix for deduplication by type + unit test is done. The remaining typecheck errors are from missing dependencies in other modules (unrelated to this PR). Happy to help if needed.

@larryjay007

Copy link
Copy Markdown
Contributor Author

Check passed. please review.

@RUKAYAT-CODER

Copy link
Copy Markdown
Contributor

Thank you for contributing to the project.

@RUKAYAT-CODER RUKAYAT-CODER merged commit 9d1567c into rinafcode:main Jul 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Notification deduplication query does not scope by notification type

2 participants