ci: exclude deprecated legacy C++ runtime/ from automatic CI runs #2913
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2913"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 manualworkflow_dispatchif needed.Excluded from automatic CI (
push,pull_request,schedule).github/workflows/runtime.yml(windows,wine,linux-gpu-toolsjobs): switched toworkflow_dispatch:only, simplifiedconcurrency(group: runtime-${{ github.event_name }}-${{ github.run_id }},cancel-in-progress: false), and removed dead PR/push conditionals onwine..github/workflows/xma2-decoder.yml(windows-ffijob forruntime/xma_decoder/): switched toworkflow_dispatch:only and updatedconcurrencyaccordingly.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: updatedRepositoryRuntimePathsTestto assertruntime.ymlis manualworkflow_dispatchonly (keepingneeded(ROOT)and allSyntheticTreeTestcases intact).tests/test_ci_main_signal.py: scoped the nightly schedule / push+PR coalescing assertions to activeci.yml, and addedtest_legacy_runtime_workflows_are_manual_dispatch_onlyverifying bothruntime.ymlandxma2-decoder.ymlare manual-only while preservingwine's artifact check.docs/testing.md: updated the two references that describedruntime.ymlas running automatically on pushes/PRs.Tested
Verified locally on Linux (no GPU / no game data):
.github/workflows/*.ymlfiles 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.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
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a — no translator rules changed)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_dispatchonly and retain the same job IDs. The runtime’s manual Wine job still depends on the Windows artifact and expands toubuntuandwinehq-stable. The other six workflow files are byte-identical. All five contexts in the public rules formainare defined by those unchanged workflows (change-scope,check,linux-python-and-viewer,semantic-tests, andno-game-data).test_ci_main_signal.pyandtest_runtime_paths.pypassed 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