Repository navigation
ci: fix runtime/windows timeout, remove redundant CI legs, and harden caches - #2665
Conversation
|
Verified by OreoFR on macOS 27.2.1, Apple M5, Python 3.12.16 (pytest), main b8bd371, PR head 129c840. MEASURED, Python tests only (the workflow changes themselves are checked by this PR's own CI, not here):
At the time of this comment AI-assisted: Claude Code |
|
Update by OreoFR, same Mac (macOS 27.2.1, Apple M5, Python 3.12.16), main b8bd371, new head 3209231. MEASURED:
AI-assisted: Claude Code |
|
Verified on The caveat: Both are What that means for your pull request: nothing blocking. What it means for the repository: the Python suite has two tests that fail on Windows today, and nobody would see it in CI, where that file runs on Linux. Worth its own issue rather than riding along here. Not verified: the workflows themselves - I can read YAML, not execute GitHub's runner. What I can say is that the branch does not disturb the tests that police the CI registration, which is the closest thing to a check I have here. Written with an AI assistant. |
|
Follow-up by OreoFR, read from this PR's own
So AI-assisted: Claude Code |
…xmem/silent_audio
|
Merging after full CI verification: |
|
Follow-up by OreoFR on head d2befef (serial
From my side this is ready for a maintainer's review of the workflow changes. AI-assisted: Claude Code |
Summary
Cleans up red, redundant, and slow CI jobs across
mainworkflows based on an audit of recentmainruns, while preserving full coverage across Linux, Windows, macOS, and Wine:Fixes & Reliability
Runtime / windows35-minute timeout fix (.github/workflows/runtime.yml):RelWithDebInfo+/Z7(CMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded) toRelease(keepingNDEBUG,/MAP, and x64.pdataunwind tables), eliminating multi-GB embedded debug bloat that caused cold-cache builds to hit the 35-minute timeout; updatedwine'stiny_async.exepath toRelease.rustc-commit-hash-keyedactions/cachefor Cargo (~/.cargo/registry,~/.cargo/git,runtime/build/xma_decoder,runtime/build/opus_decoder), parallelizedctest(--parallel 4), and raisedtimeout-minutes(35->50)..github/workflows/runtime.yml,launcher.yml,xma2-decoder.yml):rustc -vVcommit-hash+Cargo.lock(movingRust toolchainahead ofactions/cacheinlauncher.yml) so compiler upgrades never hit stale exact keys.workflow_dispatch:toxma2-decoder.yml, gatedcargo fmt --checktoubuntu-24.04inlauncher.yml, and tightenedlauncher.ymltimeout-minutes(40->20)..github/workflows/runtime.yml,docs/testing.md,docs/linux.md):vk_overlapping_occlusionfromRuntime / macosEXPECTED_FAILURES(passes onmacos-26MoltenVK and caused noisyunexpected passfailures).linux-gpu-toolsLLVM fromllvm-19tollvm-21(matchingci.ymlviaapt.llvm.org+scripts/check_apt_key.py)..github/workflows/runtime.yml):name: wine (${{ matrix.wine }})override so skipped PR runs display cleanly asRuntime / wineinstead of literalRuntime / wine (${{ matrix.wine }})(expanded runs onmain/schedule/workflow_dispatchstill auto-namewine (ubuntu)andwine (winehq-stable))..github/workflows/jactionlint.yml):jactionlintfromprofile: correctnesstoprofile: default.Redundancy Removals & Consolidations
.github/workflows/ci.yml:macos-pythonandsemantic-tests (windows-latest)jobs (semantic-testsnow runs as a singleubuntu-latestjob withLEONIDA_REQUIRE_SPIRV_TOOLS: "1").translator-tests,viewer-tests, andstdlib-tests-linuxinto a singlelinux-python-and-viewer(ubuntu-24.04) job (one checkout/Python/Node 24/LLVM 21/spirv-toolssetup; runsnode --test,pytest, andrun_standalone_tests.py -j 4).paths-ignorefor docs-only files (README.md,CONTRIBUTING.md,AGENTS.md,docs/**/*.md) underon.push:so docs-only merges tomainnever queue or coalesce/cancel pending code runs, whilechange-scopekeeps running all 14 doc tests on docs-only PRs and daily schedules still run the full suite.checkstandalone test parallelism-j 2->-j 4..github/workflows/runtime.yml:macosoff pull requests (if: github.event_name != 'pull_request'); it continues running on everypushtomain, dailyschedule, andworkflow_dispatch.winematrix to["winehq-stable"]onpushtomainand full["ubuntu", "winehq-stable"]on dailyscheduleandworkflow_dispatch.tests/test_ci_registration.py,tests/semantic/test_spirv_tools_required.py,tests/test_feature_scan.py,tests/test_vs_input_survey.py,docs/linux.md,docs/testing.md.End-State Workflows Overview
pull_requestpush(main)schedule/workflow_dispatchci.ymlchange-scope(docs-only: 14 doc tests); non-docs:check,linux-python-and-viewer,semantic-testscheck,linux-python-and-viewer,semantic-testscheck,linux-python-and-viewer,semantic-testsruntime.ymlwindows(50mRelease),linux-gpu-tools(LLVM 21);wine&macosskippedwindows,wine (winehq-stable),linux-gpu-tools,macoswindows,wine (ubuntu, winehq-stable),linux-gpu-tools,macosjactionlint.ymljactionlint(profile: default)launcher.ymllauncher(windows-latest,ubuntu-24.04, 20m, Cargo cache)xma2-decoder.ymlwindows-ffi(15m, Cargo cache)workflow_dispatchno-game-data.ymlno-game-dataconflict-label.ymllabelworkflow_dispatchOut of Scope / Notes
d3d12.yml(e.g.,#2633,#2641,#2653).coordination-claim.yml(workflow ID428545624) still appears in GitHub's workflow registry and can be disabled viagh workflow disable 428545624.Testing
yaml.safe_load+bash -nacross all 7.github/workflows/*.ymlfiles +.github/dependabot.yml: PASStests/test_ci_expected_failures.py,test_ci_main_signal.py,test_ci_registration.py,test_runtime_paths.py,test_check_apt_key.py,test_no_game_data_workflow.py,test_pr_conflict_label.py,test_cmake_vulkan_missing.py,test_cmake_vulkan_headers_version.py,test_runner_calls_all_tests.py, all 13test_docs_*.py,test_i18n_index.py,test_design_contract_rows.py,test_feature_scan.py,test_vs_input_survey.py,tests/semantic/test_spirv_tools_required.py): ALL PASSnode --test tests/test_*.cjs: 85/85 PASSpython3 -I scripts/check_no_game_data.py&python3 -m compileall -q make_game.py tools tests: PASSjactionlintbinary is not installed locally; livejactionlint(profile: default) will be verified on this PR's checks.