-
Notifications
You must be signed in to change notification settings - Fork 516
fix: flaky E2E tests and backend build TypeScript error #1462
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
bc409b9
fix(e2e): add ClickHouse retry/polling to session replay filter and p…
devin-ai-integration[bot] 3e5230c
fix(e2e): increase session expiry test time budget from 5s/6s to 10s/11s
devin-ai-integration[bot] 3a53f5e
fix(e2e): use time-based ClickHouse polling in token-refresh-events t…
devin-ai-integration[bot] 7d1e2e5
fix(e2e): reduce stableForReads from 16 to 8 in waitForItemQuantityTo…
devin-ai-integration[bot] cba7dc5
fix(e2e): reduce failed-emails-digest test repeats from 10 to 3
devin-ai-integration[bot] bfd6880
fix(e2e): use time-based ClickHouse polling in analytics-events tests
devin-ai-integration[bot] 60c4a53
fix(e2e): increase CI test timeout from 50s to 60s
devin-ai-integration[bot] 747e10e
chore(e2e): add timing instrumentation to flaky tests for CI measurement
devin-ai-integration[bot] 5ead49f
fix(e2e): batch email waits in verify.test.ts to avoid sequential tim…
devin-ai-integration[bot] f9ce7d5
fix(e2e): reduce refresh-race iterations from 10 to 5 to fit CI timeout
devin-ai-integration[bot] 8454cff
fix(e2e): increase async event drain time in analytics-events-batch q…
devin-ai-integration[bot] 4c81763
fix(backend): fix TypeScript error in projects-metrics route
devin-ai-integration[bot] 14e1d9f
Merge origin/dev into devin/1779394958-fix-flaky-tests
devin-ai-integration[bot] 513ee58
fix(e2e): add ClickHouse polling to userCount metrics test
devin-ai-integration[bot] 09a689d
chore: trigger CI
devin-ai-integration[bot] 4d8d954
fix(e2e): remove unnecessary perf_hooks import
devin-ai-integration[bot] 33eddf9
Merge origin/dev: keep typed .json<T>() over 'as any' cast
devin-ai-integration[bot] ec9ae46
Merge branch 'dev' into devin/1779394958-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
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.
Polling loop missing break after timeout assertion
Low Severity
The
while (true)polling loops rely solely onexpect(...).toBe(...)throwing an assertion error to terminate the loop on timeout. There's no explicitbreakorthrowafter the timeoutexpectcall. Ifexpectever doesn't throw (e.g., future soft-assertion mode, or wrapping in try-catch for transient errors), this becomes an infinite loop. Adding abreakafter the assertion provides a safety net.Additional Locations (1)
apps/e2e/tests/backend/endpoints/api/v1/projects.test.ts#L1613-L1616Reviewed by Cursor Bugbot for commit ec9ae46. Configure here.