Vamsi-klu commented on PR #69442:
URL: https://github.com/apache/airflow/pull/69442#issuecomment-5014062867

   `databricks_run_id` is the shared parent workflow-run ID for a member of 
`DatabricksWorkflowTaskGroup`. Cancelling it here would therefore stop sibling 
tasks as well.
   
   Could `on_kill` mirror `monitor_databricks_job`: use 
`_get_current_databricks_task()["run_id"]` for workflow members, while 
retaining `self.databricks_run_id` for standalone operators? A regression test 
should set parent run ID `1`, return child attempt ID `999`, and assert 
`cancel_run(999)`.
   
   The branch also contains two `fix:` commit subjects, which current Airflow 
commit checks reject; those will need rewriting when the branch is rebased.
   
   ---
   Drafted-by: Codex (GPT-5) (no human review before posting)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to