CI-MESH-SERIAL-WAVES-ADDR64: test_mesh_serial_waves counts slot stores in the lowered address form #2627

Merged
Bloh09 merged 1 commit from upstream-pr/2627 into main 2026-11-29 19:30:02 +00:00
Bloh09 commented 2026-11-29 19:13:53 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Bloh09 on 2026-11-29T19:13:53Z.


Claimed in the coordination issue as: CI-MESH-SERIAL-WAVES-ADDR64 (https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7250448414)

Depends on: none

What and why

test_serial_mesh_compute_module (6 params) is red on main: it counted slot stores as %mpN = OpConvertUToPtr, but since lower_addr64 (#850) the plain module makes them OpBitcast %_ptr_PSB_uint of the address pair, so stores was 0. #2506 was tested before #850 landed. The test now counts both forms, like test_mesh_compute.py already does. No translator change.

Tested

pytest tests/test_mesh_serial_waves.py tests/test_mesh_compute.py: 6 failed on main, 59 passed here. python3 -I scripts/check_no_game_data.py passed.

GPUs tested: none (CPU/Linux only)

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

Skipped/risky: test-only change; did not run with --int64-addresses beyond the existing tests.

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:5554146675 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2627). Originally posted by [Bloh09](https://github.com/Bloh09) on 2026-11-29T19:13:53Z. --- Claimed in the coordination issue as: CI-MESH-SERIAL-WAVES-ADDR64 (https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7250448414) Depends on: none ### What and why `test_serial_mesh_compute_module` (6 params) is red on main: it counted slot stores as `%mpN = OpConvertUToPtr`, but since lower_addr64 (#850) the plain module makes them `OpBitcast %_ptr_PSB_uint` of the address pair, so `stores` was 0. #2506 was tested before #850 landed. The test now counts both forms, like `test_mesh_compute.py` already does. No translator change. ### Tested `pytest tests/test_mesh_serial_waves.py tests/test_mesh_compute.py`: 6 failed on main, 59 passed here. `python3 -I scripts/check_no_game_data.py` passed. GPUs tested: none (CPU/Linux only) AI-assisted: yes (Grok Bot), reviewed by me. Skipped/risky: test-only change; did not run with --int64-addresses beyond the existing tests. ### 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.
merzleckeier commented 2026-11-29 19:23:27 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-11-29T19:23:27Z.


Independent A/B for e3ddc2e0 on main dd87aa405 and on main + #2566 (7b5cb2941, tree edf8ac34). test_mesh_serial_waves.py plus test_mesh_compute.py gave 6 failed / 53 passed on each unmodified tree and 59 passed with this PR. The six failures were the same serial-mesh compute cases, all at the zero slot-store count.

On the #2566 merge tree I also ran the complete 41-file/node translator-tests selection from that tree’s ci.yml, before and after applying this exact PR diff. It went from 6 failed, 2,049 passed to 2,055 passed, with 15 skipped and 159 subtests passed in both runs. I forced the same translator setting used by --int64-addresses in the six mesh compute cases separately. They passed 6/6 with both the stock and patched assertions.

CachyOS, Python 3.14.10, pytest 9.2.0, LLVM 23.1.5. CPU and synthetic fixtures only. AI-assisted with OpenAI Codex.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7261241297 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2627#issuecomment-7261241297). Originally posted by [merzleckeier](https://github.com/merzleckeier) on 2026-11-29T19:23:27Z. --- Independent A/B for `e3ddc2e0` on `main` `dd87aa405` and on `main` + #2566 (`7b5cb2941`, tree `edf8ac34`). `test_mesh_serial_waves.py` plus `test_mesh_compute.py` gave 6 failed / 53 passed on each unmodified tree and 59 passed with this PR. The six failures were the same serial-mesh compute cases, all at the zero slot-store count. On the #2566 merge tree I also ran the complete 41-file/node `translator-tests` selection from that tree’s `ci.yml`, before and after applying this exact PR diff. It went from **6 failed, 2,049 passed** to **2,055 passed**, with 15 skipped and 159 subtests passed in both runs. I forced the same translator setting used by `--int64-addresses` in the six mesh compute cases separately. They passed 6/6 with both the stock and patched assertions. CachyOS, Python 3.14.10, pytest 9.2.0, LLVM 23.1.5. CPU and synthetic fixtures only. AI-assisted with OpenAI Codex.
aegish-zagi commented 2026-11-29 20:25:23 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by aegish-zagi on 2026-11-29T20:25:23Z.


VERIFY-2627 (independent verification, aegish-zagi)

  • PR: #2627 | head e3ddc2e0a | merge state vs main: MERGED while this verification was running — the change is already in main c2a726196, so this is a post-merge check of the landed state
  • Tests run: python -m pytest tests/test_mesh_serial_waves.py -q on current main
  • Results: 31 skipped, 0 failed — every test skips on this machine because the local tool prerequisites are absent (no llvm-mc / SPIRV-Tools on this VM; the file's requires_tools gate). I could not independently reproduce a green run here; fiestorra reported 31 passed on their machine in #2570. Red-on-main comparison not possible in this environment for the same reason.
  • Diff audit: test-only change to tests/test_mesh_serial_waves.py (count slot stores in the lowered address form). No game data.
  • Platform: Linux, Python 3.12.3, no GPU (Profile Z)
  • AI-assisted: yes

Verdict: landed; locally unverifiable beyond collection/skip behaviour — stated plainly rather than rubber-stamped.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7262067604 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2627#issuecomment-7262067604). Originally posted by [aegish-zagi](https://github.com/aegish-zagi) on 2026-11-29T20:25:23Z. --- VERIFY-2627 (independent verification, aegish-zagi) - PR: #2627 | head `e3ddc2e0a` | merge state vs main: MERGED while this verification was running — the change is already in `main` `c2a726196`, so this is a post-merge check of the landed state - Tests run: `python -m pytest tests/test_mesh_serial_waves.py -q` on current `main` - Results: 31 skipped, 0 failed — every test skips on this machine because the local tool prerequisites are absent (no llvm-mc / SPIRV-Tools on this VM; the file's `requires_tools` gate). I could not independently reproduce a green run here; fiestorra reported 31 passed on their machine in #2570. Red-on-main comparison not possible in this environment for the same reason. - Diff audit: test-only change to `tests/test_mesh_serial_waves.py` (count slot stores in the lowered address form). No game data. - Platform: Linux, Python 3.12.3, no GPU (Profile Z) - AI-assisted: yes Verdict: landed; locally unverifiable beyond collection/skip behaviour — stated plainly rather than rubber-stamped.
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!2627
No description provided.