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

[State Observability] Warn if callsite is disabled when ray list objects + raise exception on missing output #26880

Merged
merged 4 commits into from
Jul 25, 2022

Conversation

rkooo567
Copy link
Contributor

Why are these changes needed?

This PR does 3 things.

  1. Warn if callsite is disabled when ray list objects and ray summary objects
  2. Decode owner_id for ray list actors
  3. Support raise_on_missing_output

Related issue number

Closes #26005
Closes

Checks

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

dashboard/state_aggregator.py Outdated Show resolved Hide resolved
dashboard/state_aggregator.py Outdated Show resolved Hide resolved
python/ray/experimental/state/api.py Outdated Show resolved Hide resolved
python/ray/experimental/state/api.py Outdated Show resolved Hide resolved
@@ -2423,6 +2424,101 @@ def verify():
wait_for_condition(verify)


@pytest.mark.parametrize("callsite_enabled", [True, False])
def test_callsite_warning(callsite_enabled, monkeypatch, shutdown_only):
Copy link
Contributor

Choose a reason for hiding this comment

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


via GIPHY

@rickyyx
Copy link
Contributor

rickyyx commented Jul 22, 2022

Mostly nits only.

Looks like there is another dependent test failure due to API change: test_dashboard_requests_fail_on_missing_deps https://buildkite.com/ray-project/ray-builders-pr/builds/39517#_

@rickyyx rickyyx added the @author-action-required The PR author is responsible for the next step. Remove tag to send back to the reviewer. label Jul 22, 2022
@rkooo567 rkooo567 merged commit 15b711a into ray-project:master Jul 25, 2022
Rohan138 pushed a commit to Rohan138/ray that referenced this pull request Jul 28, 2022
…ects` + raise exception on missing output (ray-project#26880)

This PR does 3 things.
1. Warn if callsite is disabled when `ray list objects` and `ray summary objects`
2. Decode owner_id for ray list actors
3. Support raise_on_missing_output

Signed-off-by: Rohan138 <[email protected]>
Stefan-1313 pushed a commit to Stefan-1313/ray_mod that referenced this pull request Aug 18, 2022
…ects` + raise exception on missing output (ray-project#26880)

This PR does 3 things.
1. Warn if callsite is disabled when `ray list objects` and `ray summary objects`
2. Decode owner_id for ray list actors
3. Support raise_on_missing_output

Signed-off-by: Stefan van der Kleij <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@author-action-required The PR author is responsible for the next step. Remove tag to send back to the reviewer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Core][State Observability][Usability] Inform callsite collection disabled
3 participants