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][C++ Worker]Add error message for unsupported Object Ref parameters in C++ Worker #36414

Merged

Conversation

larrylian
Copy link
Contributor

@larrylian larrylian commented Jun 14, 2023

Why are these changes needed?

C++ Worker currently does not support passing Object Ref parameters, so we are adding an error message to notify users that this functionality is not supported.

C++ Worker will support ObjectRef parameters in the future development.

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

@larrylian larrylian force-pushed the cpp_worker_unsupport_object_ref branch from 9ce1702 to 0cefb70 Compare June 14, 2023 08:15
Copy link
Contributor

@SongGuyang SongGuyang left a comment

Choose a reason for hiding this comment

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

Thanks for this PR, just left some doc issues.

cpp/include/ray/api/arguments.h Outdated Show resolved Hide resolved
cpp/include/ray/api/arguments.h Outdated Show resolved Hide resolved
@larrylian larrylian force-pushed the cpp_worker_unsupport_object_ref branch from 0cefb70 to 6318e36 Compare June 14, 2023 09:48
Copy link
Contributor

@SongGuyang SongGuyang left a comment

Choose a reason for hiding this comment

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

LGTM

@larrylian larrylian force-pushed the cpp_worker_unsupport_object_ref branch from 6318e36 to 912a282 Compare June 16, 2023 06:02
@SongGuyang SongGuyang merged commit 666a452 into ray-project:master Jun 21, 2023
2 checks passed
SongGuyang pushed a commit to alipay/ant-ray that referenced this pull request Jul 12, 2023
harborn pushed a commit to harborn/ray that referenced this pull request Aug 17, 2023
harborn pushed a commit to harborn/ray that referenced this pull request Aug 17, 2023
arvind-chandra pushed a commit to lmco/ray that referenced this pull request Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants