mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:00:52 +01:00
[PR #2193] ci: run standalone Windows tests two at a time (CI-CHECK-PARALLEL-STDLIB) #2196
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#2196
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/2193
Author: @EdenBendheim
Created: 11/26/2026
Status: 🔄 Open
Base:
main← Head:ubiq/ci-check-parallel-stdlib📝 Commits (2)
5943a7cci: run standalone Windows tests two at a time (CI-CHECK-PARALLEL-STDLIB)53b846fci: preserve UTF-8 test paths in redirected failure annotations📊 Changes
4 files changed (+192 additions, -11 deletions)
View changed files
📝
.github/workflows/ci.yml(+4 -9)➕
scripts/run_standalone_tests.py(+70 -0)📝
tests/test_ci_registration.py(+10 -2)➕
tests/test_run_standalone_tests.py(+108 -0)📄 Description
Claimed in the coordination issue as:
CI-CHECK-PARALLEL-STDLIB(claim)What and why
The Windows
checkjob runs more than 500 standalone Python files one at a time. #1404 measured 20m 15s for that loop on a Windows hosted runner, already beyond the job's 15-minute limit.This implements the parallel-runner follow-up suggested in #1928 (§5) and #1404. The existing selection predicate is unchanged; the selected files run in separate
python -Iprocesses, two at a time, with file-grouped output and all failure annotations preserved. Child stdin is disconnected from the selection list.Tested
Local reproduction of the Windows check step, using macOS 27.3 / Apple M1 Max, Python 3.12.14, CPU only, at main
a73a57e13:2.01× faster (50.1% less wall time), while running every selected file. An additional parallel run before the explicit stdin-isolation hardening took 229.30 s.
The old loop also silently skipped
test_x86_decode_window.pyandtest_x86_high_byte_writes.pyin this run; an earlier test's child inherited the file-list stdin, and the next path was corrupted. The new regression runs an stdin-reading synthetic test followed by other files; it fails against the old workflow and passes against this one.Both full runs report the same pre-existing failures:
test_calibrated_texture_extra.py(#2101) andtest_mod_pack_output_alias.py(#2175). The new runner test accounts for the one additional selected file.python -I tests/test_run_standalone_tests.py: 4/4 passed (bounded concurrency, isolation, complete failure reporting, invalid inputs).python -I tests/test_ci_registration.py: 16/16 passed.git diff --check: passed.The timing is a local comparison, not a measured Windows hosted CI run.
GPUs tested: n/a (CPU-only synthetic tests).
AI-assisted: yes — created with gpt-6.2-sol in Codex.
Checklist
mainand merges cleanly.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.