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

prevent celery command autoscale misconfig #36576

Merged
merged 1 commit into from
Jan 28, 2024

Conversation

Bowrna
Copy link
Contributor

@Bowrna Bowrna commented Jan 4, 2024

closes: #35332
related: #35332


^ 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.

Copy link
Collaborator

@dirrao dirrao left a comment

Choose a reason for hiding this comment

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

airflow/cli/commands/celery_command.py Outdated Show resolved Hide resolved
@Bowrna Bowrna force-pushed the celery-autoscale-misconfig-issue branch 3 times, most recently from 8401312 to 42709e2 Compare January 4, 2024 09:32
Copy link
Collaborator

@dirrao dirrao left a comment

Choose a reason for hiding this comment

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

Existing test cases are failing. Can you update the existing ones and add the new test case?

@Bowrna
Copy link
Contributor Author

Bowrna commented Jan 5, 2024

hi @dirrao yes the static checks are expected to fail. I will need response for this comment #35332 (comment) to proceed further with this.

@Bowrna Bowrna force-pushed the celery-autoscale-misconfig-issue branch 2 times, most recently from b5bc45b to f281155 Compare January 28, 2024 15:25
@Bowrna Bowrna force-pushed the celery-autoscale-misconfig-issue branch from f281155 to 0882e7f Compare January 28, 2024 15:55
@Bowrna Bowrna marked this pull request as ready for review January 28, 2024 17:35
@Bowrna
Copy link
Contributor Author

Bowrna commented Jan 28, 2024

i have fixed some parts in documentation alone here in this PR. The actual issue is not an issue and therefore I just enhanced the docs alone

@potiuk potiuk merged commit 4fa8e45 into apache:main Jan 28, 2024
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WORKER_AUTOSCALE should not allow max workers < min workers
3 participants