jason810496 opened a new pull request, #75731:
URL: https://github.com/apache/airflow/pull/75731

   - backport of #75707 to `v3-4-test`
   - closes: #75533
   
   ## Why
   
   Stopping a task that a language SDK runs signalled the runtime's pid alone, 
so a CLI the task had started was reparented to PID 1 and kept running. That 
child also holds the runtime open, so the runtime itself survived until the 
SIGKILL escalation `killed_task_cleanup_time` (60 s by default) later. The 
issue is reported against 3.4.0b, so the fix is worth having on the release 
branch.
   
   ## How
   
   A clean cherry-pick of 750f849cc2372ee42dc6910541d4b6a866102ac9 apart from 
one test-file conflict. `TestPopenActivitySubprocessExecutionTimeout` is 
context in the original hunk but does not exist here, since #74869 was reverted 
from `v3-4-test` in #75469. Dropping that context is the only change; the 
resulting diff is otherwise identical to the one on `main`.
   
   `v3-4-test` already has `new_process_group` in the supervisor from #65738, 
so nothing else needed adapting.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [x] Yes, with help of Claude Code Opus 5 following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   


-- 
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