Skip to content

Add readable dags checks for the dependencies endpoint#62046

Merged
shubhamraj-git merged 7 commits intoapache:mainfrom
shubhamraj-git:fix-dependencies-endpoint
Feb 18, 2026
Merged

Add readable dags checks for the dependencies endpoint#62046
shubhamraj-git merged 7 commits intoapache:mainfrom
shubhamraj-git:fix-dependencies-endpoint

Conversation

@shubhamraj-git
Copy link
Copy Markdown
Contributor

The dependencies endpoint returns the full Dag dependency graph without filtering by authorized Dag. This will add the filter to get the result based upon the authorized Dags.


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

Comment thread airflow-core/src/airflow/api_fastapi/core_api/routes/ui/dependencies.py Outdated
Copy link
Copy Markdown
Member

@pierrejeambrun pierrejeambrun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice thanks, a couple nits

Comment thread airflow-core/src/airflow/api_fastapi/core_api/routes/ui/dependencies.py Outdated
Copy link
Copy Markdown
Contributor

@Srabasti Srabasti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like an extra line is causing the static checks to fail.

Copy link
Copy Markdown
Contributor

@Srabasti Srabasti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fix! I am honored that you asked for review:)

@pierrejeambrun pierrejeambrun added this to the Airflow 3.1.8 milestone Feb 18, 2026
@shubhamraj-git
Copy link
Copy Markdown
Contributor Author

Thank you @pierrejeambrun @vincbeck @Srabasti for your reviews!

@shubhamraj-git shubhamraj-git merged commit 9d7b2a1 into apache:main Feb 18, 2026
129 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

Backport failed to create: v3-1-test. View the failure log Run details

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
v3-1-test Commit Link

You can attempt to backport this manually by running:

cherry_picker 9d7b2a1 v3-1-test

This should apply the commit to the v3-1-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

If you don't have cherry-picker installed, see the installation guide.

sjyangkevin pushed a commit to sjyangkevin/airflow that referenced this pull request Feb 18, 2026
choo121600 pushed a commit to choo121600/airflow that referenced this pull request Feb 22, 2026
shubhamraj-git added a commit to shubhamraj-git/airflow that referenced this pull request Feb 27, 2026
shubhamraj-git added a commit that referenced this pull request Feb 28, 2026
Subham-KRLX pushed a commit to Subham-KRLX/airflow that referenced this pull request Mar 4, 2026
vatsrahul1001 pushed a commit that referenced this pull request Mar 4, 2026
dominikhei pushed a commit to dominikhei/airflow that referenced this pull request Mar 11, 2026
Ankurdeewan pushed a commit to Ankurdeewan/airflow that referenced this pull request Mar 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants