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][state] Adjust worker side reporting with batches && add debugstring (remerging #31840) #32057

Merged
merged 16 commits into from
Feb 1, 2023

Conversation

rickyyx
Copy link
Contributor

@rickyyx rickyyx commented Jan 30, 2023

Why are these changes needed?

Related issue number

Remerging #31840

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 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: rickyyx <rickyx@anyscale.com>
Signed-off-by: rickyyx <rickyx@anyscale.com>
Signed-off-by: rickyyx <rickyx@anyscale.com>
Signed-off-by: rickyyx <rickyx@anyscale.com>
Signed-off-by: rickyyx <rickyx@anyscale.com>
Signed-off-by: rickyyx <rickyx@anyscale.com>
Signed-off-by: rickyyx <rickyx@anyscale.com>
Signed-off-by: rickyyx <rickyx@anyscale.com>
Signed-off-by: rickyyx <rickyx@anyscale.com>
Comment on lines +141 to +143
size_t num_to_send =
std::min(static_cast<size_t>(RayConfig::instance().task_events_send_batch_size()),
static_cast<size_t>(buffer_.size()));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Adding casting explicitly to make it work on macOS

@rickyyx rickyyx marked this pull request as ready for review January 31, 2023 03:18
@rickyyx rickyyx added the tests-ok The tagger certifies test failures are unrelated and assumes personal liability. label Jan 31, 2023
@rickyyx
Copy link
Contributor Author

rickyyx commented Jan 31, 2023

Release test also passing: https://buildkite.com/ray-project/release-tests-pr/builds/26884

@rkooo567
Copy link
Contributor

The PR title seems to be wrong

@rickyyx rickyyx changed the title [core][state] Handle driver tasks (remerging #31832) [core][state] Adjust worker side reporting with batches && add debugstring (remerging #31840) Jan 31, 2023
@rkooo567 rkooo567 merged commit d74e4c4 into ray-project:master Feb 1, 2023
edoakes pushed a commit to edoakes/ray that referenced this pull request Mar 22, 2023
…tring (remerging ray-project#31840) (ray-project#32057)

Remerging ray-project#31840

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests-ok The tagger certifies test failures are unrelated and assumes personal liability.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants