wolfier opened a new issue #16902: URL: https://github.com/apache/airflow/issues/16902
**Description** Add or update additional parameters that defines when a file's dag_code entry should be refreshed. **Use case / motivation** When `store_dag_code` is enabled, dag code is stored in the `dag_code` table. The table is updated when the originating file's modification time is greater than when the dag code was last cached. I would like the code view (pulled from the `dag_code` table) to update even when the modification time is prior to when the dag_code entry was last updated. Updating the cache relying only on modification date of the source python file is not reliable because the timestamp does not carry information about the content of the file. In addition or instead of checking the modification time, I would like to consider the file content hash as well. **Are you willing to submit a PR?** Yes! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
