fix(dsh): address intervention cancellation and verification review
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 11:58:32 +08:00
1 parent de9cb2908d
commit 775bc23dc3
26 files changed
+1280 -119

No files matched your search

+17 -3
View File
@@ -9,11 +9,13 @@ on:
jobs:
portable-regression:
name: Python core and release configuration
name: Python 3.12 core, intervention UI and release configuration
runs-on: ubuntu-latest
container:
image: node:20-bookworm
image: python:3.12-bookworm
timeout-minutes: 20
env:
QT_QPA_PLATFORM: offscreen
steps:
- name: Checkout tested commit
run: |
@@ -24,7 +26,8 @@ jobs:
- name: Install runner Python and test dependencies
run: |
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends python3 python3-pytest
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libegl1 libopengl0 libgl1 libxkbcommon0 libdbus-1-3 libfontconfig1 libglib2.0-0 libxcb-cursor0 fonts-dejavu-core libnss3 libasound2 libxcomposite1 libxdamage1 libxrandr2 libxtst6 libgbm1
python3 -m pip install 'pytest>=8,<9' 'pytest-qt>=4.4,<5' 'PySide6>=6.7,<7' 'openpyxl>=3.1,<4'
python3 --version
- name: Compile application and build helpers
run: python3 -m compileall -q src packaging tools
@@ -36,6 +39,12 @@ jobs:
tests/dsh/test_decision_log.py
tests/dsh/test_experience.py
tests/dsh/test_issue_broker.py
tests/dsh/test_incidents.py
tests/ui/test_dsh_native_menu.py
tests/ui/test_dsh_blockers.py
tests/ui/test_dsh_blocker_sources.py
tests/ui/test_dsh_diagnosis_lifecycle.py
tests/ui/test_query_observability.py
tests/packaging/test_dsh_runtime_staging.py
tests/packaging/test_release_configuration.py
tests/packaging/test_self_extracting_release.py
@@ -63,3 +72,8 @@ jobs:
node --check integration/dsh/start.mjs
node --check integration/dsh/task-plugin/host.mjs
node --check integration/dsh/task-plugin/client.js
- name: Intervention panel and bounded model views (no model or network)
run: |
node tools/verify_dsh_incident_panel.mjs
node tools/verify_dsh_model_results.mjs
node tools/verify_dsh_diagnosis_cancel.mjs