Skip to content
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

[core] Mask rllib directory for core tests #50618

Open
wants to merge 21 commits into
base: master
Choose a base branch
from

Conversation

edoakes
Copy link
Collaborator

@edoakes edoakes commented Feb 14, 2025

Why are these changes needed?

Remove python/ray/rllib/ directory during core tests to enforce componentization.

Related issue number

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
    • I've added any new APIs to the API Reference. For example, if I added a
      method in Tune, I've added it in doc/source/tune/api/ under the
      corresponding .rst file.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
@edoakes edoakes added the go add ONLY when ready to merge, run all tests label Feb 14, 2025
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
@edoakes edoakes requested a review from a team as a code owner February 14, 2025 19:32
@edoakes edoakes requested a review from aslonnie February 14, 2025 19:33
@@ -31,6 +31,9 @@ fi

if [[ "$RAY_INSTALL_MASK" != "" ]]; then
echo "--- Apply mask: $RAY_INSTALL_MASK"
if [[ "$RAY_INSTALL_MASK" =~ rllib ]]; then
rm -rf python/ray/rllib
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the real rllib is under ./rllib

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I thought the symlink was reversed -- maybe remove both just in case?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, remove both.

we reversed the dashboard one

./rllib symlink reversing is deferred because we have hundreds of links in rllib docs that are pointing to files on github master branch..

Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
@edoakes edoakes requested review from sven1977, simonsays1980 and a team as code owners March 7, 2025 16:10
edoakes added 3 commits March 7, 2025 10:30
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
@aslonnie aslonnie self-requested a review March 7, 2025 19:32
edoakes added 5 commits March 7, 2025 16:19
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
@edoakes
Copy link
Collaborator Author

edoakes commented Mar 8, 2025

@aslonnie ready for review, other PRs merged

@edoakes
Copy link
Collaborator Author

edoakes commented Mar 8, 2025

@edoakes
Copy link
Collaborator Author

edoakes commented Mar 8, 2025

Blocked on: #51183 (last one I hope!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go add ONLY when ready to merge, run all tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants