Skip to content

Add ADF pipeline example DAG and set sample DAGs to yearly schedules - #313

Merged
noel merged 2 commits into
release/adf-example-dagfrom
feature/adf-example-dag
Nov 18, 2026
Merged

noel merged 2 commits into
release/adf-example-dagfrom
feature/adf-example-dag

Conversation

@noel

@noel noel commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add other_examples/run_adf_pipeline.py: triggers an Azure Data Factory pipeline and waits for it with a deferrable sensor. Both tasks sit in a reusable adf_pipeline task group. Resource group and factory name come from the datacoves_azure_data_factory connection.
  • Allow AzureDataFactoryRunPipelineOperator and AzureDataFactoryPipelineRunStatusSensor in validate_dags.py.
  • Run blue_green_dag and empty_task once a year instead of daily and weekdays.
  • Fix the best_practices cron: drop the sixth field so it runs at 3:30am on Jan 22.

Notes

  • Needs apache-airflow-providers-microsoft-azure>=14.0.0 in the Airflow 3 image and the CI image. Older providers fail with KeyError: 'run_id' against azure-mgmt-datafactory 10.x, and without the provider the DAG fails to import.
  • The deferrable sensor needs the Airflow triggerer running.

🤖 Generated with Claude Code

noel and others added 2 commits November 18, 2026 14:50
- Add other_examples/run_adf_pipeline.py: triggers an Azure Data Factory
  pipeline and waits with a deferrable sensor; resource group and factory
  name come from the datacoves_azure_data_factory connection
- Allow the ADF operator and sensor in validate_dags.py
- Run blue_green_dag and empty_task once a year instead of daily/weekdays
- Fix best_practices cron: drop the 6th field so it runs at 3:30am on Jan 22

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Test Warnings Detected:

  • /__w/balboa/balboa/orchestrate/dags/other_examples/bad_variable_usage.py has Variable usage outside @task decorated functions at: [(14, 20)]

@github-actions

Copy link
Copy Markdown
Contributor
Tests Summary:
Total Tests: 133
Passed: 133

@github-actions

Copy link
Copy Markdown
Contributor

🎯 Airflow Workflow Status

  • Branch Validation: success
  • Airflow Validations: success

✅ All Airflow validations passed

@noel
noel merged commit ae27ac2 into release/adf-example-dag Nov 18, 2026
4 checks passed
noel added a commit that referenced this pull request Nov 18, 2026
…313) (#314)

* Add ADF pipeline example DAG and set sample DAGs to yearly schedules

- Add other_examples/run_adf_pipeline.py: triggers an Azure Data Factory
  pipeline and waits with a deferrable sensor; resource group and factory
  name come from the datacoves_azure_data_factory connection
- Allow the ADF operator and sensor in validate_dags.py
- Run blue_green_dag and empty_task once a year instead of daily/weekdays
- Fix best_practices cron: drop the 6th field so it runs at 3:30am on Jan 22



* Group the ADF run and wait tasks in a reusable task group



---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@noel
noel deleted the feature/adf-example-dag branch November 18, 2026 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant