Skip to content

Conversation

@Brunda10
Copy link
Contributor

@Brunda10 Brunda10 commented Aug 6, 2025

Enables setting a default template_searchpath via cli in Breeze. Simplifies access to shared SQL templates without repeating the path in every DAG.

Closes: #53972

@boring-cyborg boring-cyborg bot added area:dev-tools backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch labels Aug 6, 2025
@potiuk
Copy link
Member

potiuk commented Aug 6, 2025

As discussed in #53792 - we have already far too many parameters - and this particular one is likely better to be configured via customization options if you want to set it https://github.com/apache/airflow/blob/main/dev/breeze/doc/02_customizing.rst#customizing-breeze-startup

Instead I would propose to look where this behaviour is coming from and turn it into a documented Airflow feature - including user documentation etc.

@Brunda10
Copy link
Contributor Author

Brunda10 commented Aug 8, 2025

Thanks for the feedback!

As suggested, I investigated the root of the template_searchpath behavior and located how it’s derived in the DAG rendering flow.

  • A new template_searchpath config option in config_templates/config.yml
  • Fallback logic in the DAG template rendering for consistent behavior
  • Clear defaults without overloading Breeze CLI parameters

The updated implementation is available here: New PR → #54256

@kaxil kaxil removed the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label Sep 14, 2025
@github-actions
Copy link

github-actions bot commented Dec 4, 2025

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 Dec 4, 2025
@github-actions github-actions bot closed this Dec 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools 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

3 participants