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

Merged
milk4sale merged 1 commit from upstream-pr/1404 into main 2026-11-29 20:41:50 +00:00
milk4sale commented 2026-11-24 23:30:43 +00:00 (Migrated from github.com)

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 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

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5482113775 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1404). Originally posted by [milk4sale](https://github.com/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 `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)
milk4sale commented 2026-11-24 23:51:39 +00:00 (Migrated from github.com)

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 (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.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7147875400 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1404#issuecomment-7147875400). Originally posted by [milk4sale](https://github.com/milk4sale) on 2026-11-24T23:51:39Z. --- 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.
zmasi commented 2026-11-29 00:08:45 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-29T00:08:45Z.


Native Windows 11 Verification (b45daffc01) — PASS

Diff-audited .github/workflows/ci.yml (+3/-1) and verified merged onto origin/main (829530dbd0) on Windows 11 (10.0.26200, Python 3.12.10 with -I).

Results

  • Baseline vs PR: Raises timeout-minutes on the windows-latest check job from 15 to 30 so the full standard-library Python test loop (~21 minutes on hosted Windows runners) is not canceled before reporting.
  • CI Workflow & Policy Suites (PR #1404 merged onto origin/main):
    • python -I tests/test_ci_registration.py: Ran 18 tests in 23.305s — OK
    • python -I tests/test_ci_main_signal.py: Ran 6 tests in 0.003s — OK
    • python -I tests/test_ci_expected_failures.py: Ran 14 tests in 0.114s — OK
    • python -I tests/test_no_game_data_workflow.py: Ran 3 tests in 4.505s — OK
    • python -I tests/test_progress_dashboard_ci.py: Ran 21 tests in 0.313s — OK
    • python -I scripts/check_no_game_data.py & tests/test_text_write_line_endings.py (3/3): OK.

AI-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7247907130 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1404#issuecomment-7247907130). Originally posted by [zmasi](https://github.com/zmasi) on 2026-11-29T00:08:45Z. --- ### Native Windows 11 Verification (`b45daffc01`) — PASS Diff-audited `.github/workflows/ci.yml` (`+3/-1`) and verified merged onto `origin/main` (`829530dbd0`) on Windows 11 (`10.0.26200`, Python `3.12.10` with `-I`). #### Results - **Baseline vs PR**: Raises `timeout-minutes` on the `windows-latest` `check` job from `15` to `30` so the full standard-library Python test loop (~21 minutes on hosted Windows runners) is not canceled before reporting. - **CI Workflow & Policy Suites (`PR #1404` merged onto `origin/main`)**: - `python -I tests/test_ci_registration.py`: **`Ran 18 tests in 23.305s — OK`** - `python -I tests/test_ci_main_signal.py`: **`Ran 6 tests in 0.003s — OK`** - `python -I tests/test_ci_expected_failures.py`: **`Ran 14 tests in 0.114s — OK`** - `python -I tests/test_no_game_data_workflow.py`: **`Ran 3 tests in 4.505s — OK`** - `python -I tests/test_progress_dashboard_ci.py`: **`Ran 21 tests in 0.313s — OK`** - `python -I scripts/check_no_game_data.py` & `tests/test_text_write_line_endings.py` (`3/3`): **`OK`**. AI-assisted.
TheGeogeo commented 2026-11-29 01:12:42 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by TheGeogeo on 2026-11-29T01:12:42Z.


Checked b45daffc0 merged (no commit) with main 87a39df94: Python 3.12.4, Windows 11 10.0.26300, CPU only.

  • CI only: no local test exercises this, so there is no red/green to show.
  • .github/workflows/ci.yml still parses (7 jobs). The check job goes from timeout-minutes: 15 to 30.
  • The workflow meta-tests give the same result as on main: test_runner_calls_all_tests.py, test_no_game_data_workflow.py, test_progress_dashboard_ci.py and test_runtime_paths.py all pass.

No blocker from my side.

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7248634134 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1404#issuecomment-7248634134). Originally posted by [TheGeogeo](https://github.com/TheGeogeo) on 2026-11-29T01:12:42Z. --- Checked `b45daffc0` merged (no commit) with `main` `87a39df94`: Python 3.12.4, Windows 11 10.0.26300, CPU only. - CI only: no local test exercises this, so there is no red/green to show. - `.github/workflows/ci.yml` still parses (7 jobs). The check job goes from `timeout-minutes: 15` to `30`. - The workflow meta-tests give the same result as on `main`: `test_runner_calls_all_tests.py`, `test_no_game_data_workflow.py`, `test_progress_dashboard_ci.py` and `test_runtime_paths.py` all pass. No blocker from my side. AI-assisted (Claude Code).
TheGeogeo commented 2026-11-29 14:18:54 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by TheGeogeo on 2026-11-29T14:18:54Z.


Ready for testing: merges cleanly with main 3535eb5c4. Not in main yet: git cherry finds 1 commit(s) not there, and 0 of the 2 lines it adds are already present. No duplicate found: its claim CI-CHECK-TIME-LIMIT appears in no other open pull request and in no main commit.

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7257206793 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1404#issuecomment-7257206793). Originally posted by [TheGeogeo](https://github.com/TheGeogeo) on 2026-11-29T14:18:54Z. --- Ready for testing: merges cleanly with `main` `3535eb5c4`. Not in `main` yet: `git cherry` finds 1 commit(s) not there, and 0 of the 2 lines it adds are already present. No duplicate found: its claim `CI-CHECK-TIME-LIMIT` appears in no other open pull request and in no `main` commit. AI-assisted (Claude Code).
enlight3d commented 2026-11-29 15:41:39 +00:00 (Migrated from github.com)

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.

  • PR head: b45daffc01
  • main: c22a0a7322 (PR merged into it locally with git merge --no-ff, clean; only .github/workflows/ci.yml touched, +3 -1)
  • Machine: Windows 11 Pro 10.0.26300, CPython 3.13.12, yq v4.52.4

Commands: yq -o=json -P . .github/workflows/ci.yml on main and on the merged tree, then diff; yq '.jobs | to_entries | .[] | .key + " " + (.value."timeout-minutes" // "none" | tostring)'; then, one process each from the repo root, python -I tests/<name>.py for test_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.

  • Before (main): jobs.check.timeout-minutes: 15 (windows-latest)
  • After (merged): jobs.check.timeout-minutes: 30
  • The parsed workflow differs from main in that one key only (the diff shows a single changed line); the file parses.
  • Green at head: all 7 test files OK (test_ci_registration 16, test_no_game_data_workflow 3, test_pr_conflict_label 13, test_runner_calls_all_tests 3, test_check_apt_key 13, test_text_write_line_endings 3, test_docs_repo_paths 3; the head branch is based on an older main, so a few files have fewer tests than on main).
  • Green merged into main: all 7 OK (test_ci_registration 18, test_check_apt_key 19, test_docs_repo_paths 5, the others as above); identical to plain main.
  • Merged together with #1462 (the two touch different lines): clean, parses, check 30 and semantic-tests has the matrix expression.
  • Not reproducible here: the runner timings the PR quotes (about 20 minutes for the standard-library loop, 21 min 20 s for the job) are measurements on GitHub's windows-latest runner; only a real CI run on the merged result can confirm that the job now fits.
<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7258291336 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1404#issuecomment-7258291336). Originally posted by [enlight3d](https://github.com/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. - PR head: b45daffc01e915e529b191419d77c1340d4becb8 - main: c22a0a73228cde800aff15964334e4fe9b13c889 (PR merged into it locally with `git merge --no-ff`, clean; only `.github/workflows/ci.yml` touched, +3 -1) - Machine: Windows 11 Pro 10.0.26300, CPython 3.13.12, yq v4.52.4 Commands: `yq -o=json -P . .github/workflows/ci.yml` on main and on the merged tree, then `diff`; `yq '.jobs | to_entries | .[] | .key + " " + (.value."timeout-minutes" // "none" | tostring)'`; then, one process each from the repo root, `python -I tests/<name>.py` for `test_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`. - Before (main): `jobs.check.timeout-minutes: 15` (windows-latest) - After (merged): `jobs.check.timeout-minutes: 30` - The parsed workflow differs from main in that one key only (the diff shows a single changed line); the file parses. - Green at head: all 7 test files OK (test_ci_registration 16, test_no_game_data_workflow 3, test_pr_conflict_label 13, test_runner_calls_all_tests 3, test_check_apt_key 13, test_text_write_line_endings 3, test_docs_repo_paths 3; the head branch is based on an older main, so a few files have fewer tests than on main). - Green merged into main: all 7 OK (test_ci_registration 18, test_check_apt_key 19, test_docs_repo_paths 5, the others as above); identical to plain main. - Merged together with #1462 (the two touch different lines): clean, parses, `check` 30 and `semantic-tests` has the matrix expression. - Not reproducible here: the runner timings the PR quotes (about 20 minutes for the standard-library loop, 21 min 20 s for the job) are measurements on GitHub's windows-latest runner; only a real CI run on the merged result can confirm that the job now fits.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!1404
No description provided.