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

Enable work queue status in the UI by default #11976

Merged
merged 2 commits into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/prefect/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
dependent on the value of other settings or perform other dynamic effects.

"""

import logging
import os
import string
Expand Down Expand Up @@ -1461,7 +1462,7 @@ def default_cloud_ui_url(settings, value):
Whether or not to enable experimental task scheduling.
"""

PREFECT_EXPERIMENTAL_ENABLE_WORK_QUEUE_STATUS = Setting(bool, default=False)
PREFECT_EXPERIMENTAL_ENABLE_WORK_QUEUE_STATUS = Setting(bool, default=True)
"""
Whether or not to enable experimental work queue status in-place of work queue health.
"""
Expand Down
2 changes: 2 additions & 0 deletions tests/_internal/compatibility/test_experimental.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ def test_enabled_experiments_with_opt_in():
"workspace_dashboard",
"deployment_status",
"enhanced_cancellation",
"work_queue_status",
}


Expand All @@ -486,4 +487,5 @@ def test_enabled_experiments_without_opt_in():
"workspace_dashboard",
"deployment_status",
"enhanced_cancellation",
"work_queue_status",
}
2 changes: 2 additions & 0 deletions tests/server/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def test_app_exposes_ui_settings():
"workspace_dashboard",
"deployment_status",
"enhanced_cancellation",
"work_queue_status",
}


Expand All @@ -57,4 +58,5 @@ def test_app_exposes_ui_settings_with_experiments_enabled():
"workspace_dashboard",
"deployment_status",
"enhanced_cancellation",
"work_queue_status",
}