Skip to content

fix(email-service): Notify for new messages after attachment upload#608

Merged
evanhutnik merged 2 commits intomainfrom
evan/notify-order
Dec 12, 2025
Merged

fix(email-service): Notify for new messages after attachment upload#608
evanhutnik merged 2 commits intomainfrom
evan/notify-order

Conversation

@evanhutnik
Copy link
Copy Markdown
Contributor

@evanhutnik evanhutnik commented Dec 12, 2025

Summary

Don't notify users of new messages until after attachment upload. Prevents race condition where attachment hasn't been uploaded by the time the user gets the email notification.

this doesn't cover the edge case where the user is spam refreshing soup, in that case they could open the message before the attachments are uploaded, but peter and i agreed that's an edge case not worth worrying about right now. as long as the connection gateway refresh message and notification aren't sent until after upload it's good enough for now

Screenshots, GIFs, and Videos

@evanhutnik evanhutnik merged commit 683b127 into main Dec 12, 2025
37 checks passed
@evanhutnik evanhutnik deleted the evan/notify-order branch December 12, 2025 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants