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

StarshipDagHistoryMigrationOperator does not migrate Run Configs to the target DAG runs #115

Open
hkc-8010 opened this issue Dec 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@hkc-8010
Copy link

Bug details:
It appears that StarshipDagHistoryMigrationOperator may have a limitation where it does not migrate DAG run run_config fields. The source (AWS MWAA) DAG runs have non-null run_config values, but after the migration to the target environment (Astro), the DAG runs have a run_config value of None.

Source: MWAA, local instance using Astro CLI or any Airflow instance

Destination: Astro

Airflow Version: Replicated the issue on 2.9.2 but applicable for all the Airflow versions.

Starship Version: Latest version 2.1.0

Desktop (please complete the following information):

  • OS: iOS
  • Browser: ARC
    • Version 1.70.0 (56062)
    • Chromium Engine Version 131.0.6778.86

Screenshots:

  • Source dag_run run config:
Image
  • Target dag_run run config:
Image

Logs:
No errors in the logs

Additional context

  • Expected behavior:
    Given a source DAG run with a non-null run_config, after running the migration operator logic, the target DAG run should include the same run_config.

  • Observed behavior:
    Given a source DAG run with a non-null run_config, after the migration operator logic, the target DAG run’s run_config is None.

The migration logic appears to omit run_config during the creation of new DAG runs. Please advise if run_config fields are expected to be migrated or if there's an additional configuration required.

@hkc-8010 hkc-8010 added the bug Something isn't working label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant