The GitHub Actions job "Tests" on airflow.git/bugfix/tmp-file-leak has failed.
Run started by GitHub user dheerajturaga (triggered by dheerajturaga).

Head commit for run:
574209ebdbbf200abd09eaaf816d7b330ddc9812 / Dheeraj Turaga 
<[email protected]>
Fix /tmp file leak when API server streams large task logs

  LogStreamAccumulator spills the in-flight log stream to a
  NamedTemporaryFile(delete=False) in /tmp once a task's output exceeds
  5000 lines. Cleanup was hooked only into the stream generator's
  finally block, so the file leaked whenever the caller did not iterate
  the generator to completion: client disconnect on the NDJSON streaming
  endpoint, exception during list() materialisation on the JSON path, or
  the caller using only total_lines and never accessing .stream.

  A single production host accumulated ~39 GB of orphaned files from this
  code path, with individual files up to 2.5 GB on tasks emitting
  ~10M log lines.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to