You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "bobu-putheeckal (via GitHub)" <gi...@apache.org> on 2026/05/24 13:48:55 UTC

[PR] Filter stale DAG tags from tag endpoint [airflow]

bobu-putheeckal opened a new pull request, #67404:
URL: https://github.com/apache/airflow/pull/67404

   Fixes #66827.
   
   The DAG list excludes stale DAGs by default, but the DAG tags endpoint queried distinct names directly from dag_tag. This joins through DagModel and filters out stale DAG rows so tags belonging only to removed DAGs no longer appear in the UI tag dropdown.
   
   Tests:
   - uv run --no-default-groups --with-editable ./airflow-core --with-editable ./devel-common --with-editable ./providers/standard --with-editable ./providers/git --with pytest --with pytest-mock --with httpx --with time-machine --with freezegun --with sqlalchemy-utils pytest airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_dag_tags.py
   - uv run --no-default-groups --with ruff ruff check airflow-core/src/airflow/api_fastapi/core_api/routes/public/dag_tags.py airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_dag_tags.py
   
   Note: Full default uv test environment was not used because apache-airflow[all] pulls JDBC/jpype1 and this machine has no Java runtime.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Filter stale DAG tags from tag endpoint [airflow]

Posted by "kaxil (via GitHub)" <gi...@apache.org>.
kaxil closed pull request #67404: Filter stale DAG tags from tag endpoint
URL: https://github.com/apache/airflow/pull/67404


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Filter stale DAG tags from tag endpoint [airflow]

Posted by "kaxil (via GitHub)" <gi...@apache.org>.
kaxil commented on PR #67404:
URL: https://github.com/apache/airflow/pull/67404#issuecomment-4529872432

   PR template hasn't been followed on any of your PRs. As such I am closing all your PRs since I see little to no evidence of actual testing and mass PRs to Airflow & other repos.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org