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

[telemetry] Move library usage tests out of core #51161

Merged
merged 30 commits into from
Mar 8, 2025

Conversation

edoakes
Copy link
Collaborator

@edoakes edoakes commented Mar 7, 2025

Why are these changes needed?

Splits the tests for library-specific telemetry data into their own test files. Each one has a similarly-structured test with a shared utility for common logic.

This exercise many issues in the telemetry that we need to address in follow ups:

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

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
@edoakes edoakes requested review from sven1977, simonsays1980 and a team as code owners March 7, 2025 16:34
edoakes added 3 commits March 7, 2025 10:37
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
@edoakes edoakes changed the title [WIP] Move library usage tests out of core tests Move library usage tests out of core Mar 7, 2025
@edoakes edoakes changed the title Move library usage tests out of core Move library telemetry tests out of core Mar 7, 2025
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
edoakes added 4 commits March 7, 2025 11:28
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
@edoakes edoakes changed the title Move library telemetry tests out of core [telemetry] Move library usage tests out of core Mar 7, 2025
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
@edoakes
Copy link
Collaborator Author

edoakes commented Mar 7, 2025

@sven1977 @justinvyu @raulchen @matthewdeng please review the relevant files and stamp for codeowner

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Copy link
Contributor

@matthewdeng matthewdeng left a comment

Choose a reason for hiding this comment

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

train/tune looks good for current state. I can update tests in my PR to reflect desired behavior.

Copy link
Collaborator

@simonsays1980 simonsays1980 left a comment

Choose a reason for hiding this comment

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

LGTM. All good on RLlib side.

@edoakes edoakes added the go add ONLY when ready to merge, run all tests label Mar 7, 2025
@edoakes edoakes enabled auto-merge (squash) March 7, 2025 20:43
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
@github-actions github-actions bot disabled auto-merge March 7, 2025 21:22
edoakes added 3 commits March 7, 2025 16:14
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
@edoakes edoakes enabled auto-merge (squash) March 7, 2025 22:17
@edoakes edoakes merged commit 11e886c into ray-project:master Mar 8, 2025
6 checks passed
elimelt pushed a commit to elimelt/ray that referenced this pull request Mar 9, 2025
Splits the tests for library-specific telemetry data into their own test
files. Each one has a similarly-structured test with a shared utility
for common logic.

This exercise many issues in the telemetry that we need to address in
follow ups:

- ray-project#51163
- ray-project#51164
- ray-project#51165
- ray-project#51166
- ray-project#51167
- ray-project#51168

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
park12sj pushed a commit to park12sj/ray that referenced this pull request Mar 18, 2025
Splits the tests for library-specific telemetry data into their own test
files. Each one has a similarly-structured test with a shared utility
for common logic.

This exercise many issues in the telemetry that we need to address in
follow ups:

- ray-project#51163
- ray-project#51164
- ray-project#51165
- ray-project#51166
- ray-project#51167
- ray-project#51168

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
jaychia pushed a commit to jaychia/ray that referenced this pull request Mar 19, 2025
Splits the tests for library-specific telemetry data into their own test
files. Each one has a similarly-structured test with a shared utility
for common logic.

This exercise many issues in the telemetry that we need to address in
follow ups:

- ray-project#51163
- ray-project#51164
- ray-project#51165
- ray-project#51166
- ray-project#51167
- ray-project#51168

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Jay Chia <17691182+jaychia@users.noreply.github.com>
jaychia pushed a commit to jaychia/ray that referenced this pull request Mar 19, 2025
Splits the tests for library-specific telemetry data into their own test
files. Each one has a similarly-structured test with a shared utility
for common logic.

This exercise many issues in the telemetry that we need to address in
follow ups:

- ray-project#51163
- ray-project#51164
- ray-project#51165
- ray-project#51166
- ray-project#51167
- ray-project#51168

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Jay Chia <17691182+jaychia@users.noreply.github.com>
Drice1999 pushed a commit to Drice1999/ray that referenced this pull request Mar 23, 2025
Splits the tests for library-specific telemetry data into their own test
files. Each one has a similarly-structured test with a shared utility
for common logic.

This exercise many issues in the telemetry that we need to address in
follow ups:

- ray-project#51163
- ray-project#51164
- ray-project#51165
- ray-project#51166
- ray-project#51167
- ray-project#51168

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
dhakshin32 pushed a commit to dhakshin32/ray that referenced this pull request Mar 27, 2025
Splits the tests for library-specific telemetry data into their own test
files. Each one has a similarly-structured test with a shared utility
for common logic.

This exercise many issues in the telemetry that we need to address in
follow ups:

- ray-project#51163
- ray-project#51164
- ray-project#51165
- ray-project#51166
- ray-project#51167
- ray-project#51168

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Dhakshin Suriakannu <d_suriakannu@apple.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.

4 participants