The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user jscheffl (triggered by jscheffl).

Head commit for run:
d396533cfd43c882f681966b0dd098a702f2eaf8 / Seongbin Hong 
<[email protected]>
Fix static file caching is disabled in Airflow Webserver. (#39345)

* Fix static file caching is disabled in Airflow Webserver.

In Airflow 2.3.0, it's Flask version is bumped up to 2.0.x
Flask 2.0.x has some breaking changes. one of them is about 
`SEND_FILE_MAX_AGE_DEFAULT`.
It affect static file's Expires value on HTTP response header.
and the default value is changed from 12 hours to None on that version.

in order to enable static file caching in airflow webserver.
it needs explicitly configration of `SEND_FILE_MAX_AGE_DEFAULT` in Flask.

* Fix typo

* Fix code's formatting with ruff

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

With regards,
GitHub Actions via GitBox


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

Reply via email to