Skip to content

[Jobs] Add job submission ID to get_runtime_context() #28089

Open
@architkulkarni

Description

Description

Add an API like the existing API ray.runtime_context.get_runtime_context().get_job_id(), but for the job submission ID.

Use case

The use case is for job driver code to read its job submission ID at runtime. e.g. to save job related artifacts to a remote registry with a separate folder for each job submission id and allow easy artifact retrieval just by the id.

Metadata

Assignees

No one assigned

    Labels

    @external-author-action-requiredAlternate tag for PRs where the author doesn't have labeling permission.P2Important issue, but not time-criticalenhancementRequest for new feature and/or capabilityjobs

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions