Repository navigation
Conversation
…/60145-add-missing-indexes
…://github.com/shaealh/airflow into shaealh-60145-issue/60145-add-missing-indexes
|
Please review |
|
@shaealh This PR has been converted to draft because it does not yet meet our Pull Request quality criteria. Issues found:
What to do next:
Converting a PR to draft is not a rejection — it is an invitation to bring the PR up to the project's standards so that maintainer review time is spent productively. There is no rush — take your time and work at your own pace. We appreciate your contribution and are happy to wait for updates. If you have questions, feel free to ask on the Airflow Slack. Note: This comment was drafted by an AI-assisted triage tool and may contain mistakes. Once you have addressed the points above, an Apache Airflow maintainer — a real person — will take the next look at your PR. We use this two-stage triage process so that our maintainers' limited time is spent where it matters most: the conversation with you. |
|
@shaealh This draft PR has been inactive for 20 days since the last triage comment and no response from the author. Closing to keep the queue clean. You are welcome to reopen this PR when you resume work, or to open a new one addressing the issues previously raised. There is no rush — take your time. Note: This comment was drafted by an AI-assisted triage tool and may contain mistakes. Once you have addressed the points above, an Apache Airflow maintainer — a real person — will take the next look at your PR. We use this two-stage triage process so that our maintainers' limited time is spent where it matters most: the conversation with you. |
Closes #60145
Adds a migration to speed up airflow db clean -t dag_version by creating missing indexes on:
Downgrade removes both indexes (if_exists=True).
Tests :
ruff check airflow-core/src/airflow/migrations/versions/0108_3_2_0_add_dag_version_id_indexes_for_db_cleanup.pypytest airflow-core/tests/unit/utils/test_db.py -k single_head_revision_in_migrations -q --with-db-initpytest airflow-core/tests/unit/migrations/test_no_orm_refs_in_migration_scripts.py -qWas generative AI tooling used to co-author this PR?
Codex & ChatGPT
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.