feat(dsh): show AI readiness and prevent repeated intervention on status changes
Core regression / Python 3.12 core, intervention UI and release configuration (push) Failing after 21s
Core regression / JavaScript syntax (push) Successful in 3s
Core regression / Python 3.12 core, intervention UI and release configuration (pull_request) Failing after 21s
Core regression / JavaScript syntax (pull_request) Successful in 3s

This commit is contained in:
阿白叔 committed 2026-11-05 16:09:41 +08:00
1 parent bd06bbc7d2
commit cf6e3f9d2a
28 files changed
+1159 -37

No files matched your search

+8
View File
@@ -13,6 +13,14 @@ from dx_productivity.trial_task_center.quick_run import QuickRunPreparer
from dx_productivity.trial_task_center.ui.main_window import TrialTaskCenterWindow
@pytest.fixture
def ai_ready(monkeypatch):
"""AI flow tests supply readiness explicitly; normal fixtures remain unconfigured."""
from dx_productivity.trial_task_center.ui import dsh_status
monkeypatch.setattr(dsh_status, 'check_availability', lambda root:
{'available': True, 'code': 'available', 'message': 'Controlled configured model'})
@pytest.fixture
def ui(qtbot, tmp_path):
root = tmp_path/'projects'