Skip to content

Conversation

@can-anyscale
Copy link
Contributor

We have a feature flag to control the rolling out of ray export event, but the feature flag is missing the controlling of StartExportingEvents. This PR fixes the issue.

Test:

  • CI

@can-anyscale can-anyscale requested a review from a team as a code owner October 22, 2025 17:44
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request correctly adds a feature flag to control the start of Ray event exporting. My review points out a potential for unnecessary resource usage when event exporting is disabled and suggests a follow-up improvement to address it.

@can-anyscale can-anyscale force-pushed the can-1event06 branch 2 times, most recently from df575c5 to 17f7d56 Compare October 22, 2025 17:56
cursor[bot]

This comment was marked as outdated.

@ray-gardener ray-gardener bot added core Issues that should be addressed in Ray Core observability Issues related to the Ray Dashboard, Logging, Metrics, Tracing, and/or Profiling labels Oct 22, 2025
}
}

bool RayEventRecorder::isEnabled() { return RayConfig::instance().enable_ray_event(); }
Copy link
Collaborator

Choose a reason for hiding this comment

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

looks like the method is unnecessary -- it's only used internally and it's a one liner, so I'd just inline the config check

Copy link
Collaborator

@edoakes edoakes left a comment

Choose a reason for hiding this comment

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

lgtm aside from other nit. also: does it need to be cherry picked?

@can-anyscale can-anyscale enabled auto-merge (squash) October 22, 2025 21:15
@github-actions github-actions bot added the go add ONLY when ready to merge, run all tests label Oct 22, 2025
@can-anyscale can-anyscale merged commit 618d6e5 into master Oct 23, 2025
7 of 8 checks passed
@can-anyscale can-anyscale deleted the can-1event06 branch October 23, 2025 01:06
xinyuangui2 pushed a commit to xinyuangui2/ray that referenced this pull request Oct 27, 2025
…#57999)

We have a feature flag to control the rolling out of ray export event,
but the feature flag is missing the controlling of
`StartExportingEvents`. This PR fixes the issue.

Test:
- CI

Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: xgui <[email protected]>
landscapepainter pushed a commit to landscapepainter/ray that referenced this pull request Nov 17, 2025
…#57999)

We have a feature flag to control the rolling out of ray export event,
but the feature flag is missing the controlling of
`StartExportingEvents`. This PR fixes the issue.

Test:
- CI

Signed-off-by: Cuong Nguyen <[email protected]>
Aydin-ab pushed a commit to Aydin-ab/ray-aydin that referenced this pull request Nov 19, 2025
…#57999)

We have a feature flag to control the rolling out of ray export event,
but the feature flag is missing the controlling of
`StartExportingEvents`. This PR fixes the issue.

Test:
- CI

Signed-off-by: Cuong Nguyen <[email protected]>
Signed-off-by: Aydin Abiar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Issues that should be addressed in Ray Core go add ONLY when ready to merge, run all tests observability Issues related to the Ray Dashboard, Logging, Metrics, Tracing, and/or Profiling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants