The GitHub Actions job "Tests (AMD)" on airflow.git/backport-a6798ab-v3-2-test 
has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
96d7d90bcc9ae9561486d052c2b779735e22b1ad / Jarek Potiuk <[email protected]>
[v3-2-test] Fix triggerer file handle leak when remote log upload fails (#66675)

When a trigger finishes, the supervisor uploads its log to the remote log
store and then closes the local file descriptor. If `upload_to_remote()`
raised (e.g., S3/GCS throttling, transient network error), `close()` was
never called and the underlying BufferedWriter — plus its 8 KiB buffer and
the open fd — leaked for every failed upload.

Wrap the cleanup in try/except/finally so the fd is always closed, and log
the upload failure instead of letting it propagate into `handle_requests`.

Surfaced in discussion #65985.
(cherry picked from commit a6798ab8d8311e98b1c29cad54bd51cffd5ccac4)

Co-authored-by: Jarek Potiuk <[email protected]>

Report URL: https://github.com/apache/airflow/actions/runs/25649653425

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to