hkc-8010 opened a new pull request, #69523:
URL: https://github.com/apache/airflow/pull/69523

   Prevent \`DagProcessorJob\` from crashing with \`ValueError: write to closed 
file\`
   when orphaned or timed-out dag processor subprocesses are killed.
   
   This change drains and deregisters processor log sockets before closing the
   logger handle in \`DagFileProcessorManager\`, and narrows supervisor-side
   \`ValueError\` handling so only the closed-log-file case is skipped.
   
   It also adds regression coverage for:
   - orphan and timeout kill ordering
   - socket deregistration and drain behavior
   - supervisor handling of closed logger targets
   
   closes: #64959
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — OpenAI Codex (GPT-5)
   
   Generated-by: OpenAI Codex (GPT-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