merge(main): resolve PR19 review conflicts and run intervention regressions in CI
Core regression / Python core, intervention UI and release configuration (push) Failing after 2m42s
Core regression / JavaScript syntax (push) Successful in 6s
Core regression / Python core, intervention UI and release configuration (pull_request) Canceled after 1m17s
Core regression / JavaScript syntax (pull_request) Canceled after 0s

This commit is contained in:
阿白叔 committed 2026-11-09 11:35:29 +08:00
commit f8f07d30d2
127 files changed
+9390 -386

No files matched your search

+4 -3
View File
@@ -156,7 +156,7 @@ def test_last_execution_receipt_survives_later_catalog_reads(ui, monkeypatch, qt
assert view.operations['last_execution']['tasks'][0]['no_match_items'] == 2
def test_history_read_busy_state_is_published_and_rejection_is_visible(ui, monkeypatch, qtbot):
def test_history_read_busy_state_is_published_without_blocking_execution_confirmation(ui, monkeypatch, qtbot):
from threading import Event
view=setup_view(ui,monkeypatch); operations=ui.window._dsh_operations
started,release=Event(),Event()
@@ -169,8 +169,9 @@ def test_history_read_busy_state_is_published_and_rejection_is_visible(ui, monke
assert view.operations['busy'] is True
ui.window._dsh_lifecycle.request({'request_id':'b'*32,'capability':'execute',
'spec':{'operation':'start','task_ids':[ui.tasks[0].task_id]}})
assert view.lifecycle_results[-1]['status']=='busy'
assert view.operations['activity']['message']
qtbot.waitUntil(lambda: ui.window._dsh_lifecycle.dialog is not None)
ui.window._dsh_lifecycle.dialog.reject()
assert view.lifecycle_results[-1]['status']=='cancelled'
assert not ui.calls
finally:
release.set()