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

[api] Annotate as public / move ray-core APIs to _private and add enforcement rule #25695

Merged
merged 101 commits into from
Jun 21, 2022

Conversation

ericl
Copy link
Contributor

@ericl ericl commented Jun 11, 2022

Why are these changes needed?

Enable checking of the ray core module, excluding serve, workflows, and tune, in ./ci/lint/check_api_annotations.py. This required moving many files to ray._private and associated fixes.

Copy link
Member

@gjoliver gjoliver left a comment

Choose a reason for hiding this comment

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

RLlib is using ray._private.worker._mode() to detect whether we are in local or worker mode.
will there be a replacement API if this is explicitly marked as _private?

Copy link
Contributor

@simon-mo simon-mo left a comment

Choose a reason for hiding this comment

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

stamp

@ericl
Copy link
Contributor Author

ericl commented Jun 21, 2022

RLlib is using ray._private.worker._mode() to detect whether we are in local or worker mode.

Given we're deprecating local mode, I think this may be something we can remove in the future.

@pcmoritz pcmoritz merged commit 43aa229 into ray-project:master Jun 21, 2022
edoakes pushed a commit to edoakes/ray that referenced this pull request Jul 14, 2022
…orcement rule (ray-project#25695)

Enable checking of the ray core module, excluding serve, workflows, and tune, in ./ci/lint/check_api_annotations.py. This required moving many files to ray._private and associated fixes.
franklsf95 pushed a commit to franklsf95/ray that referenced this pull request Aug 2, 2022
…orcement rule (ray-project#25695)

Enable checking of the ray core module, excluding serve, workflows, and tune, in ./ci/lint/check_api_annotations.py. This required moving many files to ray._private and associated fixes.

Signed-off-by: Frank Luan <[email protected]>
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.

9 participants