ci: exclude deprecated legacy C++ runtime/ from automatic CI runs #2913

Merged
aslan2142 merged 1 commit from upstream-pr/2913 into main 2026-12-01 18:00:47 +00:00
aslan2142 commented 2026-12-01 17:45:17 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T17:45:17Z.


What and why

Excludes the deprecated legacy C++ Vulkan runtime/ from automatic CI test runs so legacy C++ builds and CTest flakes (e.g. display_white_cache) no longer consume runner slots or block pull requests. The legacy C++ runtime/ is superseded by the Rust DX12 runtime (d3d12/) and the new Rust Vulkan runtime (in progress).

No source files under runtime/ are deleted, and both legacy runtime workflows remain available via manual workflow_dispatch if needed.

Excluded from automatic CI (push, pull_request, schedule)

  • .github/workflows/runtime.yml (windows, wine, linux-gpu-tools jobs): switched to workflow_dispatch: only, simplified concurrency (group: runtime-${{ github.event_name }}-${{ github.run_id }}, cancel-in-progress: false), and removed dead PR/push conditionals on wine.
  • .github/workflows/xma2-decoder.yml (windows-ffi job for runtime/xma_decoder/): switched to workflow_dispatch: only and updated concurrency accordingly.

Remaining 100% active in CI

  • .github/workflows/ci.yml (change-scope, check, linux-python-and-viewer, semantic-tests)
  • .github/workflows/d3d12.yml (d3d12 (windows-latest))
  • .github/workflows/launcher.yml (launcher)
  • .github/workflows/no-game-data.yml (no-game-data)
  • .github/workflows/jactionlint.yml (jactionlint)
  • .github/workflows/conflict-label.yml (label)

Supporting test & doc updates

  • tests/test_runtime_paths.py: updated RepositoryRuntimePathsTest to assert runtime.yml is manual workflow_dispatch only (keeping needed(ROOT) and all SyntheticTreeTest cases intact).
  • tests/test_ci_main_signal.py: scoped the nightly schedule / push+PR coalescing assertions to active ci.yml, and added test_legacy_runtime_workflows_are_manual_dispatch_only verifying both runtime.yml and xma2-decoder.yml are manual-only while preserving wine's artifact check.
  • docs/testing.md: updated the two references that described runtime.yml as running automatically on pushes/PRs.

Tested

Verified locally on Linux (no GPU / no game data):

  • Parsed all 8 .github/workflows/*.yml files with PyYAML (yaml.safe_load) — all valid.
  • python3 -I scripts/check_no_game_data.py — exit 0.
  • python3 -m compileall -q make_game.py tools tests — exit 0.
  • git diff --check origin/main..HEAD — clean (exit 0).
  • python3 -m unittest discover -s tests -p "test_docs_*.py" -v — 57/57 passed.
  • Workflow, CI, CMake, and doc unit tests (test_runtime_paths.py, test_ci_main_signal.py, test_ci_registration.py, test_check_apt_key.py, test_cmake_vulkan_missing.py, test_cmake_vulkan_headers_version.py, test_ctest_registration.py, test_no_game_data_workflow.py, test_pr_conflict_label.py, test_progress_dashboard_ci.py, test_ci_expected_failures.py, test_i18n_index.py, test_design_contract_rows.py) — 141/141 passed.

GPUs tested: n/a (CI workflow & Python unit test changes only)

AI-assisted: yes

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (n/a — no translator rules changed)
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5591196808 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2913). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-12-01T17:45:17Z. --- ### What and why Excludes the deprecated legacy C++ Vulkan `runtime/` from automatic CI test runs so legacy C++ builds and CTest flakes (e.g. `display_white_cache`) no longer consume runner slots or block pull requests. The legacy C++ `runtime/` is superseded by the Rust DX12 runtime (`d3d12/`) and the new Rust Vulkan runtime (in progress). No source files under `runtime/` are deleted, and both legacy runtime workflows remain available via manual `workflow_dispatch` if needed. #### Excluded from automatic CI (`push`, `pull_request`, `schedule`) - **`.github/workflows/runtime.yml`** (`windows`, `wine`, `linux-gpu-tools` jobs): switched to `workflow_dispatch:` only, simplified `concurrency` (`group: runtime-${{ github.event_name }}-${{ github.run_id }}`, `cancel-in-progress: false`), and removed dead PR/push conditionals on `wine`. - **`.github/workflows/xma2-decoder.yml`** (`windows-ffi` job for `runtime/xma_decoder/`): switched to `workflow_dispatch:` only and updated `concurrency` accordingly. #### Remaining 100% active in CI - **`.github/workflows/ci.yml`** (`change-scope`, `check`, `linux-python-and-viewer`, `semantic-tests`) - **`.github/workflows/d3d12.yml`** (`d3d12 (windows-latest)`) - **`.github/workflows/launcher.yml`** (`launcher`) - **`.github/workflows/no-game-data.yml`** (`no-game-data`) - **`.github/workflows/jactionlint.yml`** (`jactionlint`) - **`.github/workflows/conflict-label.yml`** (`label`) #### Supporting test & doc updates - **`tests/test_runtime_paths.py`**: updated `RepositoryRuntimePathsTest` to assert `runtime.yml` is manual `workflow_dispatch` only (keeping `needed(ROOT)` and all `SyntheticTreeTest` cases intact). - **`tests/test_ci_main_signal.py`**: scoped the nightly schedule / push+PR coalescing assertions to active `ci.yml`, and added `test_legacy_runtime_workflows_are_manual_dispatch_only` verifying both `runtime.yml` and `xma2-decoder.yml` are manual-only while preserving `wine`'s artifact check. - **`docs/testing.md`**: updated the two references that described `runtime.yml` as running automatically on pushes/PRs. ### Tested Verified locally on Linux (no GPU / no game data): - Parsed all 8 `.github/workflows/*.yml` files with PyYAML (`yaml.safe_load`) — all valid. - `python3 -I scripts/check_no_game_data.py` — exit 0. - `python3 -m compileall -q make_game.py tools tests` — exit 0. - `git diff --check origin/main..HEAD` — clean (exit 0). - `python3 -m unittest discover -s tests -p "test_docs_*.py" -v` — 57/57 passed. - Workflow, CI, CMake, and doc unit tests (`test_runtime_paths.py`, `test_ci_main_signal.py`, `test_ci_registration.py`, `test_check_apt_key.py`, `test_cmake_vulkan_missing.py`, `test_cmake_vulkan_headers_version.py`, `test_ctest_registration.py`, `test_no_game_data_workflow.py`, `test_pr_conflict_label.py`, `test_progress_dashboard_ci.py`, `test_ci_expected_failures.py`, `test_i18n_index.py`, `test_design_contract_rows.py`) — 141/141 passed. GPUs tested: n/a (CI workflow & Python unit test changes only) AI-assisted: yes ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. (n/a — no translator rules changed)
merzleckeier commented 2026-12-01 17:51:18 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-12-01T17:51:18Z.


Independent workflow trigger and required-check comparison at dfce074a0 + 27613ab6b.

I parsed the workflow definitions on both trees. The two legacy workflows become workflow_dispatch only and retain the same job IDs. The runtime’s manual Wine job still depends on the Windows artifact and expands to ubuntu and winehq-stable. The other six workflow files are byte-identical. All five contexts in the public rules for main are defined by those unchanged workflows (change-scope, check, linux-python-and-viewer, semantic-tests, and no-game-data).

test_ci_main_signal.py and test_runtime_paths.py passed on both trees, 11 tests on main and 12 on the merged PR tree. This covers the workflow definitions and local tests.

MEASURED and READ IN CODE. AI-assisted (Codex). Public rules for main

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7319952960 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2913#issuecomment-7319952960). Originally posted by [merzleckeier](https://github.com/merzleckeier) on 2026-12-01T17:51:18Z. --- Independent workflow trigger and required-check comparison at `dfce074a0` + `27613ab6b`. I parsed the workflow definitions on both trees. The two legacy workflows become `workflow_dispatch` only and retain the same job IDs. The runtime’s manual Wine job still depends on the Windows artifact and expands to `ubuntu` and `winehq-stable`. The other six workflow files are byte-identical. All five contexts in the public rules for `main` are defined by those unchanged workflows (`change-scope`, `check`, `linux-python-and-viewer`, `semantic-tests`, and `no-game-data`). `test_ci_main_signal.py` and `test_runtime_paths.py` passed on both trees, 11 tests on main and 12 on the merged PR tree. This covers the workflow definitions and local tests. MEASURED and READ IN CODE. AI-assisted (Codex). [Public rules for main](https://api.github.com/repos/ProjectLeonida/mandy/rules/branches/main)
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!2913
No description provided.