Skip to content

Conversation

@Brunda10
Copy link
Contributor

@Brunda10 Brunda10 commented Aug 8, 2025

  • Introduces template_searchpath as a documented config option in config_templates/config.yml
  • Ensures DAGs and operators fall back to this value if not explicitly set

This was suggested in #53972 as a more scalable approach instead of adding more CLI args or making it per-DAG. This PR implements that feedback .

Closes #53972

Copy link
Contributor

@Nataneljpwd Nataneljpwd left a comment

Choose a reason for hiding this comment

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

Looks good!
Great job!
Only 1 comment that needs to be resolved and its perfect

@Brunda10 Brunda10 force-pushed the template-path-config branch from d949b2d to 34972df Compare August 11, 2025 18:35
Copy link
Contributor

@Nataneljpwd Nataneljpwd left a comment

Choose a reason for hiding this comment

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

Looks great!

@Brunda10
Copy link
Contributor Author

Brunda10 commented Aug 19, 2025

Removed hardcoded default value $AIRFLOW_HOME/dags/include for template_searchpath config

@eladkal eladkal added this to the Airflow 3.1.0 milestone Aug 19, 2025
@uranusjr
Copy link
Member

This needs a test.

Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
@potiuk
Copy link
Member

potiuk commented Aug 21, 2025

This needs a test.

+1

@Brunda10
Copy link
Contributor Author

This needs a test.

+1

Added unit tests to verify template_searchpath behavior with both single and multiple paths configured.

@kaxil kaxil modified the milestones: Airflow 3.1.0, Airflow 3.1+ Sep 9, 2025
@Brunda10
Copy link
Contributor Author

Hi @uranusjr, I’ve updated the PR with the changes based on your feedback. Could you kindly review it again and let me know if anything else?

@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale Stale PRs per the .github/workflows/stale.yml policy file label Nov 24, 2025
@github-actions github-actions bot closed this Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ConfigTemplates area:task-sdk stale Stale PRs per the .github/workflows/stale.yml policy file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support a global template_searchpath config option in Airflow

7 participants