Skip to content

[kubectl-plugin] Generate submission_id in job_submit.go #3693

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

Merged

Conversation

LeoLiao123
Copy link
Contributor

@LeoLiao123 LeoLiao123 commented May 26, 2025

Why are these changes needed?

See #3624.
This solution generates the submission_id in rayjob_submit.go and passes it via the CLI’s --submission-id flag, avoiding the unstable assumption that the CR contains only one submission_id and then using list_job to retrieve the first one.

Related issue number

Closes #3624
Also fix #3675

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • This PR is not tested :(

@LeoLiao123 LeoLiao123 marked this pull request as ready for review May 26, 2025 14:27
@LeoLiao123
Copy link
Contributor Author

@MortalHappiness PTAL

@LeoLiao123 LeoLiao123 force-pushed the feature/gen-submission-id-in-kuberay branch from f82df39 to 69763fe Compare May 27, 2025 04:53
@kevin85421 kevin85421 merged commit 455eb3f into ray-project:master May 27, 2025
24 checks passed
@LeoLiao123 LeoLiao123 deleted the feature/gen-submission-id-in-kuberay branch May 27, 2025 17:38
pawelpaszki pushed a commit to opendatahub-io/kuberay that referenced this pull request Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] kubectl ray job submit command shadows the error of ray job sumit [kubectl-plugin] Handle multiple jobs in ray job list
3 participants