ci: give the Windows check job 30 minutes; it needs 21 and was cancelled at 15 on every run (CI-CHECK-TIME-LIMIT) #1404
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1404"
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 milk4sale on 2026-11-24T23:30:43Z.
Claimed in the coordination issue as: CI-CHECK-TIME-LIMIT (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7147387006)
What and why
The
checkjob runs the standard-library test loop onwindows-latestwithtimeout-minutes: 15, and on GitHub's hosted runner it does not fit in that. It is cancelled at the limit, and a cancelled job prints no list of failed files. So today the job spends 15 Windows minutes per run and reports nothing, and a test that fails late in the loop is never seen.This raises the limit to 30 and says why in a comment next to it. Nothing else in the workflow changes.
Measured on my fork (
milk4sale/leonida, the same workflow file and runner label) on 24 November 2026:checkmain, hourly, 18:02 UTC (45455214398)main, 19:03 (45466210143)main, 20:04 (45476939820)main, 21:04 (45487389394)main, 22:05 (45497605416)In the three branch runs the job had started 379 files when it was cut off. In the last run the loop took 20 min 15 s for 486 files and then listed four failing files:
tests/test_bink_names.py,tests/test_opus_tags.py,tests/test_run_wine_tests.pyandtests/test_world_names.py. Three of them are a repr'd Windows path in an error message, which #128 is about.tests/test_run_wine_tests.pyfails in two of the four Windows runs that had it (it came with #1354); I have claimed that one as TEST-WINE-JOBS-TIMING-LOG and fixed it in #1410.tests/test_world_names.pycomes after the 379th file, so the job could not have shown it before.30 minutes leaves about 40% over the one complete run. The loop grows with every test file, so the number will need another look later. Running the files a few at a time would be the lasting answer; I have not attempted that here.
Not changed:
macos-python(limit 20). In my runs it finished once in 13 min 52 s and was cancelled twice at 20 minutes, with its semantic suite at 1110 s and 1116 s. That is too few runs to propose a number from.Tested
python -I tests/test_ci_registration.py,python -I tests/test_runner_calls_all_tests.pyandpython -m unittest discover -s tests/semantic -p test_spirv_tools_required.py, the three tests that read the workflow: all pass.Not measured: a runner of this repository itself. The fork uses the same
windows-latestlabel; if this repository's runners are faster, the job would already be finishing here and this change does no harm.GPUs tested: n/a (one workflow file)
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (No translator change.)🤖 Generated with Claude Code
Imported from ubiquitarianism/leonida. Originally posted by milk4sale on 2026-11-24T23:51:39Z.
The run of this branch's own workflow file that I promised (
b45daffc0onmain3a0af1f15, a manual run of theCIworkflow on my fork): https://github.com/milk4sale/leonida/actions/runs/45510568820checkran to its end in 20 min 9 s with the 30-minute limit, and for the first time today it printed its list. The loop took 19 min 11 s for 491 files.tests/test_bink_names.py,tests/test_opus_tags.py,tests/test_world_names.py: #128tests/test_run_wine_tests.py: #1410tests/test_mod_pack_output_alias.py: #1412 (new onmainsince #1057, so it was not in the earlier 21-minute run)main:stdlib-tests-linux,semantic-tests (ubuntu-latest)andviewer-testssucceed;translator-testsfails on the twocs_dpp_cmp.asmtests (#1375);macos-pythonfails attests/test_mod_pack_output_alias.py(#1412).So the two complete runs of the job took 21 min 20 s and 20 min 9 s.
AI-assisted.
Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-29T00:08:45Z.
Native Windows 11 Verification (
b45daffc01) — PASSDiff-audited
.github/workflows/ci.yml(+3/-1) and verified merged ontoorigin/main(829530dbd0) on Windows 11 (10.0.26200, Python3.12.10with-I).Results
timeout-minuteson thewindows-latestcheckjob from15to30so the full standard-library Python test loop (~21 minutes on hosted Windows runners) is not canceled before reporting.PR #1404merged ontoorigin/main):python -I tests/test_ci_registration.py:Ran 18 tests in 23.305s — OKpython -I tests/test_ci_main_signal.py:Ran 6 tests in 0.003s — OKpython -I tests/test_ci_expected_failures.py:Ran 14 tests in 0.114s — OKpython -I tests/test_no_game_data_workflow.py:Ran 3 tests in 4.505s — OKpython -I tests/test_progress_dashboard_ci.py:Ran 21 tests in 0.313s — OKpython -I scripts/check_no_game_data.py&tests/test_text_write_line_endings.py(3/3):OK.AI-assisted.
Imported from ubiquitarianism/leonida. Originally posted by TheGeogeo on 2026-11-29T01:12:42Z.
Checked
b45daffc0merged (no commit) withmain87a39df94: Python 3.12.4, Windows 11 10.0.26300, CPU only..github/workflows/ci.ymlstill parses (7 jobs). The check job goes fromtimeout-minutes: 15to30.main:test_runner_calls_all_tests.py,test_no_game_data_workflow.py,test_progress_dashboard_ci.pyandtest_runtime_paths.pyall pass.No blocker from my side.
AI-assisted (Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by TheGeogeo on 2026-11-29T14:18:54Z.
Ready for testing: merges cleanly with
main3535eb5c4. Not inmainyet:git cherryfinds 1 commit(s) not there, and 0 of the 2 lines it adds are already present. No duplicate found: its claimCI-CHECK-TIME-LIMITappears in no other open pull request and in nomaincommit.AI-assisted (Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by enlight3d on 2026-11-29T15:41:39Z.
Independent run of #1404 (CI workflow only:
.github/workflows/ci.yml; no code, no build, no game, no GPU). There is no test that can fail on a timeout value, so there is no red; I show the change as the before/after of the parsed workflow instead.b45daffc01c22a0a7322(PR merged into it locally withgit merge --no-ff, clean; only.github/workflows/ci.ymltouched, +3 -1)Commands:
yq -o=json -P . .github/workflows/ci.ymlon main and on the merged tree, thendiff;yq '.jobs | to_entries | .[] | .key + " " + (.value."timeout-minutes" // "none" | tostring)'; then, one process each from the repo root,python -I tests/<name>.pyfortest_ci_registration,test_no_game_data_workflow,test_pr_conflict_label,test_runner_calls_all_tests,test_check_apt_key,test_text_write_line_endings,test_docs_repo_paths.jobs.check.timeout-minutes: 15(windows-latest)jobs.check.timeout-minutes: 30check30 andsemantic-testshas the matrix expression.