Repository navigation
[Core] Add submission job proto changes - #60857
Conversation
Signed-off-by: sampan <[email protected]>
There was a problem hiding this comment.
Code Review
This pull request successfully introduces new protobuf definitions for 'Submission Job Events', including both definition and lifecycle events. The changes correctly integrate these new event types into the existing Ray event system by updating the BUILD.bazel file, events_base_event.proto, and the Python publisher configuration. The new proto messages are well-structured and align with the existing event patterns.
Signed-off-by: sampan <[email protected]>
|
This pull request has been automatically marked as stale because it has not had You can always ask for help on our discussion forum or Ray's public slack channel. If you'd like to keep this open, just leave any comment, and the stale label will be removed. |
|
not stale |
|
merge conflicts @sampan-s-nayak |
Signed-off-by: Sampan S Nayak <[email protected]>
|
resolved conflicts @edoakes |
introduce a new one-event event type "Submission job events" --------- Signed-off-by: sampan <[email protected]> Signed-off-by: Sampan S Nayak <[email protected]> Co-authored-by: sampan <[email protected]>
introduce a new one-event event type "Submission job events" --------- Signed-off-by: sampan <[email protected]> Signed-off-by: Sampan S Nayak <[email protected]> Co-authored-by: sampan <[email protected]>
…der (#61099) ## Description this pr migrates submission job events to go through the events recorder framework ([proto changes](#60857) have already been merged). Uses the [python event recorder bindings](#60858) to emit these events from the python frontend (breaks the JobInfo object emitted by the export event framework into definition and lifecycle events). Events are emitted when: 1) [RAY_ENABLE_RAY_EVENT](https://github.com/sampan-s-nayak/ray/blob/76f7d63be2c9afe87e2197d99192e55e073c90c6/python/ray/_private/ray_constants.py#L727-L729) is true (needed for enabling the underlying c++ event recorder) 2) [RAY_ENABLE_PYTHON_RAY_EVENT_TYPES](https://github.com/sampan-s-nayak/ray/blob/76f7d63be2c9afe87e2197d99192e55e073c90c6/python/ray/_private/ray_constants.py#L712-L725) contains `SUBMISSION_JOB_DEFINITION_EVENT_TYPE` and `SUBMISSION_JOB_LIFECYCLE_EVENT_TYPE` note: when the ray event recorder path is enabled the old event export path is disabled --------- Signed-off-by: sampan <[email protected]> Signed-off-by: Sampan S Nayak <[email protected]> Co-authored-by: sampan <[email protected]> Co-authored-by: Claude Opus 4.6 <[email protected]>
introduce a new one-event event type "Submission job events"