Skip to content

Commit

Permalink
Enable work queue status in the UI by default (#11976)
Browse files Browse the repository at this point in the history
Co-authored-by: Collin Choy <collin@prefect.io>
  • Loading branch information
urimandujano and collincchoy committed Feb 14, 2024
1 parent 7172456 commit e2a394b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
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",
}

0 comments on commit e2a394b

Please sign in to comment.