Skip to content

chore(email-service): Add tests for sql queries#598

Merged
evanhutnik merged 1 commit intomainfrom
evan/query-tests
Dec 12, 2025
Merged

chore(email-service): Add tests for sql queries#598
evanhutnik merged 1 commit intomainfrom
evan/query-tests

Conversation

@evanhutnik
Copy link
Copy Markdown
Contributor

@evanhutnik evanhutnik commented Dec 12, 2025

Summary

Adding tests for queries.

First query is the one I fixed in this PR yesterday.

Second one is query I updated in this PR today. The test cases surfaced some weird behaviour that was happening due to the grouping. I rewrote the query to query on email_threads first instead of email_messages which fixed the problems.

Screenshots, GIFs, and Videos

@evanhutnik evanhutnik merged commit 53941c7 into main Dec 12, 2025
36 checks passed
@evanhutnik evanhutnik deleted the evan/query-tests branch December 12, 2025 21:31
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