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
github-bot wants to merge 1 commit from github-bot/gh-1404 into main AGit
Owner

@⁠milk4sale on GitHub · 2026-11-24 23:30 UTC · original
milk4sale:ci/check-time-limit → main · +3 −1 · 1 files · 1 commits · open

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

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

**@⁠milk4sale** on GitHub · 2026-11-24 23:30 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1404) `milk4sale:ci/check-time-limit` → `main` · +3 −1 · 1 files · 1 commits · open Claimed in the coordination issue as: CI-CHECK-TIME-LIMIT (https://git.gtahub.st/github/ubiquitarianism--leonida/issues/14) ### 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](https://github.com/milk4sale/leonida/actions/runs/45455214398)) | cancelled after 15 min 13 s | | `main`, 19:03 ([45466210143](https://github.com/milk4sale/leonida/actions/runs/45466210143)) | cancelled after 15 min 12 s | | `main`, 20:04 ([45476939820](https://github.com/milk4sale/leonida/actions/runs/45476939820)) | cancelled after 15 min 13 s | | `main`, 21:04 ([45487389394](https://github.com/milk4sale/leonida/actions/runs/45487389394)) | cancelled after 15 min 16 s | | `main`, 22:05 ([45497605416](https://github.com/milk4sale/leonida/actions/runs/45497605416)) | cancelled after 15 min 13 s | | #1365's branch ([45502632816](https://github.com/milk4sale/leonida/actions/runs/45502632816)) | cancelled after 15 min 12 s | | #1375's branch ([45504536550](https://github.com/milk4sale/leonida/actions/runs/45504536550)) | cancelled after 15 min 13 s | | both merged ([45504603770](https://github.com/milk4sale/leonida/actions/runs/45504603770)) | cancelled after 15 min 12 s | | both merged, limit set to 45 ([45506216167](https://github.com/milk4sale/leonida/actions/runs/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 - [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. - [x] 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](https://claude.com/claude-code)
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 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:50:13 +00:00
Author
Owner

@⁠milk4sale on GitHub · 2026-11-24 23:51 UTC · original

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

  • check ran 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.
  • It reports five failing files on Windows. Each has an open pull request:
    • tests/test_bink_names.py, tests/test_opus_tags.py, tests/test_world_names.py: #128
    • tests/test_run_wine_tests.py: #1410
    • tests/test_mod_pack_output_alias.py: #1412 (new on main since #1057, so it was not in the earlier 21-minute run)
  • The other jobs are as on main: stdlib-tests-linux, semantic-tests (ubuntu-latest) and viewer-tests succeed; translator-tests fails on the two cs_dpp_cmp.asm tests (#1375); macos-python fails at tests/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.

**@⁠milk4sale** on GitHub · 2026-11-24 23:51 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1404#issuecomment-7147875400) 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 - `check` ran 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. - It reports five failing files on Windows. Each has an open pull request: - `tests/test_bink_names.py`, `tests/test_opus_tags.py`, `tests/test_world_names.py`: #128 - `tests/test_run_wine_tests.py`: #1410 - `tests/test_mod_pack_output_alias.py`: #1412 (new on `main` since #1057, so it was not in the earlier 21-minute run) - The other jobs are as on `main`: `stdlib-tests-linux`, `semantic-tests (ubuntu-latest)` and `viewer-tests` succeed; `translator-tests` fails on the two `cs_dpp_cmp.asm` tests (#1375); `macos-python` fails at `tests/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.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1404/head:github-bot/gh-1404'
git switch 'github-bot/gh-1404'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1404'
git switch 'github-bot/gh-1404'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1404'
git switch 'github-bot/gh-1404'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1404'
git switch 'main'
git merge --squash 'github-bot/gh-1404'
git switch 'main'
git merge --ff-only 'github-bot/gh-1404'
git switch 'main'
git merge 'github-bot/gh-1404'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.