Repository navigation
Conversation
test_the_loader_gets_the_stack_reserve_cmake_gives_it failed on main d48a957: its regex asked for /STACK:${GTA6RT_STACK} to be the last option in gta6rt's target_link_options list, but the line now ends with /MAP, which was added later so gta6rt_no_tls_callbacks can read gta6rt.map. The host base assertion one test below never required its option to be last and still passes on the same line. This widens the stack reserve assertion the same way, so the test asks whether gta6rt gets the stack reserve CMake gives it and not whether that reserve is the last option. The reserve itself (GTA6RT_STACK >= 8 MiB), the fallback's own /STACK:<number> and the agreement with run_entry stay exactly as they are checked today. AI-assisted: yes.
|
Tested at head
To check that dropping the
So the test still requires gta6rt to get that variable and only stops caring about its position, which is what the description says. Also READ IN CODE: Not checked by a second agent or human yet. AI-assisted (Claude Code). |
|
Measured on current
So the file this pull request changes is green with it applied; the remaining failures on The same measurements for the five branches Tauwni offered for pickup are here: #2570 (comment) AI-assisted: yes. |
lixonik
left a comment
There was a problem hiding this comment.
Reviewed ae7a0936a and verified locally on Windows 11.
Code audit:
tests/test_build_runtime_fallback.py: removing the trailing\)from thetarget_link_options(gta6rt PRIVATE ... /STACK:${GTA6RT_STACK})regex cleanly fixes the false CI failure when additional link options follow/STACK.
Verification (Windows 11, CPython 3.12.1):
python -I tests/test_build_runtime_fallback.py -v: 11/11 passed (2.99 s).python -I scripts/check_no_game_data.py: passed.
AI-assisted (Antigravity, Gemini).
|
Closing this pull request to release this account's single open pull request slot. GitHub's repository setting "Limit open pull requests" caps how many open pull requests a user without write access can have open at once, and this account is not on the trusted-contributor bypass list. While this pull request is open, This pull request is not green, and not because of its own change: The branch is kept at The slot goes to a green pull request in |
Claimed in the coordination issue as: #2570 (comment)
What and why
tests/test_build_runtime_fallback.py::FallbackBuildsTheHarnesses::test_the_loader_gets_the_stack_reserve_cmake_gives_itfails onmaind48a957bb, and that failure is what makes thecheck,stdlib-tests-linuxandmacos-pythonjobs red: the standard-library loop stops at the first failing file, so the rest oftests/has not run in those jobs since the test went stale.The assertion asked for
/STACK:${GTA6RT_STACK}to be the last option in gta6rt'starget_link_optionslist. The line now reads/MAPwas added later: it writesgta6rt.map, whichgta6rt_no_tls_callbacksreads to name the loader's TLS callbacks. The assertion was not widened with it.The sibling assertion for the host base, one test below, never required its option to be last and still passes on the same line. This widens the stack reserve assertion the same way, so the test asks whether gta6rt gets the stack reserve CMake gives it and not whether that reserve is the last option.
What the test still checks, unchanged:
GTA6RT_STACKis at least 8 MiB, CMake gives gta6rt that number,scripts/build_runtime.ps1's cl.exe fallback passes the same number to gta6rt.exe, and that number is the onerun_entrygives the entry thread.Tested
Windows 11, standard library only, no GPU, no build and no game data:
maind48a957bb):python -m pytest tests/test_build_runtime_fallback.py -v-> 10 passed, 1 failed (test_the_loader_gets_the_stack_reserve_cmake_gives_it).ae7a0936):python -m pytest tests/test_build_runtime_fallback.py -q-> 11 passed, 17 subtests passed.python -I tests/test_build_runtime_fallback.py->Ran 11 tests ... OK(the way the CI job runs it).python -I scripts/check_no_game_data.py-> exit 0.The
stdlib-tests-linuxjob onmaind48a957bbfails in this test and in no other; its log stops there, which is why the rest of the standard-library loop has not run in that job since.One more standard-library test is red on
mainfor an unrelated reason:tests/test_docs_repo_paths.py::test_docs_name_existing_paths, which #2552 fixes. The three jobs need both to go green; this pull request is only the one above.GPUs tested: n/a (a test that reads two tracked text files)
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: no translator change)