Skip to content

Conversation

@LydiaXwQ
Copy link
Contributor

@LydiaXwQ LydiaXwQ commented Dec 20, 2024

Why are these changes needed?

If a user forgets to use a DAG's input attributes, it can lead to silent errors. This PR adds a check to make sure that there is a path between all DAG input attributes and the DAG's final output.

Related issue number

Closes #47165

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

@jcotant1 jcotant1 added the core Issues that should be addressed in Ray Core label Dec 20, 2024
@ruisearch42 ruisearch42 self-assigned this Dec 30, 2024
Signed-off-by: Stephanie wang <[email protected]>
@stephanie-wang stephanie-wang changed the title add unused node check for compile_dag_node [core][compiled graphs] Check for unused input attributes Jan 8, 2025
Signed-off-by: Stephanie wang <[email protected]>
@stephanie-wang stephanie-wang enabled auto-merge (squash) January 8, 2025 02:32
@stephanie-wang stephanie-wang self-assigned this Jan 8, 2025
@github-actions github-actions bot added the go add ONLY when ready to merge, run all tests label Jan 8, 2025
@github-actions github-actions bot disabled auto-merge January 8, 2025 06:00
@stephanie-wang stephanie-wang merged commit f22bd36 into ray-project:master Jan 21, 2025
5 checks passed
simonsays1980 pushed a commit to simonsays1980/ray that referenced this pull request Jan 23, 2025
…t#49382)

If a user forgets to use a DAG's input attributes, it can lead to silent
errors. This PR adds a check to make sure that there is a path between
all DAG input attributes and the DAG's final output.

## Related issue number
Closes ray-project#47165 

---------

Signed-off-by: Lydia <[email protected]>
Signed-off-by: Stephanie wang <[email protected]>
Co-authored-by: Stephanie wang <[email protected]>
srinathk10 pushed a commit that referenced this pull request Feb 2, 2025
If a user forgets to use a DAG's input attributes, it can lead to silent
errors. This PR adds a check to make sure that there is a path between
all DAG input attributes and the DAG's final output.

## Related issue number
Closes #47165 

---------

Signed-off-by: Lydia <[email protected]>
Signed-off-by: Stephanie wang <[email protected]>
Co-authored-by: Stephanie wang <[email protected]>
park12sj pushed a commit to park12sj/ray that referenced this pull request Mar 18, 2025
…t#49382)

If a user forgets to use a DAG's input attributes, it can lead to silent
errors. This PR adds a check to make sure that there is a path between
all DAG input attributes and the DAG's final output.

## Related issue number
Closes ray-project#47165 

---------

Signed-off-by: Lydia <[email protected]>
Signed-off-by: Stephanie wang <[email protected]>
Co-authored-by: Stephanie wang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-backlog core Issues that should be addressed in Ray Core go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[aDAG][Core] Throw error if not all InputNodes appear in the DAG

5 participants