merge: preserve DSH lifecycle while syncing target branch

This commit is contained in:
阿白叔 committed 2026-10-31 14:48:59 +08:00
commit d3bdff81e5
70 files changed
+3030 -201

No files matched your search

+14
View File
@@ -142,6 +142,20 @@ def main():
report['compact_table_height']=window.plan_panel.table.viewport().height()
assert report['compact_size']==[980,700]
assert report['compact_table_height']>=100
# Preview UI gates with an owned StopControl; never dispatch a worker.
window._begin_run(tasks[0].task_id);window._update_gates();settle(.2)
report['force_stop_direct']=window.run_panel.force_stop_button.isVisible()
assert report['force_stop_direct']
assert window.run_panel.force_stop_button.parent() is window.run_panel
for button in (window.run_panel.stop_queue_button,window.run_panel.force_stop_button):
point=button.mapTo(window,button.rect().bottomRight())
assert 0<=point.x()<window.width() and 0<=point.y()<window.height()
capture('native-app-executing-controls')
window._pause_queue();settle(.2)
report['force_stop_available_while_pausing']=window.run_panel.force_stop_button.isEnabled()
assert report['force_stop_available_while_pausing']
capture('native-app-pausing-controls')
window._finish_run();window._update_gates()
window.project_options_button.setChecked(True);settle(.2)
report['options_exposed']=window.run_panel.copy_value_check.isVisible()
window.plan_panel.discard_all();window.close();settle(.3);store.close();logging.shutdown()