Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Jul 22, 2023

The Celery Executor tests in Helm started to fail after the configuration migration has been merged (#32604). The PR did not have "full tests needed" label and it skipped K8S tests because there was no change related to kubernetes (but some fundamental changes in how configuration were retrieved caused the Celery Executor failed on missing default configuration value.

The change adds ProvidersManager configuration initialization when executors are started in order to fix the problem temporarily, however there is an ongoing effort to optimise the path of retrieving provider configuration without having to initialize all provider's configuration and those lines will be removed when it happens.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

The Celery Executor tests in Helm started to fail after the
configuration migration has been merged (apache#32604). The PR did not
have "full tests needed" label and it skipped K8S tests because
there was no change related to kubernetes (but some fundamental
changes in how configuration were retrieved caused the Celery
Executor failed on missing default configuration value.

The change adds ProvidersManager configuration initialization when
executors are started in order to fix the problem temporarily,
however there is an ongoing effort to optimise the path of
retrieving provider configuration without having to initialize
all provider's configuration and those lines will be removed
when it happens.
@boring-cyborg boring-cyborg bot added the area:Scheduler including HA (high availability) scheduler label Jul 22, 2023
@potiuk potiuk added the full tests needed We need to run full set of tests for this PR to merge label Jul 22, 2023
@potiuk potiuk closed this Jul 22, 2023
@potiuk potiuk reopened this Jul 22, 2023
@potiuk
Copy link
Member Author

potiuk commented Jul 22, 2023

Re-running with "full tests needed" this time.

@potiuk
Copy link
Member Author

potiuk commented Jul 22, 2023

Yep. The fix seems to work. I will have another one improving it shortly, but woudl be great to merge that one to make main "green" again.

@potiuk potiuk merged commit 3d89e75 into apache:main Jul 22, 2023
@potiuk potiuk deleted the fix-failing-celery-executor branch July 22, 2023 07:55
@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Scheduler including HA (high availability) scheduler changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) full tests needed We need to run full set of tests for this PR to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants