-
Notifications
You must be signed in to change notification settings - Fork 516
Fix flaky tests and preexisting CI failures #1443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
0842746
fix(e2e): increase sendSignInCode email polling timeout from ~20s to 60s
devin-ai-integration[bot] e786c28
fix(e2e): add ClickHouse retry logic and use fastSignUp in session-re…
devin-ai-integration[bot] ee7a20c
fix(e2e): increase ClickHouse polling window and use fastSignUp in to…
devin-ai-integration[bot] aef17f8
fix(e2e): wait for all expected country data before snapshot in inter…
devin-ai-integration[bot] 551b360
fix(e2e): use fastSignUp in analytics-events cross-project isolation …
devin-ai-integration[bot] ad6502e
fix(e2e): skip email wait in sessions cross-user isolation test
devin-ai-integration[bot] 54810df
fix(e2e): replace fixed 12s wait with polling loop in delivery-info s…
devin-ai-integration[bot] 37e9b47
fix(e2e): skip email wait in unsubscribe-link transactional test
devin-ai-integration[bot] 6f4a935
fix(backend): increase test timeout from 20s to 60s for backend unit …
devin-ai-integration[bot] c28ad24
fix(e2e): parallelize email waits in items test and increase timeout …
devin-ai-integration[bot] 10c320c
Add instrumentation to email pipeline for diagnosing slow emails
devin-ai-integration[bot] 33927b7
Merge branch 'dev' into devin/1779233168-fix-flaky-tests
N2D4 1b61d60
Remove email pipeline instrumentation code
devin-ai-integration[bot] 01b15c2
Update E2E test snapshots for is_development_environment field
devin-ai-integration[bot] da54168
Fix config.tsx test: spy on correct function for dev environment check
devin-ai-integration[bot] 8527cab
Fix lint: remove unnecessary conditional on always-truthy props.reset
devin-ai-integration[bot] db6cdc1
Fix remaining snapshot and message mismatches after dev merge
devin-ai-integration[bot] 5a4e972
Merge branch 'dev' into devin/1779233168-fix-flaky-tests
N2D4 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The loop unconditionally waits 1 s before ever issuing the first request, wasting time even when the email is already processed. More importantly, if the 30-iteration budget (30 s) is exhausted without the condition being met, the loop exits silently; the subsequent
expect(stats.hour.sent).toBe(1)then produces a confusing assertion failure rather than a clear timeout message.waitForMetricsMatchin the same test suite throws a descriptive error on timeout — a similar pattern here would make failures easier to diagnose.Prompt To Fix With AI