potiuk opened a new pull request, #63402: URL: https://github.com/apache/airflow/pull/63402
The ERD diagram (airflow_erd.svg) was previously generated via a prek pre-commit hook and committed to the repository. This meant a ~320KB SVG had to be regenerated and committed every time migrations changed, causing unnecessary merge conflicts and repo bloat. A new Sphinx extension (`generate_erd`) now generates per-package ERD diagrams at doc build time directly from SQLAlchemy model metadata: - **apache-airflow**: core models (`airflow_erd.svg`) - **apache-airflow-providers-fab**: FAB auth manager models (`fab_erd.svg`) - **apache-airflow-providers-edge3**: Edge3 worker models (`edge3_erd.svg`) No running database is needed. When eralchemy or graphviz is unavailable, a placeholder SVG is written so the build still succeeds. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Opus 4.6 Generated-by: Claude Opus 4.6 following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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]
