Skip to content

Conversation

@michal-mrazek
Copy link
Contributor

@michal-mrazek michal-mrazek commented Nov 26, 2025

Description

This PR adds a test for Airflow 3 versioning. We verify that adding a model to DbtDag will change a dag version.

Related Issue(s)

#2131

Breaking Change?

Checklist

  • I have made corresponding changes to the documentation (if required)
  • I have added tests that prove my fix is effective or that my feature works

Copilot AI review requested due to automatic review settings November 26, 2025 21:05
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces comprehensive integration tests for Airflow 3's DAG versioning system when used with Cosmos. The tests verify that DAG version numbers increment correctly when dbt models are added and remain unchanged when the DAG structure stays the same.

Key changes:

  • Added integration tests for Airflow 3 DAG versioning functionality
  • Implemented test fixtures for DAG serialization, cleanup, and task instance creation
  • Created a test setup that copies jaffle_shop project to a temporary directory for isolated testing

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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