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][compiled graphs] Enable visualization tests #48627

Merged
merged 6 commits into from
Nov 8, 2024

Conversation

ruisearch42
Copy link
Contributor

@ruisearch42 ruisearch42 commented Nov 7, 2024

Why are these changes needed?

In #47958 , visualization unit tests were introduced but would not run if CI environment does not have graphvis installed (which was the case).

This PR adds the dependency in test-requirements.txt and always run the visualization tests. It also moves visualization tests to a separate file since test_accelerated_dag.py is too large.

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 :(

Checked that the tests are running in CI:
[2024-11-08T00:43:18Z] //python/ray/dag:tests/experimental/test_dag_visualization PASSED in 11.1s

Signed-off-by: Rui Qiao <ruisearch42@gmail.com>
Signed-off-by: Rui Qiao <ruisearch42@gmail.com>
Signed-off-by: Rui Qiao <ruisearch42@gmail.com>
@ruisearch42 ruisearch42 added the go add ONLY when ready to merge, run all tests label Nov 7, 2024
Signed-off-by: Rui Qiao <ruisearch42@gmail.com>
Signed-off-by: Rui Qiao <ruisearch42@gmail.com>
Signed-off-by: Rui Qiao <ruisearch42@gmail.com>
@ruisearch42 ruisearch42 marked this pull request as ready for review November 8, 2024 02:17
@rkooo567 rkooo567 merged commit f4a7c70 into ray-project:master Nov 8, 2024
5 checks passed
@rkooo567
Copy link
Contributor

rkooo567 commented Nov 8, 2024

test_accelerated_dag

should we start splitting this test?

JP-sDEV pushed a commit to JP-sDEV/ray that referenced this pull request Nov 14, 2024
In ray-project#47958 , visualization unit tests were introduced but would not run if CI environment does not have graphvis installed (which was the case).

This PR adds the dependency in test-requirements.txt and always run the visualization tests. It also moves visualization tests to a separate file since test_accelerated_dag.py is too large.
Signed-off-by: JP-sDEV <jon.pablo80@gmail.com>
mohitjain2504 pushed a commit to mohitjain2504/ray that referenced this pull request Nov 15, 2024
In ray-project#47958 , visualization unit tests were introduced but would not run if CI environment does not have graphvis installed (which was the case).

This PR adds the dependency in test-requirements.txt and always run the visualization tests. It also moves visualization tests to a separate file since test_accelerated_dag.py is too large.

Signed-off-by: mohitjain2504 <mohit.jain@dream11.com>
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