Skip to content

Re-enable integration tests durations to troubleshoot performance degradation#1735

Merged
tatiana merged 2 commits into
mainfrom
re-enable-integration-tests-durations
May 6, 2025
Merged

Re-enable integration tests durations to troubleshoot performance degradation#1735
tatiana merged 2 commits into
mainfrom
re-enable-integration-tests-durations

Conversation

@tatiana

@tatiana tatiana commented May 2, 2025

Copy link
Copy Markdown
Collaborator

There is an apparent degradation in the speed when running our integration tests in AF3 compared to AF2.

We're re-enabling these metrics so that we can analyse them.

As an example, during the run https://github.com/astronomer/astronomer-cosmos/actions/runs/14774756080:

  • Run-Integration-Tests(3.9,2.10,1.9) took 12m 40s
  • Run-Integration-Tests(3.9,3.0,1.9) took 41m 6s

Copilot AI review requested due to automatic review settings May 2, 2025 13:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.

Files not reviewed (1)
  • scripts/test/integration.sh: Language not supported

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label May 2, 2025
@netlify

netlify Bot commented May 2, 2025

Copy link
Copy Markdown

Deploy Preview for sunny-pastelito-5ecb04 canceled.

Name Link
🔨 Latest commit f0236ce
🔍 Latest deploy log https://app.netlify.com/sites/sunny-pastelito-5ecb04/deploys/6819d91e582f9a0008abc792

@dosubot dosubot Bot added area:performance Related to performance, like memory usage, CPU usage, speed, etc area:testing Related to testing, like unit tests, integration tests, etc labels May 2, 2025
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 2, 2025

Copy link
Copy Markdown

Deploying astronomer-cosmos with  Cloudflare Pages  Cloudflare Pages

Latest commit: f0236ce
Status: ✅  Deploy successful!
Preview URL: https://25e828eb.astronomer-cosmos.pages.dev
Branch Preview URL: https://re-enable-integration-tests.astronomer-cosmos.pages.dev

View logs

@tatiana tatiana added this to the Cosmos 1.10.1 milestone May 6, 2025
tatiana added 2 commits May 6, 2025 10:40
There is an apparent degradation in the speed when running our integration tests in AF3 in comparison with AF2.

We're re-enabling these metrics, so we can analyse them.

As an example, during the run https://github.com/astronomer/astronomer-cosmos/actions/runs/14774756080:
- Run-Integration-Tests(3.9,2.10,1.9) took 12m 40s
- Run-Integration-Tests(3.9,3.0,1.9) took 41m 6s
@tatiana tatiana force-pushed the re-enable-integration-tests-durations branch from 0ae13bc to f0236ce Compare May 6, 2025 09:40

@pankajkoti pankajkoti left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for adding this!

@tatiana tatiana merged commit a8795f3 into main May 6, 2025
90 checks passed
@tatiana tatiana deleted the re-enable-integration-tests-durations branch May 6, 2025 09:54
@codecov

codecov Bot commented May 6, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.68%. Comparing base (705d74d) to head (f0236ce).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1735   +/-   ##
=======================================
  Coverage   97.68%   97.68%           
=======================================
  Files          83       83           
  Lines        5185     5185           
=======================================
  Hits         5065     5065           
  Misses        120      120           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

pankajkoti pushed a commit that referenced this pull request May 21, 2025
…radation (#1735)

There is an apparent degradation in the speed when running our
integration tests in AF3 compared to AF2.

We're re-enabling these metrics so that we can analyse them.

As an example, during the run
https://github.com/astronomer/astronomer-cosmos/actions/runs/14774756080:
- Run-Integration-Tests(3.9,2.10,1.9) took 12m 40s
- Run-Integration-Tests(3.9,3.0,1.9) took 41m 6s

(cherry picked from commit a8795f3)
pankajkoti added a commit that referenced this pull request May 21, 2025
Bug Fixes

* Fix ``full_refresh`` parameter in ``AIRFLOW_ASYNC``
``ExecutionConfig`` mode by @tuantran0910 in #1738
* Fix dbt ls invocation method log message by @tatiana and @dstandish in
#1749
* Ensure remote target directory is created when copying files when
using local directory by @tuantran0910 and @corsettigyg in #1740
* Support custom ``packages-install-path`` by @tatiana in #1768
* Disable dbt static parser during Airflow task execution using dbt
runner by @pankajkoti and @tatiana in #1760
* Fix ``ExecutionMode.LOCAL`` to leverage
``ProjectConfig.manifest_path`` by @tatiana in #1772
* Refactor ``AIRFLOW_ASYNC`` so that the path in the remote object store
is specific per DAG run by @tuantran0910 in #1741
* Optimise memory usage with optional explicit imports by @pankajkoti
and @tatiana in #1769

Documentation

* Fix documentation rendering for ``use_dataset_airflow3_uri_standard``
by @pankajastro in #1742
* Correct custom callback example by @walter9388 in #1747

Others

* Re-enable integration tests durations to troubleshoot performance
degradation by @tatiana in #1735
* Run listener tests for Airflow 3 by @pankajastro in #1743
* Add Airflow 3 db files to ignore from git tracking by @pankajkoti in
#1755
* Log contents of ``packages.yml`` when
``AIRFLOW__LOGGING__LOGGING_LEVEL=DEBUG`` by @tatiana in #1764
* Fix Airflow dependencies in the CI by @tatiana in #1773
* Pre-commit updates: #1744, #1765, #1770
pankajkoti added a commit that referenced this pull request May 21, 2025
Bug Fixes

* Fix ``full_refresh`` parameter in ``AIRFLOW_ASYNC``
``ExecutionConfig`` mode by @tuantran0910 in #1738
* Fix dbt ls invocation method log message by @tatiana and @dstandish in
#1749
* Ensure remote target directory is created when copying files when
using local directory by @tuantran0910 and @corsettigyg in #1740
* Support custom ``packages-install-path`` by @tatiana in #1768
* Disable dbt static parser during Airflow task execution using dbt
runner by @pankajkoti and @tatiana in #1760
* Fix ``ExecutionMode.LOCAL`` to leverage
``ProjectConfig.manifest_path`` by @tatiana in #1772
* Refactor ``AIRFLOW_ASYNC`` so that the path in the remote object store
is specific per DAG run by @tuantran0910 in #1741
* Optimise memory usage with optional explicit imports by @pankajkoti
and @tatiana in #1769

Documentation

* Fix documentation rendering for ``use_dataset_airflow3_uri_standard``
by @pankajastro in #1742
* Correct custom callback example by @walter9388 in #1747

Others

* Re-enable integration tests durations to troubleshoot performance
degradation by @tatiana in #1735
* Run listener tests for Airflow 3 by @pankajastro in #1743
* Add Airflow 3 db files to ignore from git tracking by @pankajkoti in
#1755
* Log contents of ``packages.yml`` when
``AIRFLOW__LOGGING__LOGGING_LEVEL=DEBUG`` by @tatiana in #1764
* Fix Airflow dependencies in the CI by @tatiana in #1773
* Pre-commit updates: #1744, #1765, #1770


---------

(cherry picked from commit 430be00)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:performance Related to performance, like memory usage, CPU usage, speed, etc area:testing Related to testing, like unit tests, integration tests, etc size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants