ci: give the Windows semantic-tests leg 20 minutes; it was cancelled at 10 in 14 of 23 runs (CI-SEMANTIC-WIN-TIME-LIMIT) #1462

Merged
milk4sale merged 1 commit from upstream-pr/1462 into main 2026-11-29 20:41:44 +00:00
milk4sale commented 2026-11-25 00:42:24 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by milk4sale on 2026-11-25T00:42:24Z.


Claimed in the coordination issue as: CI-SEMANTIC-WIN-TIME-LIMIT (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7148686466)

What and why

The semantic-tests job runs the translator suite (tests/semantic) on windows-latest for pushes to main and for workflow_dispatch (pull requests run only its Linux leg), with timeout-minutes: 10. On GitHub's hosted runner the Windows leg does not fit in that. It was cancelled at the limit in 14 of the 23 runs I could measure, and a cancelled job prints no summary, so main is red on that leg whether its tests pass or not.

This gives the Windows leg 20 minutes and says why in a comment next to the limit. The Linux leg keeps 10, so pull request runs do not change. Nothing else changes.

Measured on my fork (milk4sale/leonida, the same workflow file and runner label) on 24 November 2026, from the job logs:

semantic-tests (windows-latest) Runs Test step (run_semantic_tests.py) test_mutations.py alone All other files done by
Ran to its end 9 374-577 s 250-381 s 247-365 s
Cancelled: "exceeded the maximum execution time of 10m0s" 14 cut off at 594-602 s still running, every time 413-484 s
All 23 runs (16 hourly runs of main, 7 branch runs)
Run (fork) Commit Branch Result Test step test_mutations Other files done by
45335997425 (05:49) 8f481cf16 main ran to its end 512 s 340 s 327 s
45343742700 (06:52) c023a365a main cancelled at 10 min cut at 600 s still running 434 s
45351510934 (07:53) 1c93c8697 main cancelled at 10 min cut at 598 s still running 453 s
45360123747 (08:53) d1d3fca40 main ran to its end 404 s 269 s 272 s
45369690561 (09:54) 21625bca8 main cancelled at 10 min cut at 597 s still running 444 s
45398596589 (12:57) 51f316092 main ran to its end 403 s 264 s 276 s
45409047895 (13:58) d0da7dade main cancelled at 10 min cut at 598 s still running 430 s
45420340290 (14:59) a28927849 main ran to its end 374 s 250 s 247 s
45432144669 (16:00) 1504c1af6 main ran to its end 476 s 316 s 297 s
45443953536 (17:01) fce586c6d main cancelled at 10 min cut at 597 s still running 469 s
45455214398 (18:02) 3aa975421 main ran to its end 452 s 297 s 319 s
45466210143 (19:03) 6293c1c4f main ran to its end 577 s 381 s 365 s
45476939820 (20:04) cb83398a5 main cancelled at 10 min cut at 598 s still running 437 s
45487389394 (21:04) c9e5fb7be main cancelled at 10 min cut at 602 s still running 447 s
45497605416 (22:05) 4a50cafc7 main cancelled at 10 min cut at 597 s still running 413 s
45502632816 (22:37) fd0a53907 test/ci-registration-local-mixin cancelled at 10 min cut at 599 s still running 484 s
45504536550 (22:49) 8d29ffd26 test/translate-text-only-sample ran to its end 446 s 288 s 349 s
45504603770 (22:50) 2b8a57429 scratch/ci-both-red-main-fixes cancelled at 10 min cut at 595 s still running 428 s
45505002126 (22:52) 8e98deaf2 verify/main-plus-fixes cancelled at 10 min cut at 597 s still running 416 s
45506216167 (23:01) 472795703 scratch/ci-time-limits-probe cancelled at 10 min cut at 594 s still running 478 s
45507103804 (23:06) 6558d5318 main cancelled at 10 min cut at 599 s still running 445 s
45510568820 (23:30) b45daffc0 ci/check-time-limit cancelled at 10 min cut at 596 s still running 453 s
45514815352 (00:01) ac747046a scratch/union-ci-check ran to its end 542 s 352 s 356 s

Left out: one more run of main (00:07 UTC, 1154976d4), cut off when GitHub blocked the fork's Actions at 00:16 UTC.

Why the leg is slow. tests/semantic/test_mutations.py copies tools/ into a temporary folder and runs test_ps_semantics.py in a new process, 14 times in a row (the baseline and 13 mutations). On the Windows runner that file took 250-381 s, against 25-42 s on the Linux leg in the five Linux runs I looked at. The runner starts the largest files first and this one is small, so it starts 124-196 s in and finishes last: in all 23 runs it was the last file still running.

Why 20. In the cancelled runs every other file was slower too (all done by 413-484 s instead of 247-365 s). In the 9 finished runs the whole test step took 1.28-1.60 times (mean 1.49) as long as the other files did; applied to the cancelled runs, that puts their test step at about 620-780 s, 10.3 to 13 minutes. 20 minutes leaves about 50% over that. The suite keeps growing (465 files on main at 05:49 UTC, 476 at 00:07), so the number will need another look later. Making test_mutations cheaper on Windows, or starting it first, would be the lasting answer; I have not attempted that here.

What this does not fix

With the limit raised, the Windows leg runs to its end and still fails on two files: tests/semantic/test_active_cache.py:56 and tests/semantic/test_reg_ptr_hoist.py:59 read LEONIDA_REQUIRE_SPIRV_TOOLS for truthiness, and ci.yml sets it to 0 on Windows. Draft #136 fixes both (== "1", as the other readers of the variable already do), and MoonEyes offered to carry that change as its own pull request (comment). This pull request does not touch either file. In the four Windows runs that finished after #676 merged (17:10 UTC), those two were the only files that failed, so with both changes the leg should be green.

Tested

  • The change is a number in the workflow and a matrix expression, so the evidence is the runs above. GitHub's context-availability table lists matrix (and not runner) for jobs.<job_id>.timeout-minutes. This pull request's own CI evaluates the expression on the Linux leg, and jactionlint checks the workflow.
  • python -I tests/test_ci_registration.py (16 tests), python -I tests/test_runner_calls_all_tests.py (3 tests) and python -m unittest discover -s tests/semantic -p test_spirv_tools_required.py (skipped without LEONIDA_REQUIRE_SPIRV_TOOLS=1, as designed), the three tests that read the workflow: all pass.
  • python -I scripts/run_semantic_tests.py tests/semantic on Linux with 24 jobs: 476 files, 6,223 tests, 0 files failed in 65 s.
  • The two files above on this branch (the same as main for them), with spirv-as, spirv-val and llvm-mc hidden from PATH: both pass with the variable unset and fail with 0 and with 1 ("spirv-as / spirv-val required but not found on PATH"). The other readers of the variable (test_sopc_validation, test_unary_f16_validation, test_fma_khr, test_fma_khr_f64, test_spirv_tools_required) pass with 0, and test_spirv_tools_required fails with 1.
  • python -I scripts/check_no_game_data.py .github/workflows/ci.yml: clean.

Not measured: a run of this branch on windows-latest. GitHub blocked the fork's Actions at 00:16 UTC on 25 November, so I could not dispatch one; the first push to main after merge will show it. This repository's own runs could not help either: none of its last 100 CI runs on main got as far as starting the Windows leg (98 were cancelled and 2 were still queued when I looked).

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). It also merges cleanly with each of the 10 open pull requests that change ci.yml (#140, #374, #595, #679, #756, #771, #782, #789, #794, #1404).
  • 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:5482880647 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1462). Originally posted by [milk4sale](https://github.com/milk4sale) on 2026-11-25T00:42:24Z. --- Claimed in the coordination issue as: CI-SEMANTIC-WIN-TIME-LIMIT (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7148686466) ### What and why The `semantic-tests` job runs the translator suite (`tests/semantic`) on `windows-latest` for pushes to `main` and for workflow_dispatch (pull requests run only its Linux leg), with `timeout-minutes: 10`. On GitHub's hosted runner the Windows leg does not fit in that. It was cancelled at the limit in 14 of the 23 runs I could measure, and a cancelled job prints no summary, so `main` is red on that leg whether its tests pass or not. This gives the Windows leg 20 minutes and says why in a comment next to the limit. The Linux leg keeps 10, so pull request runs do not change. Nothing else changes. Measured on my fork (`milk4sale/leonida`, the same workflow file and runner label) on 24 November 2026, from the job logs: | `semantic-tests (windows-latest)` | Runs | Test step (`run_semantic_tests.py`) | `test_mutations.py` alone | All other files done by | |---|---|---|---|---| | Ran to its end | 9 | 374-577 s | 250-381 s | 247-365 s | | Cancelled: "exceeded the maximum execution time of 10m0s" | 14 | cut off at 594-602 s | still running, every time | 413-484 s | <details><summary>All 23 runs (16 hourly runs of <code>main</code>, 7 branch runs)</summary> | Run (fork) | Commit | Branch | Result | Test step | `test_mutations` | Other files done by | |---|---|---|---|---|---|---| | [45335997425](https://github.com/milk4sale/leonida/actions/runs/45335997425) (05:49) | `8f481cf16` | `main` | ran to its end | 512 s | 340 s | 327 s | | [45343742700](https://github.com/milk4sale/leonida/actions/runs/45343742700) (06:52) | `c023a365a` | `main` | cancelled at 10 min | cut at 600 s | still running | 434 s | | [45351510934](https://github.com/milk4sale/leonida/actions/runs/45351510934) (07:53) | `1c93c8697` | `main` | cancelled at 10 min | cut at 598 s | still running | 453 s | | [45360123747](https://github.com/milk4sale/leonida/actions/runs/45360123747) (08:53) | `d1d3fca40` | `main` | ran to its end | 404 s | 269 s | 272 s | | [45369690561](https://github.com/milk4sale/leonida/actions/runs/45369690561) (09:54) | `21625bca8` | `main` | cancelled at 10 min | cut at 597 s | still running | 444 s | | [45398596589](https://github.com/milk4sale/leonida/actions/runs/45398596589) (12:57) | `51f316092` | `main` | ran to its end | 403 s | 264 s | 276 s | | [45409047895](https://github.com/milk4sale/leonida/actions/runs/45409047895) (13:58) | `d0da7dade` | `main` | cancelled at 10 min | cut at 598 s | still running | 430 s | | [45420340290](https://github.com/milk4sale/leonida/actions/runs/45420340290) (14:59) | `a28927849` | `main` | ran to its end | 374 s | 250 s | 247 s | | [45432144669](https://github.com/milk4sale/leonida/actions/runs/45432144669) (16:00) | `1504c1af6` | `main` | ran to its end | 476 s | 316 s | 297 s | | [45443953536](https://github.com/milk4sale/leonida/actions/runs/45443953536) (17:01) | `fce586c6d` | `main` | cancelled at 10 min | cut at 597 s | still running | 469 s | | [45455214398](https://github.com/milk4sale/leonida/actions/runs/45455214398) (18:02) | `3aa975421` | `main` | ran to its end | 452 s | 297 s | 319 s | | [45466210143](https://github.com/milk4sale/leonida/actions/runs/45466210143) (19:03) | `6293c1c4f` | `main` | ran to its end | 577 s | 381 s | 365 s | | [45476939820](https://github.com/milk4sale/leonida/actions/runs/45476939820) (20:04) | `cb83398a5` | `main` | cancelled at 10 min | cut at 598 s | still running | 437 s | | [45487389394](https://github.com/milk4sale/leonida/actions/runs/45487389394) (21:04) | `c9e5fb7be` | `main` | cancelled at 10 min | cut at 602 s | still running | 447 s | | [45497605416](https://github.com/milk4sale/leonida/actions/runs/45497605416) (22:05) | `4a50cafc7` | `main` | cancelled at 10 min | cut at 597 s | still running | 413 s | | [45502632816](https://github.com/milk4sale/leonida/actions/runs/45502632816) (22:37) | `fd0a53907` | `test/ci-registration-local-mixin` | cancelled at 10 min | cut at 599 s | still running | 484 s | | [45504536550](https://github.com/milk4sale/leonida/actions/runs/45504536550) (22:49) | `8d29ffd26` | `test/translate-text-only-sample` | ran to its end | 446 s | 288 s | 349 s | | [45504603770](https://github.com/milk4sale/leonida/actions/runs/45504603770) (22:50) | `2b8a57429` | `scratch/ci-both-red-main-fixes` | cancelled at 10 min | cut at 595 s | still running | 428 s | | [45505002126](https://github.com/milk4sale/leonida/actions/runs/45505002126) (22:52) | `8e98deaf2` | `verify/main-plus-fixes` | cancelled at 10 min | cut at 597 s | still running | 416 s | | [45506216167](https://github.com/milk4sale/leonida/actions/runs/45506216167) (23:01) | `472795703` | `scratch/ci-time-limits-probe` | cancelled at 10 min | cut at 594 s | still running | 478 s | | [45507103804](https://github.com/milk4sale/leonida/actions/runs/45507103804) (23:06) | `6558d5318` | `main` | cancelled at 10 min | cut at 599 s | still running | 445 s | | [45510568820](https://github.com/milk4sale/leonida/actions/runs/45510568820) (23:30) | `b45daffc0` | `ci/check-time-limit` | cancelled at 10 min | cut at 596 s | still running | 453 s | | [45514815352](https://github.com/milk4sale/leonida/actions/runs/45514815352) (00:01) | `ac747046a` | `scratch/union-ci-check` | ran to its end | 542 s | 352 s | 356 s | Left out: one more run of `main` (00:07 UTC, `1154976d4`), cut off when GitHub blocked the fork's Actions at 00:16 UTC. </details> **Why the leg is slow.** `tests/semantic/test_mutations.py` copies `tools/` into a temporary folder and runs `test_ps_semantics.py` in a new process, 14 times in a row (the baseline and 13 mutations). On the Windows runner that file took 250-381 s, against 25-42 s on the Linux leg in the five Linux runs I looked at. The runner starts the largest files first and this one is small, so it starts 124-196 s in and finishes last: in all 23 runs it was the last file still running. **Why 20.** In the cancelled runs every other file was slower too (all done by 413-484 s instead of 247-365 s). In the 9 finished runs the whole test step took 1.28-1.60 times (mean 1.49) as long as the other files did; applied to the cancelled runs, that puts their test step at about 620-780 s, 10.3 to 13 minutes. 20 minutes leaves about 50% over that. The suite keeps growing (465 files on `main` at 05:49 UTC, 476 at 00:07), so the number will need another look later. Making `test_mutations` cheaper on Windows, or starting it first, would be the lasting answer; I have not attempted that here. ### What this does not fix With the limit raised, the Windows leg runs to its end and still fails on two files: `tests/semantic/test_active_cache.py:56` and `tests/semantic/test_reg_ptr_hoist.py:59` read `LEONIDA_REQUIRE_SPIRV_TOOLS` for truthiness, and `ci.yml` sets it to `0` on Windows. Draft #136 fixes both (`== "1"`, as the other readers of the variable already do), and MoonEyes offered to carry that change as its own pull request ([comment](https://github.com/ubiquitarianism/leonida/pull/136#issuecomment-7139519633)). This pull request does not touch either file. In the four Windows runs that finished after #676 merged (17:10 UTC), those two were the only files that failed, so with both changes the leg should be green. ### Tested - The change is a number in the workflow and a matrix expression, so the evidence is the runs above. GitHub's context-availability table lists `matrix` (and not `runner`) for `jobs.<job_id>.timeout-minutes`. This pull request's own CI evaluates the expression on the Linux leg, and `jactionlint` checks the workflow. - `python -I tests/test_ci_registration.py` (16 tests), `python -I tests/test_runner_calls_all_tests.py` (3 tests) and `python -m unittest discover -s tests/semantic -p test_spirv_tools_required.py` (skipped without `LEONIDA_REQUIRE_SPIRV_TOOLS=1`, as designed), the three tests that read the workflow: all pass. - `python -I scripts/run_semantic_tests.py tests/semantic` on Linux with 24 jobs: 476 files, 6,223 tests, 0 files failed in 65 s. - The two files above on this branch (the same as `main` for them), with `spirv-as`, `spirv-val` and `llvm-mc` hidden from `PATH`: both pass with the variable unset and fail with `0` and with `1` ("spirv-as / spirv-val required but not found on PATH"). The other readers of the variable (`test_sopc_validation`, `test_unary_f16_validation`, `test_fma_khr`, `test_fma_khr_f64`, `test_spirv_tools_required`) pass with `0`, and `test_spirv_tools_required` fails with `1`. - `python -I scripts/check_no_game_data.py .github/workflows/ci.yml`: clean. Not measured: a run of this branch on `windows-latest`. GitHub blocked the fork's Actions at 00:16 UTC on 25 November, so I could not dispatch one; the first push to `main` after merge will show it. This repository's own runs could not help either: none of its last 100 CI runs on `main` got as far as starting the Windows leg (98 were cancelled and 2 were still queued when I looked). 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`). It also merges cleanly with each of the 10 open pull requests that change `ci.yml` (#140, #374, #595, #679, #756, #771, #782, #789, #794, #1404). - [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)
PierreEbele commented 2026-11-25 15:33:51 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by PierreEbele on 2026-11-25T15:33:51Z.


Reviewed 464ef2a: correct and minimal: matrix.os == 'windows-latest' && 20 || 10 for the semantic-tests timeout. GitHub's context-availability table does allow matrix in jobs.<job_id>.timeout-minutes (runner is not available there, as the message notes), the matrix values match, pull_request runs (Linux leg only) keep 10 minutes, and the YAML parses. Ran tests/test_ci_registration.py (16 tests OK) and tests/test_runner_calls_all_tests.py (3 tests OK) on the PR tree. Unrelated heads-up: test_runner_calls_all_tests.py currently fails on origin/main because test_feature_scan.py's test_out_named_like_the_optional_spirv_index() is missing from RUNNER_SKIPS; worth a separate fix, and it will also make merged-main CI red.

AI-assisted review.

Recommendation: Merge

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7167036806 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1462#issuecomment-7167036806). Originally posted by [PierreEbele](https://github.com/PierreEbele) on 2026-11-25T15:33:51Z. --- Reviewed 464ef2a: correct and minimal: `matrix.os == 'windows-latest' && 20 || 10` for the semantic-tests timeout. GitHub's context-availability table does allow `matrix` in jobs.<job_id>.timeout-minutes (runner is not available there, as the message notes), the matrix values match, pull_request runs (Linux leg only) keep 10 minutes, and the YAML parses. Ran tests/test_ci_registration.py (16 tests OK) and tests/test_runner_calls_all_tests.py (3 tests OK) on the PR tree. Unrelated heads-up: test_runner_calls_all_tests.py currently fails on origin/main because test_feature_scan.py's test_out_named_like_the_optional_spirv_index() is missing from RUNNER_SKIPS; worth a separate fix, and it will also make merged-main CI red. AI-assisted review. **Recommendation:** Merge
zmasi commented 2026-11-28 23:49:13 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-28T23:49:13Z.


#1462 | head 464ef2a359 (merged cleanly with main a9e247cd69) | python -I tests/test_ci_registration.py + python -I tests/test_ci_main_signal.py + python -I tests/test_no_game_data_workflow.py + python -I tests/test_progress_dashboard_ci.py | red on main: semantic-tests in .github/workflows/ci.yml set a flat timeout-minutes: 10 for both ubuntu-latest and windows-latest | green on PR+main: timeout-minutes: ${{ matrix.os == 'windows-latest' && 20 || 10 }} gives windows-latest 20 minutes while keeping ubuntu-latest at 10; 18 ran, OK (test_ci_registration.py), 6 ran, OK (test_ci_main_signal.py), 3 ran, OK (test_no_game_data_workflow.py), and 21 ran, OK (test_progress_dashboard_ci.py) | Windows 11 (10.0.26200.9974), Python 3.12.10 | AI-assisted: yes

Audited 464ef2a359 (.github/workflows/ci.yml) merged cleanly onto main (a9e247cd69) on Windows 11 — first Windows verification report on this PR. Confirmed matrix context availability at job-level jobs.<job_id>.timeout-minutes, verified integer evaluation (20 on windows-latest, 10 on ubuntu-latest), and verified scripts/check_no_game_data.py.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7247684714 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1462#issuecomment-7247684714). Originally posted by [zmasi](https://github.com/zmasi) on 2026-11-28T23:49:13Z. --- #1462 | head 464ef2a359360185d583d2a0b6b55517a130e2de (merged cleanly with main a9e247cd69) | `python -I tests/test_ci_registration.py` + `python -I tests/test_ci_main_signal.py` + `python -I tests/test_no_game_data_workflow.py` + `python -I tests/test_progress_dashboard_ci.py` | red on main: `semantic-tests` in `.github/workflows/ci.yml` set a flat `timeout-minutes: 10` for both `ubuntu-latest` and `windows-latest` | green on PR+main: `timeout-minutes: ${{ matrix.os == 'windows-latest' && 20 || 10 }}` gives `windows-latest` 20 minutes while keeping `ubuntu-latest` at 10; `18 ran, OK` (`test_ci_registration.py`), `6 ran, OK` (`test_ci_main_signal.py`), `3 ran, OK` (`test_no_game_data_workflow.py`), and `21 ran, OK` (`test_progress_dashboard_ci.py`) | Windows 11 (`10.0.26200.9974`), Python 3.12.10 | AI-assisted: yes Audited `464ef2a359` (`.github/workflows/ci.yml`) merged cleanly onto `main` (`a9e247cd69`) on Windows 11 — first Windows verification report on this PR. Confirmed `matrix` context availability at job-level `jobs.<job_id>.timeout-minutes`, verified integer evaluation (`20` on `windows-latest`, `10` on `ubuntu-latest`), and verified `scripts/check_no_game_data.py`.
TheGeogeo commented 2026-11-29 01:12:41 +00:00 (Migrated from github.com)

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


Checked 464ef2a35 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 Windows semantic-tests leg gets timeout-minutes: ${{ matrix.os == 'windows-latest' && 20 || 10 }}.
  • 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.
  • For reference, test_mutations.py took 206-217 s here on Windows, which fits the reason given in the comment.

No blocker from my side.

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7248633815 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1462#issuecomment-7248633815). Originally posted by [TheGeogeo](https://github.com/TheGeogeo) on 2026-11-29T01:12:41Z. --- Checked `464ef2a35` 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 Windows semantic-tests leg gets `timeout-minutes: ${{ matrix.os == 'windows-latest' && 20 || 10 }}`. - 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. - For reference, `test_mutations.py` took 206-217 s here on Windows, which fits the reason given in the comment. No blocker from my side. AI-assisted (Claude Code).
TheGeogeo commented 2026-11-29 14:18:13 +00:00 (Migrated from github.com)

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


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

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7257198007 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1462#issuecomment-7257198007). Originally posted by [TheGeogeo](https://github.com/TheGeogeo) on 2026-11-29T14:18:13Z. --- Ready for testing: merges cleanly with `main` `3535eb5c4`. Not in `main` yet: `git cherry` finds 1 commit(s) not there, and 0 of the 4 lines it adds are already present. No duplicate found: its claim `CI-SEMANTIC-WIN-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:28 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by enlight3d on 2026-11-29T15:41:28Z.


Independent run of #1462 (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: 464ef2a359
  • main: c22a0a7322 (PR merged into it locally with git merge --no-ff, clean; only .github/workflows/ci.yml touched, +4 -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.semantic-tests.timeout-minutes: 10
  • After (merged): jobs.semantic-tests.timeout-minutes: ${{ matrix.os == 'windows-latest' && 20 || 10 }}
  • The parsed workflow differs from main in that one key only (the diff shows a single changed line); the file parses.
  • The expression is valid for that key (job-level timeout-minutes can read the matrix context) and the job's matrix is os: windows-latest on pushes to main and ubuntu-latest only on pull requests, so the Windows leg gets 20 and the Linux leg keeps 10. I could not evaluate it with GitHub's engine here (no actionlint), only read it.
  • 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 #1404 (the two touch different lines): clean, parses, check 30 and semantic-tests keeps the expression.
  • Not reproducible here: the runner timings the PR quotes (cancelled at 10 in 14 of 23 runs, test_mutations.py 250-381 s) 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:7258289128 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1462#issuecomment-7258289128). Originally posted by [enlight3d](https://github.com/enlight3d) on 2026-11-29T15:41:28Z. --- Independent run of #1462 (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: 464ef2a359360185d583d2a0b6b55517a130e2de - main: c22a0a73228cde800aff15964334e4fe9b13c889 (PR merged into it locally with `git merge --no-ff`, clean; only `.github/workflows/ci.yml` touched, +4 -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.semantic-tests.timeout-minutes: 10` - After (merged): `jobs.semantic-tests.timeout-minutes: ${{ matrix.os == 'windows-latest' && 20 || 10 }}` - The parsed workflow differs from main in that one key only (the diff shows a single changed line); the file parses. - The expression is valid for that key (job-level `timeout-minutes` can read the `matrix` context) and the job's matrix is `os: windows-latest` on pushes to main and `ubuntu-latest` only on pull requests, so the Windows leg gets 20 and the Linux leg keeps 10. I could not evaluate it with GitHub's engine here (no actionlint), only read it. - 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 #1404 (the two touch different lines): clean, parses, `check` 30 and `semantic-tests` keeps the expression. - Not reproducible here: the runner timings the PR quotes (cancelled at 10 in 14 of 23 runs, test_mutations.py 250-381 s) 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!1462
No description provided.