Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,11 @@ def execute(self, context: Context):
self.run_id = trigger_job_response.json()["data"]["id"]
job_run_url = trigger_job_response.json()["data"]["href"]

# Push the ``job_run_url`` value to XCom regardless of what happens during execution so that the job
# run can be monitored via the operator link.
# Push the ``job_run_url`` and ``job_run_id`` value to XCom regardless of what happens during execution.
# This enables job monitoring via the operator link and provides direct access
# to the job run ID without requiring users to parse the URL manually
context["ti"].xcom_push(key="job_run_url", value=job_run_url)
context["ti"].xcom_push(key="job_run_id", value=self.run_id)

if self.wait_for_termination and isinstance(self.run_id, int):
if self.deferrable is False:
Expand Down