Skip to content

Conversation

@jscheffl
Copy link
Contributor

While I was working on some auth stuff I saw this code and stumbled over it... had been even reworked during SQLA2 adjustements but can not find in git history why the query is the same independent of the if statement in find_user(). Also no test is relying on this so I propose to clean this up. (I would even see a risk if something is different based on a AUTH_USERNAME_CI flag.
Code is like this since at least 3 years.

I propose to delete ... except if @vincbeck has an expert opinion.


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.

Copy link
Contributor

@vincbeck vincbeck left a comment

Choose a reason for hiding this comment

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

Nice! I do not think we use it so I think it is safe to delete

@vincbeck vincbeck merged commit 6480471 into apache:main Jan 20, 2026
85 checks passed
jason810496 pushed a commit to jason810496/airflow that referenced this pull request Jan 22, 2026
amoghrajesh pushed a commit to astronomer/airflow that referenced this pull request Jan 22, 2026
suii2210 pushed a commit to suii2210/airflow that referenced this pull request Jan 26, 2026
shreyas-dev pushed a commit to shreyas-dev/airflow that referenced this pull request Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants