Repository navigation
Conversation
KernelSmoker
left a comment
There was a problem hiding this comment.
Verified on exact head 743755d. python3 -I -B tests/test_run_wine_tests.py passes 65/65 on Python 3.15.2. Both changed files pass scripts/check_no_game_data.py, and git diff --check passes. I also checked the boundary directly: 2,147,483 seconds is accepted; 2,147,484, 1e100, NaN and infinity are rejected as argument errors. The focused regression ensures oversized values fail before launching a worker. Synthetic tests only; no Wine/Windows execution claimed.
743755d to
c8e02cd
Compare
|
Rebased on
No code change in this rebase. CI on the new head is still queued. AI-assisted: yes (Claude Code). |
c8e02cd to
56bed58
Compare
|
Rebased on Windows 11, Python 3.12.4: |
56bed58 to
b70bde2
Compare
|
Rebased from Windows 11, Python 3.12.4: AI-assisted: yes (Claude Code) |
|
Merge test and review, taken from the pool PRs MoonEyes had not checked yet. Main ec91d69 merged without conflict; the PR's test files run with the pins of
|
Claimed in the coordination issue as: WINE-TIMEOUT-OVERFLOW — #14 (comment)
What and why
An oversized finite
--timeoutcould pass argument parsing and raiseOverflowErrorwhile waiting for the first subprocess. Bound the option by the largest whole number of seconds that fits Linuxpoll's signed millisecond timeout. The CLI reports the bound and rejects larger inputs before launching a test. A shorterTIMEOUTfrom CTest still takes precedence.Tested
Head
b70bde27, rebased onmaine18b59a5, same patch as56bed586(git range-diff); it merges cleanly withmain747809e7. Windows 11, Python 3.12.4:python -I -B tests/test_run_wine_tests.py, three runs: 74 run, 12 skipped, errors only intest_jobs_keeps_locks_serial_tests_and_dependenciesandtest_jobs_runs_that_many_tests_at_a_time(three runs each).maine18b59a5alone: both in two runs of three. With these tests on the runner ofmaine48ff037,test_timeout_over_process_limit_is_rejected_before_launchfails.tests/test_docs_cli_flags.py,tests/test_text_write_line_endings.py,tests/test_ctest_registration.py,tests/test_ci_registration.pyandtests/test_docs_links.py: OK.tests/test_tool_stdout_encoding.pyfails intest_every_main_block_reconfigures_stdout, as onmaine18b59a5alone (three tools this change does not touch).compileall,git diff --checkandpython -I scripts/check_no_game_data.pyon the two files: clean.Earlier head
56bed586, rebased onmain28a32e19; it merged cleanly withmain22372d86. Same patch: only the--timeouthelp next to the new--jobsoption conflicted. Windows 11, Python 3.12.4:python -I -B tests/test_run_wine_tests.py: 74 run, 12 skipped, 1 error, intest_jobs_runs_that_many_tests_at_a_time(the run before also had one intest_jobs_keeps_locks_serial_tests_and_dependencies). Unmodifiedmain22372d86gives the same errors (three runs: both twice, only the first named here once), so they do not come from this change.tests/test_tool_stdout_encoding.py,tests/test_docs_cli_flags.pyandtests/test_text_write_line_endings.py: OK.git diff --checkandpython -I -B scripts/check_no_game_data.py scripts/run_wine_tests.py tests/test_run_wine_tests.py: clean.Earlier heads:
c8e02cd4(same patch as743755d9, onmain6293c1c4), Windows 11, Python 3.12.4:tests/test_run_wine_tests.py65 run, OK (9 skipped).mainat82a2aabc, a synthetic passing test triggeredOverflowErrorwith2147484seconds on Debian WSL and1e100on Debian WSL and Windows.2147483completed on Debian.2147483completes a passing test.743755d9:python -I -B tests/test_run_wine_tests.pyon Windows, Python 3.12.4, 56 passed and 9 POSIX-only skips;python3 -I -B tests/test_run_wine_tests.pyon Debian WSL, Python 3.11.2, 65 passed, and 67 after clean temporary merges with run_wine_tests: retain all results for duplicate names (WINE-DUPLICATE-TEST-NAMES) #999 (e8226ee4) and run_wine_tests: keep going when the drive cannot be mapped (WINE-DRIVE-MAP-OSERROR) #919 (3de809cf);tests/test_docs_cli_flags.py4 passed.GPUs tested: n/a (CPU-only synthetic tests).
AI-assisted: yes (Codex; the rebases on
28a32e19ande18b59a5with Claude Code).Checklist
mainand merges cleanly.