Skip to content

ci: give the Windows check job 30 minutes; it needs 21 and was cancelled at 15 on every run (CI-CHECK-TIME-LIMIT) - #1404

Open
milk4sale wants to merge 1 commit into
ProjectLeonida:mainfrom
milk4sale:ci/check-time-limit
Open

milk4sale wants to merge 1 commit into
ProjectLeonida:mainfrom
milk4sale:ci/check-time-limit

Conversation

@milk4sale

@milk4sale milk4sale commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Claimed in the coordination issue as: CI-CHECK-TIME-LIMIT (#14 (comment))

What and why

The check job runs the standard-library test loop on windows-latest with timeout-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:

Run check
main, hourly, 18:02 UTC (45455214398) cancelled after 15 min 13 s
main, 19:03 (45466210143) cancelled after 15 min 12 s
main, 20:04 (45476939820) cancelled after 15 min 13 s
main, 21:04 (45487389394) cancelled after 15 min 16 s
main, 22:05 (45497605416) cancelled after 15 min 13 s
#1365's branch (45502632816) cancelled after 15 min 12 s
#1375's branch (45504536550) cancelled after 15 min 13 s
both merged (45504603770) cancelled after 15 min 12 s
both merged, limit set to 45 (45506216167) ran to its end in 21 min 20 s

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.py and tests/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.py fails 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.py comes 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

  • The change is a number in the workflow, so the evidence is the runs above: the same job on the same runner label needs 21 min 20 s and reports its result when the limit allows it.
  • python -I tests/test_ci_registration.py, python -I tests/test_runner_calls_all_tests.py and python -m unittest discover -s tests/semantic -p test_spirv_tools_required.py, the three tests that read the workflow: all pass.
  • A run of this branch's own workflow file on the fork is started; I will add its result here.

Not measured: a runner of this repository itself. The fork uses the same windows-latest label; 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

  • 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. (No translator change.)

🤖 Generated with Claude Code

…led at 15 on every run (CI-CHECK-TIME-LIMIT)

The check job runs the standard-library test loop on windows-latest with timeout-minutes: 15. On GitHub's hosted
runner the job does not fit: in 8 of 8 runs of the CI workflow on a fork on 24 November 2026 (five hourly runs of
main from 18:02 to 22:05 UTC and three branch runs) it was cancelled between 15 min 12 s and 15 min 16 s, each
time after starting about 379 of its files. A cancelled job prints no list of failed files, so the job spent
15 Windows minutes per run and reported nothing, and whatever fails after the 379th file was never seen.

With the limit lifted on a scratch branch the same job ran to its end in 21 min 20 s: the loop took 20 min 15 s
for 486 files and then listed four failing files, two of which come after the point where the job used to be
cut off.

30 minutes leaves about 40% over that measurement. 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 and is not attempted here.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@milk4sale

Copy link
Copy Markdown
Contributor Author

The run of this branch's own workflow file that I promised (b45daffc0 on main 3a0af1f15, a manual run of the CI workflow on my fork): https://github.com/milk4sale/leonida/actions/runs/45510568820

So the two complete runs of the job took 21 min 20 s and 20 min 9 s.

AI-assisted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant