Skip to content

[release test] convert job_id and job_url into methods#60278

Merged
aslonnie merged 3 commits intoray-project:masterfrom
anyscale:lonnie-260118-jobid
Jan 20, 2026
Merged

[release test] convert job_id and job_url into methods#60278
aslonnie merged 3 commits intoray-project:masterfrom
anyscale:lonnie-260118-jobid

Conversation

@aslonnie
Copy link
Collaborator

and saves the job ID in _job_id. this makes the information flow clearer and simpler.

this is preparation for refactoring the job sdk usage.

@aslonnie aslonnie requested a review from a team as a code owner January 18, 2026 19:43
@aslonnie aslonnie force-pushed the lonnie-260118-jobid branch from ff307cc to 2483350 Compare January 18, 2026 19: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 refactors job_id and job_url in AnyscaleJobManager from properties to methods, caching the job ID for clarity and simplicity. The changes are mostly straightforward, but I've found a critical issue in glue.py where a None check for command_runner was removed, which could lead to a crash if the test setup fails. I've also made a minor suggestion to add a missing newline at the end of a file.

cursor[bot]

This comment was marked as outdated.

@aslonnie aslonnie added the go add ONLY when ready to merge, run all tests label Jan 18, 2026
@aslonnie aslonnie force-pushed the lonnie-260118-jobid branch 2 times, most recently from 932e57f to cc53cb2 Compare January 18, 2026 20:53
@ray-gardener ray-gardener bot added core Issues that should be addressed in Ray Core release-test release test labels Jan 19, 2026
and saves the job ID in `_job_id`. this makes the information flow clearer and simpler.

this is preparation for refactoring the job sdk usage.

Signed-off-by: Lonnie Liu <95255098+aslonnie@users.noreply.github.com>
Copy link

@cursor cursor bot left a comment

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.

Signed-off-by: Lonnie Liu <95255098+aslonnie@users.noreply.github.com>
@aslonnie aslonnie merged commit 61aee6a into ray-project:master Jan 20, 2026
5 of 6 checks passed
jinbum-kim pushed a commit to jinbum-kim/ray that referenced this pull request Jan 29, 2026
…0278)

and saves the job ID in `_job_id`. this makes the information flow
clearer and simpler.

this is preparation for refactoring the job sdk usage.

Signed-off-by: Lonnie Liu <95255098+aslonnie@users.noreply.github.com>
Signed-off-by: jinbum-kim <jinbum9958@gmail.com>
400Ping pushed a commit to 400Ping/ray that referenced this pull request Feb 1, 2026
…0278)

and saves the job ID in `_job_id`. this makes the information flow
clearer and simpler.

this is preparation for refactoring the job sdk usage.

Signed-off-by: Lonnie Liu <95255098+aslonnie@users.noreply.github.com>
Signed-off-by: 400Ping <jiekaichang@apache.org>
ryanaoleary pushed a commit to ryanaoleary/ray that referenced this pull request Feb 3, 2026
…0278)

and saves the job ID in `_job_id`. this makes the information flow
clearer and simpler.

this is preparation for refactoring the job sdk usage.

Signed-off-by: Lonnie Liu <95255098+aslonnie@users.noreply.github.com>
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 release-test release test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants