Skip to content

[Core] Add submission job proto changes - #60857

Merged
edoakes merged 9 commits into
masterfrom
job_events_missing_fields
Mar 20, 2026
Merged

edoakes merged 9 commits into
masterfrom
job_events_missing_fields

Conversation

@sampan-s-nayak

Copy link
Copy Markdown
Contributor

introduce a new one-event event type "Submission job events"

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

Copy link
Copy Markdown
Contributor

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 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.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

@ray-gardener ray-gardener Bot added the community-contribution Contributed by the community label Feb 9, 2026
@sampan-s-nayak sampan-s-nayak added go add ONLY when ready to merge, run all tests and removed community-contribution Contributed by the community labels Feb 17, 2026
@ray-gardener ray-gardener Bot added the community-contribution Contributed by the community label Feb 17, 2026
@sampan-s-nayak sampan-s-nayak removed the community-contribution Contributed by the community label Feb 23, 2026
@ray-gardener ray-gardener Bot added the community-contribution Contributed by the community label Feb 23, 2026
@github-actions

github-actions Bot commented Mar 9, 2026

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had
any activity for 14 days. It will be closed in another 14 days if no further activity occurs.
Thank you for your contributions.

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.

@github-actions github-actions Bot added the stale The issue is stale. It will be closed within 7 days unless there are further conversation label Mar 9, 2026
@sampan-s-nayak

Copy link
Copy Markdown
Contributor Author

not stale

@github-actions github-actions Bot added unstale A PR that has been marked unstale. It will not get marked stale again if this label is on it. and removed stale The issue is stale. It will be closed within 7 days unless there are further conversation labels Mar 18, 2026
@edoakes
edoakes enabled auto-merge (squash) March 18, 2026 21:55
@edoakes

edoakes commented Mar 18, 2026

Copy link
Copy Markdown
Collaborator

merge conflicts @sampan-s-nayak

@github-actions
github-actions Bot disabled auto-merge March 20, 2026 07:12
@sampan-s-nayak

Copy link
Copy Markdown
Contributor Author

resolved conflicts @edoakes

@edoakes
edoakes merged commit 49293da into master Mar 20, 2026
3 checks passed
@edoakes
edoakes deleted the job_events_missing_fields branch March 20, 2026 19:48
ryanaoleary pushed a commit to ryanaoleary/ray that referenced this pull request Mar 25, 2026
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]>
Lucas61000 pushed a commit to Lucas61000/ray that referenced this pull request May 15, 2026
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]>
sampan-s-nayak added a commit that referenced this pull request Oct 26, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Contributed by the community go add ONLY when ready to merge, run all tests unstale A PR that has been marked unstale. It will not get marked stale again if this label is on it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants