name: Core regression on: push: branches: [main, 'codex/**'] tags: ['v*'] pull_request: workflow_dispatch: jobs: portable-regression: name: Python 3.12 core, intervention UI and release configuration runs-on: ubuntu-latest container: image: python:3.12-bookworm timeout-minutes: 20 env: QT_QPA_PLATFORM: offscreen steps: - name: Checkout tested commit run: | git init . git remote add origin "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git" git fetch --depth=1 origin "${GITHUB_SHA}" git checkout --detach FETCH_HEAD - name: Install runner Python and test dependencies run: | apt-get update 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 - name: Core regression (no CAD or production credentials) run: >- python3 -m pytest -q tests/dsh/test_core.py tests/dsh/test_failure_policy.py tests/dsh/test_decision_log.py tests/dsh/test_experience.py tests/dsh/test_issue_broker.py tests/dsh/test_incidents.py tests/dsh/test_availability.py tests/dsh/test_health.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_dsh_status_indicator.py tests/ui/test_pr10_review_edges.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 tests/trial_task_center/test_bom_template_contract.py tests/trial_task_center/test_bom_import_review.py --junitxml=build/ci-results.xml --tb=short - name: Windows release scope run: | echo 'Windows PyInstaller, Qt WebEngine startup, full runtime file hashes and extracted EXE smoke are validated on the Windows build host.' echo 'This Linux job does not claim Windows/CAD or live model acceptance.' javascript-regression: name: JavaScript syntax runs-on: ubuntu-latest container: image: node:20-bookworm timeout-minutes: 10 steps: - name: Checkout tested commit run: | git init . git remote add origin "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git" git fetch --depth=1 origin "${GITHUB_SHA}" git checkout --detach FETCH_HEAD - name: Check runtime syntax run: | node --check integration/dsh/start.mjs node --check integration/dsh/task-plugin/host.mjs node --check integration/dsh/task-plugin/client.js node --check integration/dsh/model_availability.mjs - 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