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

   Trigger logs from active deferred tasks can disappear from the UI after a 
triggerer restart because the previous triggerer's log segment was never 
uploaded to remote storage.
   
   Drain the subprocess log sockets after stopping the runner, then upload and 
close the remaining trigger log factories. Reuse the normal finished-trigger 
upload path so a failed upload still closes its file and does not prevent other 
segments from being uploaded.
   
   Validation:
   
   - All four new regression cases fail without the fix and pass with it.
   - 
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — OpenAI Codex (GPT-6)
   
   Generated-by: OpenAI Codex (GPT-6) 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]

  • [PR] Preserve trigger logs dur... abhimanyugupta07 (via GitHub) via commits

Reply via email to