CI: fix the three tests red on main (CI-F16-INT16-OMOD-REJECT, CI-RUNTIME-STACK-RESERVE, CI-BCPACK-POOL-DEDUPE) #2593

Merged
Bloh09 merged 24 commits from upstream-pr/2593 into main 2026-11-29 12:44:04 +00:00
Bloh09 commented 2026-11-28 22:43:21 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Bloh09 on 2026-11-28T22:43:21Z.


Claimed in the coordination issue as: CI-F16-INT16-OMOD-REJECT, CI-RUNTIME-STACK-RESERVE, CI-BCPACK-POOL-DEDUPE (https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7246809733, https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7246809962, https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7246810178)

What and why

Three tests are red on main. Combined because they share no code, only the same CI breakage.

  • CI-F16-INT16-OMOD-REJECT: test_f16_to_int16_output_modifiers_still_rejected still expected Unsupported after 3cc3c6c2e started accepting clamp and mul:/div: on v_cvt_{u16,i16}_f16 as the RDNA2 no-ops. The test now asserts the result is unchanged and still refuses mul:8 and any modifier on _e32.
  • CI-RUNTIME-STACK-RESERVE: /MAP was added after /STACK:${GTA6RT_STACK} in the gta6rt link options, so the test could no longer find the reserve. /STACK is last again; the loader already had the reserve.
  • CI-BCPACK-POOL-DEDUPE: the macOS job failed test_resolve_pools_deduplicates_macos_case_and_accents_and_keeps_case_sensitive (1 != 2) because the test fakes a case-sensitive volume but the real scratch-folder probe still sees the Mac's case-insensitive disk. The test now stubs that probe; the dedupe code is unchanged.

Also red on main or its CI runners, added after CI on this PR showed them (all test or fixture fixes, no product code except one portable-bash line):

  • CI-MAKEGAME-INDEX-SHAPE-MESSAGE: make_game's index-shape error.

  • CI-REPO-CLONE-ADDRESS: the README clone sentence so the preflight test finds the command (the make_game hint and dashboard default already landed on main in #2550).

  • CI-SAMPLER-CENSUS-LSHL-FIXTURE, CI-METAL-SET0-TESTS: fixtures follow the current encoding and messages.

  • Dropped CI-STDOUT-GUARD-NEW-TOOLS: the same four errors=replace guards landed on main in #2590.

  • CI-BOOT-JOURNAL-SHORT-PATH: compares long paths on Windows (8.3 temp dirs).

  • CI-WINE-SAFETY-XDPYINFO-STUB, CI-RUN-GAME-WINE-BASH3: no host xdpyinfo needed; the device match no longer uses ${x,,} (macOS bash 3.2).

  • CI-DOCS-PS1-PARAM-ATTRIBUTE, CI-README-REWRITE-LINKS: the ps1 parser keeps = inside an attribute; docs follow the README rewrite.

  • CI-PIPELINE-WORKERS-DEQUE-OOM, CI-XS-PROXY-TICK-CLOCK: runtime tests no longer depend on libstdc++ deque preallocation or the 15.6 ms Windows tick.

  • CI-BINDLESS-DIMENSIONS-SMALL-DEVICE, CI-IMGATOMIC-EXT-VOLUME-TAG: a tiny device skips instead of failing; the fixture uses the volume T# words.

  • CI-PSIN-DIALOGUE-SIBLING-PATH: psin_dialogue.py puts the tools directory on sys.path before importing psin_data (python -I). This was already red on main.

  • CI-D3D12-GUID-SITES-GDK-COUNT: after #487 the guid-sites tool also loads the GDK JSON, so the error-reporting test no longer requires the count to be exactly 1. This was already red on main.

Still red: macOS runtime ps_exp_f32_denorm_rt (the runner's GPU returns exp2(-125) two ulps low; needs a device to chase).

Skipped: the no-op behavior itself is from the earlier hardware measurement, not re-measured here.

Tested

Tested on Linux, no game files: the three failing tests, tests/test_report_paths.py, scripts/run_semantic_tests.py tests/semantic (522 files, 0 failed), and scripts/check_no_game_data.py.

GPUs tested: n/a

Credit: the stdout guard, make_game index message and sampler census fixture fixes match @Tauwni's earlier fork branches (https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7239812627).

AI-assisted: yes (Grok Bot), reviewed by me.

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.
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5545301887 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2593). Originally posted by [Bloh09](https://github.com/Bloh09) on 2026-11-28T22:43:21Z. --- Claimed in the coordination issue as: CI-F16-INT16-OMOD-REJECT, CI-RUNTIME-STACK-RESERVE, CI-BCPACK-POOL-DEDUPE (https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7246809733, https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7246809962, https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7246810178) ### What and why Three tests are red on main. Combined because they share no code, only the same CI breakage. - CI-F16-INT16-OMOD-REJECT: `test_f16_to_int16_output_modifiers_still_rejected` still expected `Unsupported` after 3cc3c6c2e started accepting clamp and mul:/div: on `v_cvt_{u16,i16}_f16` as the RDNA2 no-ops. The test now asserts the result is unchanged and still refuses `mul:8` and any modifier on `_e32`. - CI-RUNTIME-STACK-RESERVE: `/MAP` was added after `/STACK:${GTA6RT_STACK}` in the gta6rt link options, so the test could no longer find the reserve. `/STACK` is last again; the loader already had the reserve. - CI-BCPACK-POOL-DEDUPE: the macOS job failed `test_resolve_pools_deduplicates_macos_case_and_accents_and_keeps_case_sensitive` (1 != 2) because the test fakes a case-sensitive volume but the real scratch-folder probe still sees the Mac's case-insensitive disk. The test now stubs that probe; the dedupe code is unchanged. Also red on main or its CI runners, added after CI on this PR showed them (all test or fixture fixes, no product code except one portable-bash line): - CI-MAKEGAME-INDEX-SHAPE-MESSAGE: make_game's index-shape error. - CI-REPO-CLONE-ADDRESS: the README clone sentence so the preflight test finds the command (the make_game hint and dashboard default already landed on main in #2550). - CI-SAMPLER-CENSUS-LSHL-FIXTURE, CI-METAL-SET0-TESTS: fixtures follow the current encoding and messages. - Dropped CI-STDOUT-GUARD-NEW-TOOLS: the same four errors=replace guards landed on main in #2590. - CI-BOOT-JOURNAL-SHORT-PATH: compares long paths on Windows (8.3 temp dirs). - CI-WINE-SAFETY-XDPYINFO-STUB, CI-RUN-GAME-WINE-BASH3: no host xdpyinfo needed; the device match no longer uses `${x,,}` (macOS bash 3.2). - CI-DOCS-PS1-PARAM-ATTRIBUTE, CI-README-REWRITE-LINKS: the ps1 parser keeps `=` inside an attribute; docs follow the README rewrite. - CI-PIPELINE-WORKERS-DEQUE-OOM, CI-XS-PROXY-TICK-CLOCK: runtime tests no longer depend on libstdc++ deque preallocation or the 15.6 ms Windows tick. - CI-BINDLESS-DIMENSIONS-SMALL-DEVICE, CI-IMGATOMIC-EXT-VOLUME-TAG: a tiny device skips instead of failing; the fixture uses the volume T# words. - CI-PSIN-DIALOGUE-SIBLING-PATH: `psin_dialogue.py` puts the tools directory on sys.path before importing `psin_data` (`python -I`). This was already red on main. - CI-D3D12-GUID-SITES-GDK-COUNT: after #487 the guid-sites tool also loads the GDK JSON, so the error-reporting test no longer requires the count to be exactly 1. This was already red on main. Still red: macOS runtime `ps_exp_f32_denorm_rt` (the runner's GPU returns exp2(-125) two ulps low; needs a device to chase). Skipped: the no-op behavior itself is from the earlier hardware measurement, not re-measured here. ### Tested Tested on Linux, no game files: the three failing tests, `tests/test_report_paths.py`, `scripts/run_semantic_tests.py tests/semantic` (522 files, 0 failed), and `scripts/check_no_game_data.py`. GPUs tested: n/a Credit: the stdout guard, make_game index message and sampler census fixture fixes match @Tauwni's earlier fork branches (https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7239812627). AI-assisted: yes (Grok Bot), reviewed by me. ### 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. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed.
aegish-zagi commented 2026-11-28 22:46:18 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by aegish-zagi on 2026-11-28T22:46:18Z.


#2593 | head aa82feb6be (based on current main adfb3821a; git merge-tree --write-tree vs main rc=0, head already contains main) | python -m unittest discover -s tests/semantic -p test_valu_cvt_f16_int16_mods.py, python -I tests/test_build_runtime_fallback.py, python -I tests/test_bcpack_history_calib.py, plus python -I tests/test_ci_registration.py (18 OK) and scripts/check_no_game_data.py on the 4 changed files (rc=0) | red on main: semantic FAILED (failures=2, "Unsupported not raised" for v_cvt_u16_f16 / v_cvt_i16_f16 clamp) and test_build_runtime_fallback FAILED (failures=1, skipped=1, loader stack-reserve line) | green on PR: semantic 5 tests OK, build-runtime-fallback 11 OK (skipped=1), bcpack OK | Linux (Ubuntu, kernel 6.x), Python 3.12.3 | AI-assisted: yes

Diff audit (4 files, +29/-6): CMakeLists moves /STACK:${GTA6RT_STACK} last on the gta6rt link line with an explanatory comment — no value change. The f16 fix is test-side plus one comment line in tools/rdna2spirv.py: the translator already accepted clamp/omod as RDNA2 no-ops, the old test expected rejection; the new tests assert the no-op results (incl. SDWA clamp) and keep rejection for unknown forms (mul:8, _e32 clamp). The bcpack fix mocks _same_resolved_name in the darwin helper so the real scratch-volume probe no longer overrides the mocked case-sensitive volume.

Honest scope note: the bcpack red is macOS-specific — on this Linux box test_bcpack_history_calib.py passes on bare main too (23 tests OK), so I could not reproduce that one red here; the mock change reads correctly for the macOS failure mode described in the claim, but a macOS runner is the confirming platform for that third item. The other two reds reproduced and fixed exactly as claimed.

Verdict: holds up — mergeable as far as Linux/Profile Z can judge, with the bcpack item's confirmation resting on macOS CI.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7246969210 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2593#issuecomment-7246969210). Originally posted by [aegish-zagi](https://github.com/aegish-zagi) on 2026-11-28T22:46:18Z. --- #2593 | head aa82feb6bed888a1de86d9ae22855169786dc10e (based on current main adfb3821a; `git merge-tree --write-tree` vs main rc=0, head already contains main) | `python -m unittest discover -s tests/semantic -p test_valu_cvt_f16_int16_mods.py`, `python -I tests/test_build_runtime_fallback.py`, `python -I tests/test_bcpack_history_calib.py`, plus `python -I tests/test_ci_registration.py` (18 OK) and `scripts/check_no_game_data.py` on the 4 changed files (rc=0) | red on main: semantic FAILED (failures=2, "Unsupported not raised" for v_cvt_u16_f16 / v_cvt_i16_f16 clamp) and test_build_runtime_fallback FAILED (failures=1, skipped=1, loader stack-reserve line) | green on PR: semantic 5 tests OK, build-runtime-fallback 11 OK (skipped=1), bcpack OK | Linux (Ubuntu, kernel 6.x), Python 3.12.3 | AI-assisted: yes Diff audit (4 files, +29/-6): CMakeLists moves `/STACK:${GTA6RT_STACK}` last on the gta6rt link line with an explanatory comment — no value change. The f16 fix is test-side plus one comment line in `tools/rdna2spirv.py`: the translator already accepted clamp/omod as RDNA2 no-ops, the old test expected rejection; the new tests assert the no-op results (incl. SDWA clamp) and keep rejection for unknown forms (mul:8, _e32 clamp). The bcpack fix mocks `_same_resolved_name` in the darwin helper so the real scratch-volume probe no longer overrides the mocked case-sensitive volume. Honest scope note: the bcpack red is macOS-specific — on this Linux box `test_bcpack_history_calib.py` passes on bare main too (23 tests OK), so I could not reproduce that one red here; the mock change reads correctly for the macOS failure mode described in the claim, but a macOS runner is the confirming platform for that third item. The other two reds reproduced and fixed exactly as claimed. Verdict: holds up — mergeable as far as Linux/Profile Z can judge, with the bcpack item's confirmation resting on macOS CI.
merzleckeier commented 2026-11-28 23:42:39 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-11-28T23:42:39Z.


Independent CachyOS check of c7f8dab06 merged into a9e247cd6 (Python 3.14.10, GCC/libstdc++ 16.2.1). All inputs were synthetic.

  • The full semantic suite had one failing file on main (the two f16-to-int16 clamp subtests, 6,484 tests total). The merge passed all 6,485 tests across 522 files. pipeline_workers also went red to green under CTest, as did the Wine display stub, sampler census, SPIR-V CLI/extra and stdout-guard suites.
  • On RTX 4070 SUPER (620.73.04) and Radeon 610M (RADV 26.3.1), cs_imgatomic_ext went from six incorrect SINT readback words on main to all 192 words matching. vk_bindless_dimensions read all 5,000 texels per dimension on both GPUs. With just the reported aggregate resource limit set to 8,192 in a local test build, the 1D array sized to 256 and main failed its capacity assertion. The merge returned the expected CTest skip code 77.

Two suites still have one failure each on this merge. The rewritten README uses plain git clone for D3D12. test_ensure_submodule_names_the_clone_command_the_readme_gives and test_default_repo_is_the_one_the_readme_clones still require the exact git clone --recursive line (the former was also noted in #2596). I tested making --recursive optional in those README assertions while continuing to compare the exact escaped repository URL. Both suites then passed (109 run with one skip, and 65 passed). Focused controls also accepted the recursive form and rejected a different repository. The make_game missing-submodule hint itself still uses --recursive.

AI-assisted with Codex.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7247611759 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2593#issuecomment-7247611759). Originally posted by [merzleckeier](https://github.com/merzleckeier) on 2026-11-28T23:42:39Z. --- Independent CachyOS check of `c7f8dab06` merged into `a9e247cd6` (Python 3.14.10, GCC/libstdc++ 16.2.1). All inputs were synthetic. - The full semantic suite had one failing file on main (the two f16-to-int16 clamp subtests, 6,484 tests total). The merge passed all 6,485 tests across 522 files. `pipeline_workers` also went red to green under CTest, as did the Wine display stub, sampler census, SPIR-V CLI/extra and stdout-guard suites. - On RTX 4070 SUPER (620.73.04) and Radeon 610M (RADV 26.3.1), `cs_imgatomic_ext` went from six incorrect SINT readback words on main to all 192 words matching. `vk_bindless_dimensions` read all 5,000 texels per dimension on both GPUs. With just the reported aggregate resource limit set to 8,192 in a local test build, the 1D array sized to 256 and main failed its capacity assertion. The merge returned the expected CTest skip code 77. Two suites still have one failure each on this merge. The [rewritten README](https://github.com/ProjectLeonida/mandy/blob/a9e247cd6925b7e4dd1c998047dcbc1861fb9153/README.md#starting-it) uses plain `git clone` for D3D12. `test_ensure_submodule_names_the_clone_command_the_readme_gives` and `test_default_repo_is_the_one_the_readme_clones` still require the exact `git clone --recursive` line (the former was also noted in #2596). I tested making `--recursive` optional in those README assertions while continuing to compare the exact escaped repository URL. Both suites then passed (109 run with one skip, and 65 passed). Focused controls also accepted the recursive form and rejected a different repository. The make_game missing-submodule hint itself still uses `--recursive`. AI-assisted with Codex.
Bloh09 commented 2026-11-29 00:34:49 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Bloh09 on 2026-11-29T00:34:49Z.


Went the other way: 97b3e9d puts the git clone --recursive line back in the READMEs, so both tests pass as-is (stdlib-tests-linux is green on 9dde957).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7248210317 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2593#issuecomment-7248210317). Originally posted by [Bloh09](https://github.com/Bloh09) on 2026-11-29T00:34:49Z. --- Went the other way: 97b3e9d puts the `git clone --recursive` line back in the READMEs, so both tests pass as-is (stdlib-tests-linux is green on 9dde957).
zmasi commented 2026-11-29 00:47:11 +00:00 (Migrated from github.com)

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


#2593 | head 9dde9578d0 (merged cleanly onto origin/main e66c65b950) | Windows 11 (10.0.26200.9974), MSVC 19.44.35228.0, PowerShell, Python 3.12.10 | AI-assisted: yes

Independent Verification (Windows 11 + PowerShell + MSVC)

  • Diff & safety audit: Inspected 100% of the 22-file diff at head 9dde9578d09a2c410d26f6e77bdff6c5e957af55. python -I scripts/check_no_game_data.py passed across all touched files (rc=0).
  • Red -> Green on Windows 11 (origin/main e66c65b950 vs #2593 + origin/main):
    • Red reproduced on origin/main (e66c65b950):
      • python -I tests/test_docs_links.py -> FAILED (failures=1) (#project-status and #running-the-loader-on-linux anchors)
      • python -I tests/test_docs_cli_flags.py -> FAILED (failures=1) (extract_ps1_params splitting inside [Parameter(Mandatory = $true)])
      • python -I tests/test_build_runtime_fallback.py -> FAILED (failures=1) (/STACK:${GTA6RT_STACK} not at end of target_link_options line)
      • python -I tests/test_tool_stdout_encoding.py -> FAILED (failures=1) (__main__ sys.stdout.reconfigure(errors="replace") missing in 4 scripts/tools)
      • python -I tests/semantic/test_valu_cvt_f16_int16_mods.py -> FAILED (failures=2)
    • Green on #2593 + origin/main (404 Python / PowerShell / semantic tests + 3 MSVC CTest binaries all OK):
      • python -I tests/test_docs_links.py -> 17/17 OK
      • python -I tests/test_docs_cli_flags.py -> 4/4 OK
      • python -I tests/test_make_game_preflight.py -> 109 ran, OK (skipped=2)
      • python -I tests/test_progress_dashboard.py -> 65/65 OK
      • python -I tests/test_build_runtime_fallback.py -> 11/11 OK
      • python -I tests/test_tool_stdout_encoding.py -> 4/4 OK
      • python -I tests/semantic/test_valu_cvt_f16_int16_mods.py -> 5/5 OK
      • python -I tests/test_bcpack_history_calib.py -> 23 ran, OK (skipped=1)
      • python -I tests/test_sampler_source_census.py -> 30/30 OK
      • python -I tests/test_spirv_metal_set0_cli_errors.py (7/7 OK) & tests/test_spirv_metal_set0_extra.py (24/24 OK)
      • python -I tests/test_windows_boot_journal_seed.py -> 17/17 OK (native Windows PowerShell boot.ps1 suite with os.path.realpath 8.3 short-name normalization)
      • python -I tests/test_shader_checks.py -> 88/88 OK
      • MSVC 19.44.35228.0 (RelWithDebInfo, CMake + Ninja): built and executed pipeline_workers_test.exe (rc=0), d3d12_compile_pool_test.exe (rc=0), and xs_proxy_mock_test.exe (rc=0, verifying check_list_values steady_clock timing).
<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7248348968 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2593#issuecomment-7248348968). Originally posted by [zmasi](https://github.com/zmasi) on 2026-11-29T00:47:11Z. --- #2593 | head 9dde9578d09a2c410d26f6e77bdff6c5e957af55 (merged cleanly onto origin/main e66c65b950) | Windows 11 (10.0.26200.9974), MSVC 19.44.35228.0, PowerShell, Python 3.12.10 | AI-assisted: yes ### Independent Verification (Windows 11 + PowerShell + MSVC) - **Diff & safety audit**: Inspected 100% of the 22-file diff at head `9dde9578d09a2c410d26f6e77bdff6c5e957af55`. `python -I scripts/check_no_game_data.py` passed across all touched files (`rc=0`). - **Red -> Green on Windows 11 (`origin/main` `e66c65b950` vs `#2593 + origin/main`)**: - **Red reproduced on `origin/main` (`e66c65b950`)**: - `python -I tests/test_docs_links.py` -> `FAILED (failures=1)` (`#project-status` and `#running-the-loader-on-linux` anchors) - `python -I tests/test_docs_cli_flags.py` -> `FAILED (failures=1)` (`extract_ps1_params` splitting inside `[Parameter(Mandatory = $true)]`) - `python -I tests/test_build_runtime_fallback.py` -> `FAILED (failures=1)` (`/STACK:${GTA6RT_STACK}` not at end of `target_link_options` line) - `python -I tests/test_tool_stdout_encoding.py` -> `FAILED (failures=1)` (`__main__` `sys.stdout.reconfigure(errors="replace")` missing in 4 scripts/tools) - `python -I tests/semantic/test_valu_cvt_f16_int16_mods.py` -> `FAILED (failures=2)` - **Green on `#2593 + origin/main` (`404` Python / PowerShell / semantic tests + `3` MSVC CTest binaries all `OK`)**: - `python -I tests/test_docs_links.py` -> `17/17 OK` - `python -I tests/test_docs_cli_flags.py` -> `4/4 OK` - `python -I tests/test_make_game_preflight.py` -> `109 ran, OK (skipped=2)` - `python -I tests/test_progress_dashboard.py` -> `65/65 OK` - `python -I tests/test_build_runtime_fallback.py` -> `11/11 OK` - `python -I tests/test_tool_stdout_encoding.py` -> `4/4 OK` - `python -I tests/semantic/test_valu_cvt_f16_int16_mods.py` -> `5/5 OK` - `python -I tests/test_bcpack_history_calib.py` -> `23 ran, OK (skipped=1)` - `python -I tests/test_sampler_source_census.py` -> `30/30 OK` - `python -I tests/test_spirv_metal_set0_cli_errors.py` (`7/7 OK`) & `tests/test_spirv_metal_set0_extra.py` (`24/24 OK`) - `python -I tests/test_windows_boot_journal_seed.py` -> **`17/17 OK`** (native Windows PowerShell `boot.ps1` suite with `os.path.realpath` 8.3 short-name normalization) - `python -I tests/test_shader_checks.py` -> `88/88 OK` - **MSVC `19.44.35228.0` (`RelWithDebInfo`, CMake + Ninja)**: built and executed `pipeline_workers_test.exe` (`rc=0`), `d3d12_compile_pool_test.exe` (`rc=0`), and `xs_proxy_mock_test.exe` (`rc=0`, verifying `check_list_values` `steady_clock` timing).
Bloh09 commented 2026-11-29 01:32:54 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Bloh09 on 2026-11-29T01:32:54Z.


Rebased on main (bbbdba8). Dropped the compile-pool checkpoint commit, #2510 already fixed that race on main.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7248854448 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2593#issuecomment-7248854448). Originally posted by [Bloh09](https://github.com/Bloh09) on 2026-11-29T01:32:54Z. --- Rebased on main (bbbdba8). Dropped the compile-pool checkpoint commit, #2510 already fixed that race on main.
lixonik commented 2026-11-29 02:06:13 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by lixonik on 2026-11-29T02:06:13Z.


Retested head bbbdba8c4b2824cda9a5329c3d455ec3ce655e46 merged cleanly into current main 791899f65202e4385523795902637336fc9d0cb6 on native Windows 10 (19045), CPython 3.12.1, synthetic tests only.

  • Ten files went from red to green: f16-to-int16 output modifiers, runtime build fallback, docs CLI flags, docs links, make_game preflight, stdout encoding, BCPack history calibration, sampler source census and SPIR-V Metal set-0 CLI errors and extra suites.
  • Windows boot journal seed passed all 17 tests on both trees. The BCPack case-sensitive fixture failed with 1 instead of 2 on this Windows host too, then passed with this PR.
  • In test_progress_dashboard.py, the clone-URL assertion now passes. Two pre-existing subtests still fail on both trees under CPython 3.12.1: with one skipped test the dashboard counts 1 instead of 2, and with both skipped it reports failure for NO TESTS RAN (skipped=2).
  • check_no_game_data.py passed on the changed files. No GPU tests or macOS checks in this run.

AI-assisted. Codex (GPT-6).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7249211390 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2593#issuecomment-7249211390). Originally posted by [lixonik](https://github.com/lixonik) on 2026-11-29T02:06:13Z. --- Retested head `bbbdba8c4b2824cda9a5329c3d455ec3ce655e46` merged cleanly into current `main` `791899f65202e4385523795902637336fc9d0cb6` on native Windows 10 (19045), CPython 3.12.1, synthetic tests only. - Ten files went from red to green: f16-to-int16 output modifiers, runtime build fallback, docs CLI flags, docs links, make_game preflight, stdout encoding, BCPack history calibration, sampler source census and SPIR-V Metal set-0 CLI errors and extra suites. - Windows boot journal seed passed all 17 tests on both trees. The BCPack case-sensitive fixture failed with 1 instead of 2 on this Windows host too, then passed with this PR. - In `test_progress_dashboard.py`, the clone-URL assertion now passes. Two pre-existing subtests still fail on both trees under CPython 3.12.1: with one skipped test the dashboard counts 1 instead of 2, and with both skipped it reports failure for `NO TESTS RAN (skipped=2)`. - `check_no_game_data.py` passed on the changed files. No GPU tests or macOS checks in this run. AI-assisted. Codex (GPT-6).
lixonik commented 2026-11-29 02:53:28 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by lixonik on 2026-11-29T02:53:28Z.


Checked the two new changes at f6cbdb93854dc9b9b04252ba48925c846b5489ad against main c8bf0e7b65, Windows 10 and CPython 3.12.1.

  • python -I tools/psin_dialogue.py --help exits 1 on main with ModuleNotFoundError: psin_data; it exits 0 on the merge.
  • test_d3d12_guid_tools_errors.py has one failure on main and passes all four tests on the merge.

Synthetic inputs only.

AI-assisted. Codex (GPT-6).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7249710330 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2593#issuecomment-7249710330). Originally posted by [lixonik](https://github.com/lixonik) on 2026-11-29T02:53:28Z. --- Checked the two new changes at `f6cbdb93854dc9b9b04252ba48925c846b5489ad` against `main` `c8bf0e7b65`, Windows 10 and CPython 3.12.1. - `python -I tools/psin_dialogue.py --help` exits 1 on main with `ModuleNotFoundError: psin_data`; it exits 0 on the merge. - `test_d3d12_guid_tools_errors.py` has one failure on main and passes all four tests on the merge. Synthetic inputs only. AI-assisted. Codex (GPT-6).
TheGeogeo commented 2026-11-29 02:58:14 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by TheGeogeo on 2026-11-29T02:58:14Z.


Tested f6cbdb938 (the rebased head) merged (no commit) with main c8bf0e7b6. GPUs tested: NVIDIA GeForce RTX 3080, driver 621.40, Windows 11 10.0.26300; Python 3.12.4; MSVC 19.52 (Visual Studio 18), Ninja, RelWithDebInfo. check_no_game_data.py is clean. The merge is clean.

The three named tests are red on main c8bf0e7b6 and green with this PR:

  • tests/semantic/test_valu_cvt_f16_int16_mods.py: 2 failures on main, OK on the merge (the fix is in the test).
  • tests/test_bcpack_history_calib.py: 1 failure on main (1 != 2), OK on the merge (the fix is in the test).
  • tests/test_build_runtime_fallback.py: test_the_loader_gets_the_stack_reserve_cmake_gives_it fails on main and passes on the merge. It goes red again with runtime/CMakeLists.txt back to main, so the /STACK-last change is the real fix.

The other touched Python tests:

  • 6 fail on plain main and pass on the merge, all test-side fixes: test_guid_tools_errors, test_docs_cli_flags, test_sampler_source_census, test_spirv_metal_set0_cli_errors, test_spirv_metal_set0_extra, test_windows_boot_journal_seed.
  • The tests of the changed tools: test_progress_dashboard and test_docs_links fail on main and pass on the merge; 7 others pass on both.
  • Not run here: test_make_game_preflight.py, test_run_game_wine_safety.py and test_ci_registration.py, because they start bash.

C++:

  • The build is clean. The touched tests (pipeline_workers and the 10 xs_proxy_mock* cases) pass, and so do the 38 other tests of the 14 relinked executables. Those C++ test fixes target other toolchains (libstdc++, MoltenVK), so they pass on main here too.
  • LINK: gta6rt.exe linked without ws2_32.lib gives the same 26 unresolved Rust-std symbols as main, nothing new.

Notes, not blockers:

  • The earlier conflict is gone: the rebased head no longer carries the d3d12_compile_pool_test.cpp commit, which #2510 covers on main. The description still lists CI-COMPILE-POOL-CHECKPOINT-RACE, so that line is stale now.
  • The branch has 19 commits. The body lists the extra CI fixes, but the title names only three items.
  • CI-PSIN-DIALOGUE-SIBLING-PATH: test_psin_dialogue passes on main too, so no test here fails without that fix.
  • The tools/rdna2spirv.py change is a comment only.

No blocker from my side. AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7249758768 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2593#issuecomment-7249758768). Originally posted by [TheGeogeo](https://github.com/TheGeogeo) on 2026-11-29T02:58:14Z. --- Tested `f6cbdb938` (the rebased head) merged (no commit) with `main` `c8bf0e7b6`. GPUs tested: NVIDIA GeForce RTX 3080, driver 621.40, Windows 11 10.0.26300; Python 3.12.4; MSVC 19.52 (Visual Studio 18), Ninja, RelWithDebInfo. `check_no_game_data.py` is clean. The merge is clean. The three named tests are red on `main` `c8bf0e7b6` and green with this PR: - `tests/semantic/test_valu_cvt_f16_int16_mods.py`: 2 failures on `main`, OK on the merge (the fix is in the test). - `tests/test_bcpack_history_calib.py`: 1 failure on `main` (`1 != 2`), OK on the merge (the fix is in the test). - `tests/test_build_runtime_fallback.py`: `test_the_loader_gets_the_stack_reserve_cmake_gives_it` fails on `main` and passes on the merge. It goes red again with `runtime/CMakeLists.txt` back to `main`, so the `/STACK`-last change is the real fix. The other touched Python tests: - 6 fail on plain `main` and pass on the merge, all test-side fixes: `test_guid_tools_errors`, `test_docs_cli_flags`, `test_sampler_source_census`, `test_spirv_metal_set0_cli_errors`, `test_spirv_metal_set0_extra`, `test_windows_boot_journal_seed`. - The tests of the changed tools: `test_progress_dashboard` and `test_docs_links` fail on `main` and pass on the merge; 7 others pass on both. - Not run here: `test_make_game_preflight.py`, `test_run_game_wine_safety.py` and `test_ci_registration.py`, because they start `bash`. C++: - The build is clean. The touched tests (`pipeline_workers` and the 10 `xs_proxy_mock*` cases) pass, and so do the 38 other tests of the 14 relinked executables. Those C++ test fixes target other toolchains (libstdc++, MoltenVK), so they pass on `main` here too. - LINK: `gta6rt.exe` linked without `ws2_32.lib` gives the same 26 unresolved Rust-std symbols as `main`, nothing new. Notes, not blockers: - The earlier conflict is gone: the rebased head no longer carries the `d3d12_compile_pool_test.cpp` commit, which #2510 covers on `main`. The description still lists CI-COMPILE-POOL-CHECKPOINT-RACE, so that line is stale now. - The branch has 19 commits. The body lists the extra CI fixes, but the title names only three items. - CI-PSIN-DIALOGUE-SIBLING-PATH: `test_psin_dialogue` passes on `main` too, so no test here fails without that fix. - The `tools/rdna2spirv.py` change is a comment only. No blocker from my side. AI-assisted (Claude Code).
Tauwni commented 2026-11-29 03:17:13 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Tauwni on 2026-11-29T03:17:13Z.


macOS complement (Apple M3, CPython 3.13, python -I), MEASURED, 3 runs: main e66c65b9 + head f6cbdb938 (merges cleanly). All of these pass 3/3: test_make_game_pipelines, test_sampler_source_census, test_spirv_metal_set0_extra, test_spirv_metal_set0_cli_errors, test_tool_stdout_encoding, test_bcpack_history_calib, test_build_runtime_fallback, tests/semantic/test_valu_cvt_f16_int16_mods. Not checked by a second agent or human yet.

Side note: three of these fixes (stdout guard, make_game index message, sampler census fixture) match the lines on my fork branches listed in https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7239812627 (also the ${x,,} line I reported on #2332). (Edited: I first wrote "four"; it is three.) A mention in the description would be appreciated, if you are fine with it. I will drop those branches once this lands.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7249955521 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2593#issuecomment-7249955521). Originally posted by [Tauwni](https://github.com/Tauwni) on 2026-11-29T03:17:13Z. --- macOS complement (Apple M3, CPython 3.13, `python -I`), MEASURED, 3 runs: `main` `e66c65b9` + head `f6cbdb938` (merges cleanly). All of these pass 3/3: `test_make_game_pipelines`, `test_sampler_source_census`, `test_spirv_metal_set0_extra`, `test_spirv_metal_set0_cli_errors`, `test_tool_stdout_encoding`, `test_bcpack_history_calib`, `test_build_runtime_fallback`, `tests/semantic/test_valu_cvt_f16_int16_mods`. Not checked by a second agent or human yet. Side note: three of these fixes (stdout guard, make_game index message, sampler census fixture) match the lines on my fork branches listed in https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7239812627 (also the `${x,,}` line I reported on #2332). (Edited: I first wrote "four"; it is three.) A mention in the description would be appreciated, if you are fine with it. I will drop those branches once this lands.
kirigayakazima commented 2026-11-29 03:18:55 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by kirigayakazima on 2026-11-29T03:18:55Z.


Independent Windows check of f6cbdb938 merged locally with main c8bf0e7b6. On main the f16/int16 semantic module reported two failing subcases; on the merge all five tests passed. test_build_runtime_fallback.py went from one failure to all eleven passing, and test_bcpack_history_calib.py likewise went from a failure to passing. Focused CPU tests only. AI-assisted with OpenAI Codex (GPT-6).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7249972754 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2593#issuecomment-7249972754). Originally posted by [kirigayakazima](https://github.com/kirigayakazima) on 2026-11-29T03:18:55Z. --- Independent Windows check of f6cbdb938 merged locally with main c8bf0e7b6. On main the f16/int16 semantic module reported two failing subcases; on the merge all five tests passed. test_build_runtime_fallback.py went from one failure to all eleven passing, and test_bcpack_history_calib.py likewise went from a failure to passing. Focused CPU tests only. AI-assisted with OpenAI Codex (GPT-6).
EvgHaze commented 2026-11-29 03:28:54 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by EvgHaze on 2026-11-29T03:28:54Z.


Apple check — M3 (macOS 27.0), MoltenVK 1.4.2 + KosmicKrisp (Mesa 26.3.1), head f6cbdb938.

Machine:  Apple M3 (Mac15,13), 8 cores
OS:       macOS 27.0 (26A5406e), arm64
Drivers:  MoltenVK 1.4.2, Mesa 26.3.1 (KosmicKrisp)
Commit:   f6cbdb938 tests: the guid-sites header count allows the GDK JSON the tool also loads
Tools:    llvm-mc 23.1.6, spirv-val 2026.4, cmake 4.4.4, python 3.13.7

Build:    ok
Semantic: 526 files, 6507 tests, 0 files failed in 194 s with 8 jobs
GPU:      MoltenVK   201/274 passed, 72 skipped
          KosmicKrisp 194/274 passed, 75 skipped

Both red tests this PR claims are green on this machine:

  • CI-F16-INT16-OMOD-REJECT: test_valu_cvt_f16_int16_mods passes (4 tests). On main fcbe97b9a the same file fails with two failures. The first failing merge on main was b79595ecc (#435, "accept VOP3 clamp/omod as hardware no-op on v_cvt_{i16,u16}_f16"), which updated the translator and test_alu_cvt_16.py but not this older file, which still expected Unsupported for those ops — found by git bisect over 5b6ffd5a8..fcbe97b9a.
  • cs_imgatomic_ext: no longer fails on either driver; it failed on both on main.

Only ps_ssharp remains failing on MoltenVK, which is #1774's case, not this change. CI-RUNTIME-STACK-RESERVE is not a GPU test, so this run does not cover it.

AI-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7250073047 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2593#issuecomment-7250073047). Originally posted by [EvgHaze](https://github.com/EvgHaze) on 2026-11-29T03:28:54Z. --- Apple check — M3 (macOS 27.0), MoltenVK 1.4.2 + KosmicKrisp (Mesa 26.3.1), head `f6cbdb938`. ```text Machine: Apple M3 (Mac15,13), 8 cores OS: macOS 27.0 (26A5406e), arm64 Drivers: MoltenVK 1.4.2, Mesa 26.3.1 (KosmicKrisp) Commit: f6cbdb938 tests: the guid-sites header count allows the GDK JSON the tool also loads Tools: llvm-mc 23.1.6, spirv-val 2026.4, cmake 4.4.4, python 3.13.7 Build: ok Semantic: 526 files, 6507 tests, 0 files failed in 194 s with 8 jobs GPU: MoltenVK 201/274 passed, 72 skipped KosmicKrisp 194/274 passed, 75 skipped ``` Both red tests this PR claims are green on this machine: - **CI-F16-INT16-OMOD-REJECT**: `test_valu_cvt_f16_int16_mods` passes (4 tests). On `main` `fcbe97b9a` the same file fails with two failures. The first failing merge on `main` was `b79595ecc` (#435, "accept VOP3 clamp/omod as hardware no-op on v_cvt_{i16,u16}_f16"), which updated the translator and `test_alu_cvt_16.py` but not this older file, which still expected `Unsupported` for those ops — found by `git bisect` over `5b6ffd5a8..fcbe97b9a`. - **`cs_imgatomic_ext`**: no longer fails on either driver; it failed on both on `main`. Only `ps_ssharp` remains failing on MoltenVK, which is #1774's case, not this change. `CI-RUNTIME-STACK-RESERVE` is not a GPU test, so this run does not cover it. AI-assisted.
Bloh09 commented 2026-11-29 03:31:55 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Bloh09 on 2026-11-29T03:31:55Z.


@Tauwni added a credit line to the description.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7250103653 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2593#issuecomment-7250103653). Originally posted by [Bloh09](https://github.com/Bloh09) on 2026-11-29T03:31:55Z. --- @Tauwni added a credit line to the description.
Bloh09 commented 2026-11-29 03:42:25 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Bloh09 on 2026-11-29T03:42:25Z.


Merged main, resolved conflicts in bench_translate.py, export_old_pr_manifest.py, pc_prompt_glyphs.py and xbox_prompt_glyphs.py; dropped CI-STDOUT-GUARD-NEW-TOOLS (fixed on main by #2590). The make_game hint and dashboard default already landed in #2550.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7250210425 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2593#issuecomment-7250210425). Originally posted by [Bloh09](https://github.com/Bloh09) on 2026-11-29T03:42:25Z. --- Merged main, resolved conflicts in bench_translate.py, export_old_pr_manifest.py, pc_prompt_glyphs.py and xbox_prompt_glyphs.py; dropped CI-STDOUT-GUARD-NEW-TOOLS (fixed on main by #2590). The make_game hint and dashboard default already landed in #2550.
timbot103 commented 2026-11-29 04:27:34 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by timbot103 on 2026-11-29T04:27:34Z.

Review: COMMENTED


I reviewed all 21 changed files at 3fbfcc6f8 against b6bf3aa0b. This was a static audit only, with no builds, tests, or GPU runs. The compile-pool checkpoint synchronization is already present in runtime/test/d3d12_compile_pool_test.cpp.

  • Major — runtime/test/vk_bindless_dimensions_test.cpp:412 skips on the output of the sizing code it exercises. A return to 4,096 1D indices would now skip the whole test even on a device that supports the required layout. Use the Vulkan limits and layout-support query to decide whether to skip, and keep the capacity assertion on supported devices.
  • Minor — runtime/test/pipeline_workers_test.cpp:351 infers enqueue success from the batch counter under test. If an enqueue allocates and fails after the counters have been incremented, the new assertions pass with the wrong totals. Verify the enqueue outcome independently and check that a failed enqueue leaves both counters unchanged.
  • Minor — tests/test_d3d12_guid_tools_errors.py:105 passes with only the bundled GDK GUIDs, even if the valid header entry is silently dropped. Assert the one-entry difference from an empty-header control or check that a reference to the fixture GUID resolves to its interface name.
  • Minor — tests/test_docs_cli_flags.py:132 counts the quoted parenthesis in param([ValidatePattern('^[(]$')][string]$Name = $Fallback), so it reads fallback as the parameter name. Find the default assignment using the existing quote-aware scan and cover this declaration.

AI-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6101397211 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2593#pullrequestreview-6101397211). Originally posted by [timbot103](https://github.com/timbot103) on 2026-11-29T04:27:34Z. **Review:** COMMENTED --- I reviewed all 21 changed files at `3fbfcc6f8` against `b6bf3aa0b`. This was a static audit only, with no builds, tests, or GPU runs. The compile-pool checkpoint synchronization is already present in `runtime/test/d3d12_compile_pool_test.cpp`. - **Major** — `runtime/test/vk_bindless_dimensions_test.cpp:412` skips on the output of the sizing code it exercises. A return to 4,096 1D indices would now skip the whole test even on a device that supports the required layout. Use the Vulkan limits and layout-support query to decide whether to skip, and keep the capacity assertion on supported devices. - **Minor** — `runtime/test/pipeline_workers_test.cpp:351` infers enqueue success from the batch counter under test. If an enqueue allocates and fails after the counters have been incremented, the new assertions pass with the wrong totals. Verify the enqueue outcome independently and check that a failed enqueue leaves both counters unchanged. - **Minor** — `tests/test_d3d12_guid_tools_errors.py:105` passes with only the bundled GDK GUIDs, even if the valid header entry is silently dropped. Assert the one-entry difference from an empty-header control or check that a reference to the fixture GUID resolves to its interface name. - **Minor** — `tests/test_docs_cli_flags.py:132` counts the quoted parenthesis in `param([ValidatePattern('^[(]$')][string]$Name = $Fallback)`, so it reads `fallback` as the parameter name. Find the default assignment using the existing quote-aware scan and cover this declaration. AI-assisted.
Bloh09 commented 2026-11-29 04:42:39 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Bloh09 on 2026-11-29T04:42:39Z.


1: 0e5d2056, skip now comes from the UAB/resource/set limits + layout support, then EXPECTs the sized counts > live_images (ran on llvmpipe, a 4096 1D cap now fails; untested on GPU). 2: 47fcb839, push outcome probed on its own deque, failed push asserts batches/jobs unchanged.
3: b9b42594, empty-header control, asserts exactly +1. 4: 72129f8e, default cut moved into the quote-aware split, ValidatePattern('^[(]$') case added.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7250815483 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2593#issuecomment-7250815483). Originally posted by [Bloh09](https://github.com/Bloh09) on 2026-11-29T04:42:39Z. --- 1: 0e5d2056, skip now comes from the UAB/resource/set limits + layout support, then EXPECTs the sized counts > live_images (ran on llvmpipe, a 4096 1D cap now fails; untested on GPU). 2: 47fcb839, push outcome probed on its own deque, failed push asserts batches/jobs unchanged. 3: b9b42594, empty-header control, asserts exactly +1. 4: 72129f8e, default cut moved into the quote-aware split, ValidatePattern('^[(]$') case added.
OreoFR commented 2026-11-29 07:04:54 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-29T07:04:54Z.


Verified by OreoFR — READY

  • Base: main ef3299584 + this PR (head 72129f8ec) merged with --no-ff
  • Red (main + only this PR's tests): main + only the PR's test files (tests/, runtime/test/). The three claimed fixes, one by one against current main:
    • test_valu_cvt_f16_int16_mods: fails on main (2 subtests), passes red and green. The test change alone fixes it, because the translator already accepts these modifiers as no-ops.
    • test_build_runtime_fallback: fails on main (test_the_loader_gets_the_stack_reserve_cmake_gives_it), still fails red and passes green. The fix is the /STACK order in runtime/CMakeLists.txt.
    • test_bcpack_history_calib: fails on main (the macOS case-dedupe test), passes red and green. The fix is the test stubbing the probe.
    • Also: test_make_game_preflight fails on main and red (the README clone sentence) and passes green. test_d3d12_guid_tools_errors, test_docs_cli_flags, test_sampler_source_census, test_spirv_metal_set0_cli_errors and test_spirv_metal_set0_extra fail on main and pass with the PR's tests. test_run_game_wine_safety and test_windows_boot_journal_seed pass on main too.
  • Green (merge): all 11 touched Python test files pass with python -I. Full translator suite: 529 files, 6526 tests, 1 file fails. Main has 2 failing files: test_valu_cvt_f16_int16_mods, plus test_interp_computed_ij_fallback, which is new on main (an f16 half one ulp off) and identical with and without this PR. ctest (Ninja RelWithDebInfo, all targets, gta6rt launchers excluded) on main + this PR alone: 497 tests, new failures vs main: none (main alone: 497 tests, 1 failure: xbox_present, which fails here too). The changed pipeline_workers, xs_proxy_mock, vk_bindless_dimensions and vk_bindless_ps_imgatomic pass, as they already do on main on this machine.
  • gta6rt.exe links without the XMA decoder (LEONIDA_CARGO=OFF, LEONIDA_XMA2_DECODER_LIB empty), main + this PR; imports unchanged vs main (655 functions, no new DLL, no WS2_32)
  • Diff read: docs/design.md:515 is still stale at this head. It says clamp and the output multipliers on v_cvt_u16_f16/v_cvt_i16_f16 are rejected as Unsupported, which contradicts the updated tools/rdna2spirv.py comment and test (hardware no-ops). The other changes are justified: the C++ test changes probe the condition instead of assuming it (pipeline_workers, bindless limits), and the steady_clock change removes the 15.6 ms tick dependence.
  • Other runs: Matches my run on f6cbdb938 and TheGeogeo's and kirigayakazima's runs on that head.
  • Machine: Windows 11, Intel Core Ultra 7 155H, RTX 4070 Laptop 8 GB, NVIDIA 621.40, Python 3.12.10, MSVC 19.44

AI-assisted (Claude Code, Claude Opus 5.5), run for OreoFR.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7252248379 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2593#issuecomment-7252248379). Originally posted by [OreoFR](https://github.com/OreoFR) on 2026-11-29T07:04:54Z. --- **Verified by OreoFR** — READY - Base: main ef3299584 + this PR (head 72129f8ec) merged with --no-ff - Red (main + only this PR's tests): main + only the PR's test files (`tests/`, `runtime/test/`). The three claimed fixes, one by one against current main: - `test_valu_cvt_f16_int16_mods`: fails on main (2 subtests), passes red and green. The test change alone fixes it, because the translator already accepts these modifiers as no-ops. - `test_build_runtime_fallback`: fails on main (`test_the_loader_gets_the_stack_reserve_cmake_gives_it`), still fails red and passes green. The fix is the `/STACK` order in `runtime/CMakeLists.txt`. - `test_bcpack_history_calib`: fails on main (the macOS case-dedupe test), passes red and green. The fix is the test stubbing the probe. - Also: `test_make_game_preflight` fails on main and red (the README clone sentence) and passes green. `test_d3d12_guid_tools_errors`, `test_docs_cli_flags`, `test_sampler_source_census`, `test_spirv_metal_set0_cli_errors` and `test_spirv_metal_set0_extra` fail on main and pass with the PR's tests. `test_run_game_wine_safety` and `test_windows_boot_journal_seed` pass on main too. - Green (merge): all 11 touched Python test files pass with `python -I`. Full translator suite: 529 files, 6526 tests, 1 file fails. Main has 2 failing files: `test_valu_cvt_f16_int16_mods`, plus `test_interp_computed_ij_fallback`, which is new on main (an f16 half one ulp off) and identical with and without this PR. ctest (Ninja RelWithDebInfo, all targets, gta6rt launchers excluded) on main + this PR alone: 497 tests, new failures vs main: none (main alone: 497 tests, 1 failure: xbox_present, which fails here too). The changed `pipeline_workers`, `xs_proxy_mock`, `vk_bindless_dimensions` and `vk_bindless_ps_imgatomic` pass, as they already do on main on this machine. - gta6rt.exe links without the XMA decoder (`LEONIDA_CARGO=OFF`, `LEONIDA_XMA2_DECODER_LIB` empty), main + this PR; imports unchanged vs main (655 functions, no new DLL, no WS2_32) - Diff read: `docs/design.md:515` is still stale at this head. It says `clamp` and the output multipliers on `v_cvt_u16_f16`/`v_cvt_i16_f16` are rejected as Unsupported, which contradicts the updated `tools/rdna2spirv.py` comment and test (hardware no-ops). The other changes are justified: the C++ test changes probe the condition instead of assuming it (`pipeline_workers`, bindless limits), and the steady_clock change removes the 15.6 ms tick dependence. - Other runs: Matches my run on f6cbdb938 and TheGeogeo's and kirigayakazima's runs on that head. - Machine: Windows 11, Intel Core Ultra 7 155H, RTX 4070 Laptop 8 GB, NVIDIA 621.40, Python 3.12.10, MSVC 19.44 AI-assisted (Claude Code, Claude Opus 5.5), run for OreoFR.
Tauwni commented 2026-11-29 07:14:28 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Tauwni on 2026-11-29T07:14:28Z.


@Bloh09 answering "untested on GPU" for 0e5d2056: vk_bindless_dimensions on a real GPU, plus Python 3.14.

AMD Radeon RX 9060 XT (RDNA4, 16 GB, desktop), driver 32.0.23033.1002 (Vulkan 26.3.1), Windows 10 Pro 22H2 19045.7846, MSVC 14.44 RelWithDebInfo, CPython 3.14.6. Head 72129f8ec merged (no commit) into main b6bf3aa0b, merges cleanly. MEASURED, 3 runs each:

  • vk_bindless_dimensions, pipeline_workers, xs_proxy_mock: pass 3/3 on main and 3/3 with the PR. The new sizing does not skip or fail on this AMD card.
  • Full ctest with the PR: the same 9 failures as on main here, so no new red. They are this PC's own set: Windows 10 in-box D3D12/WARP and known AMD driver cases.
  • Python, through scripts/run_standalone_tests.py, 3 runs per tree. These 13 files go from red 3/3 on main to green 3/3: bcpack_history_calib, build_runtime_fallback, d3d12_guid_tools_errors, docs_cli_flags, docs_links, make_game_pipelines, make_game_preflight, progress_dashboard, sampler_source_census, spirv_metal_set0_cli_errors, spirv_metal_set0_extra, tool_startup, and semantic valu_cvt_f16_int16_mods. test_text_encoding stays red: scripts/windows-boot/test_crash_monitor.py:37,90, your separate CI-CRASH-MONITOR-ENCODING branch.
  • Full semantic suite with the PR: 1 file failed, test_interp_computed_ij_fallback. It is also red on main here and in main's CI.

Not checked by a second agent or human yet. AI-assisted: yes (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7252349842 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2593#issuecomment-7252349842). Originally posted by [Tauwni](https://github.com/Tauwni) on 2026-11-29T07:14:28Z. --- @Bloh09 answering "untested on GPU" for 0e5d2056: `vk_bindless_dimensions` on a real GPU, plus Python 3.14. AMD Radeon RX 9060 XT (RDNA4, 16 GB, desktop), driver 32.0.23033.1002 (Vulkan 26.3.1), Windows 10 Pro 22H2 19045.7846, MSVC 14.44 RelWithDebInfo, CPython 3.14.6. Head `72129f8ec` merged (no commit) into `main` `b6bf3aa0b`, merges cleanly. MEASURED, 3 runs each: - `vk_bindless_dimensions`, `pipeline_workers`, `xs_proxy_mock`: pass 3/3 on `main` and 3/3 with the PR. The new sizing does not skip or fail on this AMD card. - Full ctest with the PR: the same 9 failures as on `main` here, so no new red. They are this PC's own set: Windows 10 in-box D3D12/WARP and known AMD driver cases. - Python, through `scripts/run_standalone_tests.py`, 3 runs per tree. These 13 files go from red 3/3 on `main` to green 3/3: `bcpack_history_calib`, `build_runtime_fallback`, `d3d12_guid_tools_errors`, `docs_cli_flags`, `docs_links`, `make_game_pipelines`, `make_game_preflight`, `progress_dashboard`, `sampler_source_census`, `spirv_metal_set0_cli_errors`, `spirv_metal_set0_extra`, `tool_startup`, and semantic `valu_cvt_f16_int16_mods`. `test_text_encoding` stays red: `scripts/windows-boot/test_crash_monitor.py:37,90`, your separate CI-CRASH-MONITOR-ENCODING branch. - Full semantic suite with the PR: 1 file failed, `test_interp_computed_ij_fallback`. It is also red on `main` here and in `main`'s CI. Not checked by a second agent or human yet. AI-assisted: yes (Claude Code).
enlight3d commented 2026-11-29 11:42:33 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by enlight3d on 2026-11-29T11:42:33Z.


RUN | #2593 at 72129f8ec merged into main 8fb974878 | enlight3d | AI-assisted: Claude Code

Machine: Windows 11 Pro 10.0.26300, CPython 3.13.12 (no GPU needed).
Command: python -I tests/test_build_runtime_fallback.py

  • main 8fb974878 alone: Ran 11 tests, FAILED (failures=1), test_the_loader_gets_the_stack_reserve_cmake_gives_it (since #2225 put /MAP after /STACK:${GTA6RT_STACK} on gta6rt's link options, and the test's regex wants /STACK last).
  • main + this PR (git merge-tree: clean): Ran 11 tests, OK.

So this fixes the main failure listed as "loader /STACK" in the fix-main lane. A possible follow-up, not needed for this PR: the test could accept /STACK anywhere in the call (as the host-base check below it already does), so a later option added after it doesn't break it again.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7255295875 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2593#issuecomment-7255295875). Originally posted by [enlight3d](https://github.com/enlight3d) on 2026-11-29T11:42:33Z. --- RUN | #2593 at 72129f8ec merged into main 8fb974878 | enlight3d | AI-assisted: Claude Code Machine: Windows 11 Pro 10.0.26300, CPython 3.13.12 (no GPU needed). Command: `python -I tests/test_build_runtime_fallback.py` - main 8fb974878 alone: Ran 11 tests, FAILED (failures=1), `test_the_loader_gets_the_stack_reserve_cmake_gives_it` (since #2225 put `/MAP` after `/STACK:${GTA6RT_STACK}` on gta6rt's link options, and the test's regex wants `/STACK` last). - main + this PR (`git merge-tree`: clean): Ran 11 tests, OK. So this fixes the main failure listed as "loader /STACK" in the fix-main lane. A possible follow-up, not needed for this PR: the test could accept `/STACK` anywhere in the call (as the host-base check below it already does), so a later option added after it doesn't break it again.
OreoFR commented 2026-11-29 12:17:14 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-29T12:17:14Z.


Verified by OreoFR on macOS 27.2.1 (26B131), Apple M5, APFS (case-insensitive), /bin/bash 3.2, Python 3.12.16, main 8fb974878, PR head 72129f8ec : macos-python stdlib loop 18 failing files on main → 2 on main + PR

Reproduced the CI step "Translator semantic tests and tests (standard library only)" of the macos-python job locally (same file selection: find tests minus tests/semantic, LC_ALL=C sort, pytest-marker / no-__main__ files skipped; python -I "$t" for each file, but without stopping at the first failure; then unittest discover -s tests/semantic). PATH stripped of Homebrew so qemu-system-aarch64 / llvm-mc / spirv-val are absent, as in CI. 614 files.

  • Merge: clean (git merge-tree).
  • main: 18 failing files (semantic module counted as one). main + PR: 2 failing files, no regression (nothing failing on the merge passes on main).
  • Fixed by this PR on macOS (14): test_bcpack_history_calib (the 1 != 2 at line 1238 that stops CI run 46257257825), test_build_runtime_fallback, test_d3d12_guid_tools_errors, test_docs_cli_flags, test_docs_links, test_gallery, test_make_game_pipelines, test_make_game_preflight, test_progress_dashboard, test_run_game_wine_safety (bash 3.2: ${x,,} → tr helper in scripts/run_game_wine.sh), test_sampler_source_census, test_spirv_metal_set0_cli_errors, test_spirv_metal_set0_extra, test_tool_startup; plus semantic/test_valu_cvt_f16_int16_mods.
  • Still failing on main + PR (MEASURED n=3, alone; neither is macOS-specific):
    • tests/test_text_encoding.py:76 test_every_text_file_call_pins_its_encoding: scripts/windows-boot/test_crash_monitor.py lines 37 and 90 call read_text() without encoding= (READ IN CODE).
    • tests/semantic/test_interp_computed_ij_fallback.py:382 (17407 != 17408) and :247 (0.07745… != 0.07751…): f16 interpolation one ulp off; same failure in CI run 46257257825 semantic-tests (ubuntu-latest).
  • Two first-pass failures on the merge (test_run_wine_test_fixtures, test_run_semantic_tests SIGINT timing) were artefacts of running main and merge in parallel (shared WINEPREFIX lock, load); OK 3/3 alone.

Verdict: READY (no regression, fixes every macOS-specific failure). The macos-python job will still stop on the 2 remaining non-macOS failures above, which need their own fixes.

AI-assisted: Claude Code

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7255702209 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2593#issuecomment-7255702209). Originally posted by [OreoFR](https://github.com/OreoFR) on 2026-11-29T12:17:14Z. --- Verified by OreoFR on macOS 27.2.1 (26B131), Apple M5, APFS (case-insensitive), /bin/bash 3.2, Python 3.12.16, main 8fb974878, PR head 72129f8ec : macos-python stdlib loop 18 failing files on main → 2 on main + PR Reproduced the CI step "Translator semantic tests and tests (standard library only)" of the `macos-python` job locally (same file selection: `find tests` minus `tests/semantic`, `LC_ALL=C sort`, pytest-marker / no-`__main__` files skipped; `python -I "$t"` for each file, but without stopping at the first failure; then `unittest discover -s tests/semantic`). PATH stripped of Homebrew so `qemu-system-aarch64` / `llvm-mc` / `spirv-val` are absent, as in CI. 614 files. - Merge: clean (`git merge-tree`). - **main**: 18 failing files (semantic module counted as one). **main + PR**: 2 failing files, no regression (nothing failing on the merge passes on main). - **Fixed by this PR on macOS (14)**: `test_bcpack_history_calib` (the `1 != 2` at line 1238 that stops CI run 46257257825), `test_build_runtime_fallback`, `test_d3d12_guid_tools_errors`, `test_docs_cli_flags`, `test_docs_links`, `test_gallery`, `test_make_game_pipelines`, `test_make_game_preflight`, `test_progress_dashboard`, `test_run_game_wine_safety` (bash 3.2: `${x,,}` → `tr` helper in `scripts/run_game_wine.sh`), `test_sampler_source_census`, `test_spirv_metal_set0_cli_errors`, `test_spirv_metal_set0_extra`, `test_tool_startup`; plus `semantic/test_valu_cvt_f16_int16_mods`. - **Still failing on main + PR** (MEASURED n=3, alone; neither is macOS-specific): - `tests/test_text_encoding.py:76` `test_every_text_file_call_pins_its_encoding`: `scripts/windows-boot/test_crash_monitor.py` lines 37 and 90 call `read_text()` without `encoding=` (READ IN CODE). - `tests/semantic/test_interp_computed_ij_fallback.py:382` (`17407 != 17408`) and `:247` (`0.07745… != 0.07751…`): f16 interpolation one ulp off; same failure in CI run 46257257825 `semantic-tests (ubuntu-latest)`. - Two first-pass failures on the merge (`test_run_wine_test_fixtures`, `test_run_semantic_tests` SIGINT timing) were artefacts of running main and merge in parallel (shared WINEPREFIX lock, load); OK 3/3 alone. **Verdict: READY** (no regression, fixes every macOS-specific failure). The `macos-python` job will still stop on the 2 remaining non-macOS failures above, which need their own fixes. AI-assisted: Claude Code
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!2593
No description provided.