The GitHub Actions job "Tests" on airflow.git/fix/s3hook-download-file-flush has failed. Run started by GitHub user pippo995 (triggered by vincbeck).
Head commit for run: 7247b95c00d49c11860bd8a4ccead232cf4cff97 / Filippo Scotti <[email protected]> fix(amazon): flush file buffer in S3Hook.download_file() before returning path S3Hook.download_file() writes S3 object content to a file via download_fileobj() but never flushes the write buffer before returning the file path. When the caller immediately opens the returned path, the file may contain 0 bytes because the data is still in Python's write buffer. This particularly affects small files (< ~8KB) that fit entirely in the buffer, and was exposed by apache-airflow-providers-common-compat 1.13.1 which changed execution timing of get_hook_lineage_collector(). See also: https://github.com/boto/boto3/issues/1304 Report URL: https://github.com/apache/airflow/actions/runs/22104327453 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
