Repository navigation
[Core] Deflake test_typing - #63283
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request modifies the Buildkite configuration in .buildkite/core.rayci.yml by adding a command to ignore failures and a sleep duration of 8 hours, likely for debugging purposes. Review feedback indicates that the 8-hour sleep is excessively long and will block CI workers, and that using || true masks test failures, preventing the CI from correctly identifying and reporting broken tests.
Signed-off-by: davik <[email protected]>
Contributor
Author
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Reviewed by Cursor Bugbot for commit 7b1dbe1. Configure here.
Signed-off-by: davik <[email protected]>
Yicheng-Lu-llll
approved these changes
May 12, 2026
Yicheng-Lu-llll
left a comment
Member
There was a problem hiding this comment.
Thank you for the PR!
edoakes
enabled auto-merge (squash)
May 13, 2026 00:25
Lucas61000
pushed a commit
to Lucas61000/ray
that referenced
this pull request
May 15, 2026
`test_typing` is previously 100% flaky in post merge as the first run will always timeout while the second passes. We were able to replicate the test, and observed that the test alone requires ~ 70-90s for completion. However, since mypy execution is able to cache previously parsed structures, the second run can reuse the cache to complete in short amount of time (>60s timeout). Run of test_typing with longer timeout ``` (18:19:12) INFO: Analyzed target //python/ray/tests:test_typing (73 packages loaded, 885 targets configured). (18:19:41) [6 / 7] Testing //python/ray/tests:test_typing; 28s local (18:20:44) [6 / 7] Testing //python/ray/tests:test_typing; 91s local, remote-cache (18:20:44) INFO: Found 1 test target... Target //python/ray/tests:test_typing up-to-date: bazel-bin/python/ray/tests/test_typing (18:20:44) INFO: Elapsed time: 92.770s, Critical Path: 91.52s (18:20:44) INFO: 7 processes: 5 internal, 2 local. (18:20:44) INFO: Build completed successfully, 7 total actions //python/ray/tests:test_typing PASSED in 91.4s Executed 1 out of 1 test: 1 test passes. ``` Since `test_typing` itself requires longer than the `small` 60 second timeout duration to complete, we up size the test to `medium`. --------- Signed-off-by: davik <[email protected]> Co-authored-by: davik <[email protected]>
alexandrplashchinsky
pushed a commit
to alexandrplashchinsky/ray-alex
that referenced
this pull request
May 29, 2026
`test_typing` is previously 100% flaky in post merge as the first run will always timeout while the second passes. We were able to replicate the test, and observed that the test alone requires ~ 70-90s for completion. However, since mypy execution is able to cache previously parsed structures, the second run can reuse the cache to complete in short amount of time (>60s timeout). Run of test_typing with longer timeout ``` (18:19:12) INFO: Analyzed target //python/ray/tests:test_typing (73 packages loaded, 885 targets configured). (18:19:41) [6 / 7] Testing //python/ray/tests:test_typing; 28s local (18:20:44) [6 / 7] Testing //python/ray/tests:test_typing; 91s local, remote-cache (18:20:44) INFO: Found 1 test target... Target //python/ray/tests:test_typing up-to-date: bazel-bin/python/ray/tests/test_typing (18:20:44) INFO: Elapsed time: 92.770s, Critical Path: 91.52s (18:20:44) INFO: 7 processes: 5 internal, 2 local. (18:20:44) INFO: Build completed successfully, 7 total actions //python/ray/tests:test_typing PASSED in 91.4s Executed 1 out of 1 test: 1 test passes. ``` Since `test_typing` itself requires longer than the `small` 60 second timeout duration to complete, we up size the test to `medium`. --------- Signed-off-by: davik <[email protected]> Co-authored-by: davik <[email protected]> Signed-off-by: Alexandr Plashchinsky <[email protected]>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

test_typingis previously 100% flaky in post merge as the first run will always timeout while the second passes. We were able to replicate the test, and observed that the test alone requires ~ 70-90s for completion. However, since mypy execution is able to cache previously parsed structures, the second run can reuse the cache to complete in short amount of time (>60s timeout).Run of test_typing with longer timeout
Since
test_typingitself requires longer than thesmall60 second timeout duration to complete, we up size the test tomedium.