Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle default values from Airflow 2 gracefully #46972

Open
1 of 2 tasks
jedcunningham opened this issue Feb 21, 2025 · 0 comments
Open
1 of 2 tasks

Handle default values from Airflow 2 gracefully #46972

jedcunningham opened this issue Feb 21, 2025 · 0 comments
Labels
affected_version:3.0.0alpha For all 3.0.0 alpha releases area:core area:logging area:upgrade Facilitating migration to a newer version of Airflow kind:bug This is a clearly a bug

Comments

@jedcunningham
Copy link
Member

Apache Airflow version

main (development)

If "Other Airflow 2 version" selected, which one?

No response

What happened?

Some config options default values in Airflow 2 won't work well, possibly failing silently or not, in Airflow 3. An example is log_filename_template which silently breaks task logs in the new UI.

We should do a pass using all default config values from Airflow 2 and make sure, if they changed, that the old value folks may have in their existing config file may cause problems.

airflow config lint is likely a good place for handling this? Or depending on the situation, automatically upgrading the value and warning, like we've done in the past with log_filename_template in the past.

What you think should happen instead?

No response

How to reproduce

Create a airflow.cfg on Airflow 2, use it on Airflow 3.

Operating System

macos

Versions of Apache Airflow Providers

No response

Deployment

Virtualenv installation

Deployment details

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@jedcunningham jedcunningham added area:core kind:bug This is a clearly a bug needs-triage label for new issues that we didn't triage yet and removed needs-triage label for new issues that we didn't triage yet labels Feb 21, 2025
@vikramkoka vikramkoka added the affected_version:3.0.0alpha For all 3.0.0 alpha releases label Feb 21, 2025
@dosubot dosubot bot added area:logging area:upgrade Facilitating migration to a newer version of Airflow labels Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affected_version:3.0.0alpha For all 3.0.0 alpha releases area:core area:logging area:upgrade Facilitating migration to a newer version of Airflow kind:bug This is a clearly a bug
Projects
None yet
Development

No branches or pull requests

2 participants