The GitHub Actions job "Tests (ARM)" on airflow.git/main has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
a7174b5bc6dcffabeb8ab72e2256c7cfe9035a13 / Lokhesh Ujhoodha 
<[email protected]>
Remove the leftover temporary report file in BidManager download (#67076)

GoogleBidManagerDownloadReportOperator downloads the report to a
NamedTemporaryFile(delete=False) and never removes it after the GCS
upload, leaving a copy of the unencrypted report on the worker disk for
every execution.

Wrap the download+upload in try/finally so the local temp file is
deleted on both the success and failure path. The handle is closed
before the unlink so the cleanup works on Windows too (NamedTemporaryFile
keeps the handle open; unlink raises PermissionError while it is held).
Unexpected OSErrors on cleanup are surfaced as a log.warning rather than
silently swallowed, so antivirus/NFS edge cases remain observable;
FileNotFoundError stays silent because a missing file is benign.

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

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

With regards,
GitHub Actions via GitBox


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

Reply via email to