-
Notifications
You must be signed in to change notification settings - Fork 7.2k
[ci] Update RayCI to 0.25.0 and switch to test rules files #59987
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
Conversation
|
Reviews in this chain: |
|
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.
Code Review
This pull request updates RayCI to version 0.24.0 and refactors the CI configuration for macOS to use test_rules_files. The changes correctly separate the 'always lint' rules into a new file and add a catch-all rule to handle previously unhandled files. However, there is a critical oversight in the macOS configuration where the new test_rules_always.txt file is not included, which would likely result in linting tests not being run. I've provided a specific comment with a suggestion to fix this.
c9ecb36 to
0d2fd1b
Compare
0d2fd1b to
447ce99
Compare
447ce99 to
b87aa7e
Compare
30688c1 to
4627cda
Compare
2936671 to
1594283
Compare
1594283 to
1d8460e
Compare
30ad789 to
84aee69
Compare
ci/pipeline/test_rules.txt
Outdated
| rllib/ | ||
| python/ray/rllib/ | ||
| ray_ci/rllib.tests.yml | ||
| ci/ray_ci/rllib.tests.yml |
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.
is this file still required? or should this be symlinked now?
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.
We can get rid of it if we also get rid of test_conditional_testing
Line 15 in fcde85e
| ":test_rules.txt", |
I wasn't sure if we wanted to do that in a separate PR or not
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.
ok.
a separate PR or not
up to you. if this file is not used anymore, we do not have to keep it. we can remove the test all together.
.buildkite/macos/config.yml
Outdated
| test_rules_files: | ||
| - ./.buildkite/test.rules.txt | ||
| - ./.buildkite/always.rules.txt |
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.
just symlink these files into .buildkite/macos/ directory?
84aee69 to
f7867c2
Compare
.buildkite/macos/config.yml
Outdated
| - disabled | ||
| tag_filter_command: | ||
| - ./ci/ci_tags_from_change.sh | ||
| test_rules_files: |
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.
what I meant is that, once those are symlinked, we do not need to list them here? since they are in the buildkite dir now, and will be picked up automatically?
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.
Ahhh yes, you're absolutely right since it's pikced up by
buildkite_dirs:
- .buildkite/macos
Let me clean this line up
ci/pipeline/test_rules.txt
Outdated
| rllib/ | ||
| python/ray/rllib/ | ||
| ray_ci/rllib.tests.yml | ||
| ci/ray_ci/rllib.tests.yml |
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.
ok.
a separate PR or not
up to you. if this file is not used anymore, we do not have to keep it. we can remove the test all together.
e749e00 to
976d532
Compare
- Bump .rayciversion from 0.21.0 to 0.25.0 - Move rules files to .buildkite/ with *.rules.txt naming convention - Add always.rules.txt for always-run lint rules - Add test.rules.test.txt with test cases - Add test-rules CI step in cicd.rayci.yml (auto-discovery) - Update macOS config to use new rules file paths Topic: update-rayci-latest Signed-off-by: andrew <andrew@anyscale.com>
|
linter failing? |
976d532 to
28f37cb
Compare
|
eek forgot to hit the push. Linter should be good to go now 👍 |
…ct#59987) - Bump .rayciversion from 0.21.0 to 0.25.0 - Move rules files to .buildkite/ with *.rules.txt naming convention - Add always.rules.txt for always-run lint rules - Add test.rules.test.txt with test cases - Add test-rules CI step in cicd.rayci.yml (auto-discovery) - Update macOS config to use new rules file paths Topic: update-rayci-latest Signed-off-by: andrew <andrew@anyscale.com>
…ct#59987) - Bump .rayciversion from 0.21.0 to 0.25.0 - Move rules files to .buildkite/ with *.rules.txt naming convention - Add always.rules.txt for always-run lint rules - Add test.rules.test.txt with test cases - Add test-rules CI step in cicd.rayci.yml (auto-discovery) - Update macOS config to use new rules file paths Topic: update-rayci-latest Signed-off-by: andrew <andrew@anyscale.com> Signed-off-by: jeffery4011 <jefferyshen1015@gmail.com>
Topic: update-rayci-latest
Signed-off-by: andrew andrew@anyscale.com