shader: extract main(argv), atomic output writes, and OSError/struct guards in mesh_dynamic_aot with CLI suite #2399

Merged
Ammmae0x merged 4 commits from upstream-pr/2407 into main 2026-11-25 19:10:11 +00:00
Ammmae0x commented 2026-11-25 15:35:08 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Ammmae0x on 2026-11-25T15:35:08Z.


Change

Harden tools/mesh_dynamic_aot.py for programmatic and CLI execution while preserving its HLSL translation behavior, --sampler-heap-sgpr exit-2 validation, and error prefix format:

  • Extract the inline __main__ block into main(argv=None) -> int forwarding argv to parser.parse_args(argv).
  • Keep --sampler-heap-sgpr out-of-range / reserved-SGPR checks returning exit 2 via parser.error(...).
  • Reject --output being an existing directory, lacking a .hlsl suffix, or colliding with container via _same_path() (Path.resolve() equality and Path.samefile() for hardlinks/aliases).
  • Create parent directories and stage translated HLSL inside tempfile.TemporaryDirectory(dir=args.output.parent) before committing with os.replace() so write/replace failures leave no partial files or leftover staging directories.
  • Catch (OSError, ValueError, KeyError, struct.error, zlib.error) cleanly via parser.exit(1, f"{type(error).__name__}: {error}\n") with no raw Python tracebacks.
  • Add standalone pure-Python suite tests/mesh_dynamic_aot_cli_check.py and register mesh_dynamic_aot_cli_check in CMakeLists.txt.

Verification

Verified on commit 971333c6 (based on upstream/main 7092683a):

  • out/pe-env/Scripts/python.exe -B tests/mesh_dynamic_aot_cli_check.py -v -> Ran 7 tests in 2.853s - OK (exit 0)
  • out/pe-env/Scripts/python.exe -B tests/mesh_dynamic_aot_check.py -> Runtime mesh specializations matched the CPU cases and rejected unproven uses (exit 0)
  • out/pe-env/Scripts/python.exe -B tests/mesh_lane_spill_check.py -> exit 0
  • out/pe-env/Scripts/python.exe -B tests/mesh_heap_sampler_check.py -> passed (16 refusals + 3 guard-removal controls; exit 0)
  • out/pe-env/Scripts/python.exe -B tests/mesh_clip_cull_check.py -> passed (40 refusal checks + 7 guard-removal controls; exit 0)
  • out/pe-env/Scripts/python.exe -B tests/form_coverage_check.py -> form coverage checks passed (exit 0)
  • out/pe-env/Scripts/python.exe -B tests/docs_links_check.py -> Self-test passed. Checked 19 Markdown files and 464 links. (exit 0)
  • out/pe-env/Scripts/python.exe -B tests/bidi_controls_check.py -> Self-test passed. Checked 1724 tracked source, script and build/CI files: no bidirectional controls. (exit 0)

Spot mutation checks against tools/mesh_dynamic_aot.py (9/9 killed by tests/mesh_dynamic_aot_cli_check.py, restored cleanly):

  • Drop argv forwarding, bypass --sampler-heap-sgpr check, bypass existing-directory check, bypass .hlsl suffix check, bypass resolve() collision check, bypass samefile() collision check, bypass TemporaryDirectory + os.replace() staging, drop {type(error).__name__}: prefix, and drop struct.error handler (all returned exit 1).

Evidence and follow-up

  • Uses synthetic in-memory DXBC fixtures (amplification-stage refusal) and mocked translate (MIT, repo-authored; no game files, dumps, binaries, or GPU/LLVM prerequisite).
  • Negative controls cover invalid --sampler-heap-sgpr (exit 2), existing-directory --output, non-.hlsl suffix, path collisions via .. alias and hardlink, missing container, ValueError/KeyError/struct.error/zlib.error with {type(error).__name__}: prefix, and os.replace() / staging write failures leaving zero temp directories.

Checklist

  • This pull request covers one reviewable behavior.
  • I included the exact command and result for every check I ran.
  • I considered a negative control or failure case for a new fixture.
  • I updated README/docs when a capability or build requirement changed.
  • I did not include game files, dumps, distribution links or secrets.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6608090755 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2407). Originally posted by [Ammmae0x](https://github.com/Ammmae0x) on 2026-11-25T15:35:08Z. --- ## Change Harden `tools/mesh_dynamic_aot.py` for programmatic and CLI execution while preserving its HLSL translation behavior, `--sampler-heap-sgpr` exit-2 validation, and error prefix format: - Extract the inline `__main__` block into `main(argv=None) -> int` forwarding `argv` to `parser.parse_args(argv)`. - Keep `--sampler-heap-sgpr` out-of-range / reserved-SGPR checks returning exit 2 via `parser.error(...)`. - Reject `--output` being an existing directory, lacking a `.hlsl` suffix, or colliding with `container` via `_same_path()` (`Path.resolve()` equality and `Path.samefile()` for hardlinks/aliases). - Create parent directories and stage translated HLSL inside `tempfile.TemporaryDirectory(dir=args.output.parent)` before committing with `os.replace()` so write/replace failures leave no partial files or leftover staging directories. - Catch `(OSError, ValueError, KeyError, struct.error, zlib.error)` cleanly via `parser.exit(1, f"{type(error).__name__}: {error}\n")` with no raw Python tracebacks. - Add standalone pure-Python suite `tests/mesh_dynamic_aot_cli_check.py` and register `mesh_dynamic_aot_cli_check` in `CMakeLists.txt`. ## Verification Verified on commit `971333c6` (based on `upstream/main` `7092683a`): - `out/pe-env/Scripts/python.exe -B tests/mesh_dynamic_aot_cli_check.py -v` -> `Ran 7 tests in 2.853s - OK` (exit 0) - `out/pe-env/Scripts/python.exe -B tests/mesh_dynamic_aot_check.py` -> `Runtime mesh specializations matched the CPU cases and rejected unproven uses` (exit 0) - `out/pe-env/Scripts/python.exe -B tests/mesh_lane_spill_check.py` -> exit 0 - `out/pe-env/Scripts/python.exe -B tests/mesh_heap_sampler_check.py` -> passed (16 refusals + 3 guard-removal controls; exit 0) - `out/pe-env/Scripts/python.exe -B tests/mesh_clip_cull_check.py` -> passed (40 refusal checks + 7 guard-removal controls; exit 0) - `out/pe-env/Scripts/python.exe -B tests/form_coverage_check.py` -> `form coverage checks passed` (exit 0) - `out/pe-env/Scripts/python.exe -B tests/docs_links_check.py` -> `Self-test passed. Checked 19 Markdown files and 464 links.` (exit 0) - `out/pe-env/Scripts/python.exe -B tests/bidi_controls_check.py` -> `Self-test passed. Checked 1724 tracked source, script and build/CI files: no bidirectional controls.` (exit 0) Spot mutation checks against `tools/mesh_dynamic_aot.py` (9/9 killed by `tests/mesh_dynamic_aot_cli_check.py`, restored cleanly): - Drop `argv` forwarding, bypass `--sampler-heap-sgpr` check, bypass existing-directory check, bypass `.hlsl` suffix check, bypass `resolve()` collision check, bypass `samefile()` collision check, bypass `TemporaryDirectory` + `os.replace()` staging, drop `{type(error).__name__}:` prefix, and drop `struct.error` handler (all returned exit 1). ## Evidence and follow-up - Uses synthetic in-memory DXBC fixtures (amplification-stage refusal) and mocked `translate` (MIT, repo-authored; no game files, dumps, binaries, or GPU/LLVM prerequisite). - Negative controls cover invalid `--sampler-heap-sgpr` (exit 2), existing-directory `--output`, non-`.hlsl` suffix, path collisions via `..` alias and hardlink, missing container, `ValueError`/`KeyError`/`struct.error`/`zlib.error` with `{type(error).__name__}:` prefix, and `os.replace()` / staging write failures leaving zero temp directories. ## Checklist - [x] This pull request covers one reviewable behavior. - [x] I included the exact command and result for every check I ran. - [x] I considered a negative control or failure case for a new fixture. - [x] I updated README/docs when a capability or build requirement changed. - [x] I did not include game files, dumps, distribution links or secrets. AI-assisted.
KelboLive commented 2026-11-25 16:05:25 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by KelboLive on 2026-11-25T15:54:08Z.


APPROVED: Clean refactoring of mesh_dynamic_aot.py — extracts main(argv), atomic writes via TemporaryDirectory+os.replace(), _same_path() hardlink detection, and broadened error handling. Tested with 442-line synthetic suite (9/9 mutations killed). No game files, follows project patterns.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7167413776 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2407#issuecomment-7167413776). Originally posted by [KelboLive](https://github.com/KelboLive) on 2026-11-25T15:54:08Z. --- APPROVED: Clean refactoring of mesh_dynamic_aot.py — extracts main(argv), atomic writes via TemporaryDirectory+os.replace(), _same_path() hardlink detection, and broadened error handling. Tested with 442-line synthetic suite (9/9 mutations killed). No game files, follows project patterns.
ChazY11 commented 2026-11-25 17:01:59 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-25T16:56:12Z.


Seven mutations: six caught, one survivor — encoding="ascii" is a deliberate guard that nothing exercises

Baseline on this branch: tests/mesh_dynamic_aot_cli_check.py → Ran 7 tests in 2.775s … OK, exit 0.

mutation of tools/mesh_dynamic_aot.py result
main(argv=None) → main() (the entry stops forwarding argv) caught
_same_path loses the samefile arm caught
the "output path is an existing directory" refusal disabled caught
.hlsl suffix check disabled caught
the _same_path(output, container) refusal disabled caught
os.replace(staged, output) replaced by a direct output.write_text(...) caught
staged.write_text(hlsl, encoding="ascii") → encoding="utf-8" survived

The sixth one is the one I did not expect: an atomic-write change where a direct write passes the tests would be a real hole, and yours catches it — presumably because one case asserts the destination is untouched when the run fails. That is the case worth keeping.

The survivor is behaviour-changing, just not reachable from the current fixtures

ascii is the stricter contract: the emitted HLSL is written for DXC, and a symbol name that survives from the container into the text would raise UnicodeEncodeError at write time instead of landing in the .hlsl as UTF-8. With the mutant, a container whose symbol table contains a non-ASCII name writes the file successfully and the failure moves to the compile step — the same class of "clean error" this PR is about, moved one stage later.

UnicodeEncodeError is a ValueError, so the existing handler already gives it a clean parser.exit(1, …); nothing in production needs to change. What is missing is a case: a container with a non-ASCII identifier should exit 1 with that message, not write the file. If you would rather not construct one, dropping encoding="ascii" and letting the fixture's ASCII content pass is honest too — but then the choice of ascii should not be presented as pinned.

Two smaller things from reading the diff

  1. _same_path compares left.resolve() == right.resolve() first, and resolve() on a missing path is fine, but Path.samefile would raise for one. The ordering is right; a comment saying so (resolve handles the not-yet-existing output, samefile handles a case/symlink difference on Windows) would stop someone "simplifying" it to samefile alone.
  2. except (OSError, ValueError, KeyError, struct.error, zlib.error) now covers five families and the message prefixes type(error).__name__, so a truncated container and a permission error are distinguishable in the log. Good — that matters for the triage path, where a refusal census groups by this text.

What the PR gets right that is easy to miss

args.output.parent.mkdir(parents=True, exist_ok=True) happening inside the try, and the staging directory being created under args.output.parent rather than the system temp — the rename stays on the same volume, so os.replace is actually atomic. A staging directory under %TEMP% would have needed a fallback copy and lost the guarantee invisibly.

AI-assisted; the seven mutations were run locally on Windows 11 build 26300.9974.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7168754418 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2407#issuecomment-7168754418). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-25T16:56:12Z. --- ## Seven mutations: six caught, one survivor — `encoding="ascii"` is a deliberate guard that nothing exercises Baseline on this branch: `tests/mesh_dynamic_aot_cli_check.py` → `Ran 7 tests in 2.775s … OK`, exit 0. | mutation of `tools/mesh_dynamic_aot.py` | result | |---|---| | `main(argv=None)` → `main()` (the entry stops forwarding argv) | **caught** | | `_same_path` loses the `samefile` arm | **caught** | | the "output path is an existing directory" refusal disabled | **caught** | | `.hlsl` suffix check disabled | **caught** | | the `_same_path(output, container)` refusal disabled | **caught** | | `os.replace(staged, output)` replaced by a direct `output.write_text(...)` | **caught** | | `staged.write_text(hlsl, encoding="ascii")` → `encoding="utf-8"` | survived | The sixth one is the one I did not expect: an atomic-write change where a direct write passes the tests would be a real hole, and yours catches it — presumably because one case asserts the destination is untouched when the run fails. That is the case worth keeping. ### The survivor is behaviour-changing, just not reachable from the current fixtures `ascii` is the stricter contract: the emitted HLSL is written for DXC, and a symbol name that survives from the container into the text would raise `UnicodeEncodeError` at write time instead of landing in the `.hlsl` as UTF-8. With the mutant, a container whose symbol table contains a non-ASCII name writes the file successfully and the failure moves to the compile step — the same class of "clean error" this PR is about, moved one stage later. `UnicodeEncodeError` is a `ValueError`, so the existing handler already gives it a clean `parser.exit(1, …)`; nothing in production needs to change. What is missing is a case: a container with a non-ASCII identifier should exit 1 with that message, not write the file. If you would rather not construct one, dropping `encoding="ascii"` and letting the fixture's ASCII content pass is honest too — but then the choice of `ascii` should not be presented as pinned. ### Two smaller things from reading the diff 1. `_same_path` compares `left.resolve() == right.resolve()` **first**, and `resolve()` on a missing path is fine, but `Path.samefile` would raise for one. The ordering is right; a comment saying so (`resolve` handles the not-yet-existing output, `samefile` handles a case/symlink difference on Windows) would stop someone "simplifying" it to `samefile` alone. 2. `except (OSError, ValueError, KeyError, struct.error, zlib.error)` now covers five families and the message prefixes `type(error).__name__`, so a truncated container and a permission error are distinguishable in the log. Good — that matters for the triage path, where a refusal census groups by this text. ## What the PR gets right that is easy to miss `args.output.parent.mkdir(parents=True, exist_ok=True)` happening **inside** the try, and the staging directory being created under `args.output.parent` rather than the system temp — the rename stays on the same volume, so `os.replace` is actually atomic. A staging directory under `%TEMP%` would have needed a fallback copy and lost the guarantee invisibly. AI-assisted; the seven mutations were run locally on Windows 11 build 26300.9974.
Ammmae0x commented 2026-11-25 18:01:19 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Ammmae0x on 2026-11-25T17:01:56Z.


Addressed both points in commit debf4d40:

  1. Added test_non_ascii_hlsl_rejected_before_replace_and_preserves_existing_output in tests/mesh_dynamic_aot_cli_check.py, exercising encoding="ascii" with non-ASCII HLSL output (\u00e9) and verifying exit code 1 with UnicodeEncodeError:, no traceback, os.replace not called, existing destination contents untouched, and zero leftover staging directories. Verified locally that mutating encoding="ascii" to encoding="utf-8" is now killed (exit 1).
  2. Added a comment in _same_path in tools/mesh_dynamic_aot.py explaining why resolve() runs before samefile().

Verification on debf4d40 (out/pe-env/Scripts/python.exe -B):

  • tests/mesh_dynamic_aot_cli_check.py: Ran 8 tests in 4.100s (OK, exit 0)
  • tests/mesh_dynamic_aot_check.py: passed (exit 0)
  • tests/form_coverage_check.py, tests/docs_links_check.py (19 MD, 464 links), tests/bidi_controls_check.py (1724 tracked): all exit 0

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7168897980 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2407#issuecomment-7168897980). Originally posted by [Ammmae0x](https://github.com/Ammmae0x) on 2026-11-25T17:01:56Z. --- Addressed both points in commit `debf4d40`: 1. Added `test_non_ascii_hlsl_rejected_before_replace_and_preserves_existing_output` in `tests/mesh_dynamic_aot_cli_check.py`, exercising `encoding="ascii"` with non-ASCII HLSL output (`\u00e9`) and verifying exit code `1` with `UnicodeEncodeError:`, no traceback, `os.replace` not called, existing destination contents untouched, and zero leftover staging directories. Verified locally that mutating `encoding="ascii"` to `encoding="utf-8"` is now killed (exit `1`). 2. Added a comment in `_same_path` in `tools/mesh_dynamic_aot.py` explaining why `resolve()` runs before `samefile()`. Verification on `debf4d40` (`out/pe-env/Scripts/python.exe -B`): - `tests/mesh_dynamic_aot_cli_check.py`: `Ran 8 tests in 4.100s` (`OK`, exit `0`) - `tests/mesh_dynamic_aot_check.py`: passed (exit `0`) - `tests/form_coverage_check.py`, `tests/docs_links_check.py` (19 MD, 464 links), `tests/bidi_controls_check.py` (1724 tracked): all exit `0` AI-assisted.
tedin7 commented 2026-11-25 19:03:36 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T18:22:41Z.

Review: COMMENTED


Review of head debf4d40 (Linux checks only; no Windows run by me, and I did not see author Windows results for this SHA).

Checked:

  • tools/mesh_dynamic_aot.py: main(argv) extraction, directory/suffix/same-path guards (_same_path also catches aliases via samefile), staged write + os.replace in the output directory, widened error handling (OSError, struct, zlib) that exits 1 with a one-line message. The --sampler-heap-sgpr range check is kept. Logic reads correct.
  • Scope: 3 files, additive, no .github/launcher/hooks. No other open or merged PR changes this CLI wrapper (#2444 changes lowerers only).
  • CTest mesh_dynamic_aot_cli_check is registered next to mesh_dynamic_aot_cpu.

Commands run:

  • python3 -B tests/mesh_dynamic_aot_cli_check.py -> 8 tests OK
  • python3 tests/docs_links_check.py -> OK
  • python3 tests/bidi_controls_check.py -> OK
  • git diff --check origin/main...HEAD -> clean
  • Mutation 1: replaced os.replace(staged, args.output) with pass -> failures
  • Mutation 2: disabled the same-path guard -> failures
  • Both mutations reverted.

Minor, non-blocking:

  • Output path errors used to exit 2 via parser.error; they now exit 1. Only matters to scripts that check the code.
  • The new add_test has no TIMEOUT property; consider adding one.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6062813681 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2407#pullrequestreview-6062813681). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T18:22:41Z. **Review:** COMMENTED --- Review of head debf4d40 (Linux checks only; no Windows run by me, and I did not see author Windows results for this SHA). Checked: - `tools/mesh_dynamic_aot.py`: `main(argv)` extraction, directory/suffix/same-path guards (`_same_path` also catches aliases via `samefile`), staged write + `os.replace` in the output directory, widened error handling (OSError, struct, zlib) that exits 1 with a one-line message. The `--sampler-heap-sgpr` range check is kept. Logic reads correct. - Scope: 3 files, additive, no .github/launcher/hooks. No other open or merged PR changes this CLI wrapper (#2444 changes lowerers only). - CTest `mesh_dynamic_aot_cli_check` is registered next to `mesh_dynamic_aot_cpu`. Commands run: - `python3 -B tests/mesh_dynamic_aot_cli_check.py` -> 8 tests OK - `python3 tests/docs_links_check.py` -> OK - `python3 tests/bidi_controls_check.py` -> OK - `git diff --check origin/main...HEAD` -> clean - Mutation 1: replaced `os.replace(staged, args.output)` with `pass` -> failures - Mutation 2: disabled the same-path guard -> failures - Both mutations reverted. Minor, non-blocking: - Output path errors used to exit 2 via `parser.error`; they now exit 1. Only matters to scripts that check the code. - The new `add_test` has no `TIMEOUT` property; consider adding one. AI-assisted; commands listed were executed locally.
tedin7 commented 2026-11-25 19:03:36 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T18:57:21Z.

Review: COMMENTED


Review of head 470c9786 (merge of main into the branch; the PR's own change is the same as debf4d40).

Checked against origin/main:

  • tools/mesh_dynamic_aot.py: main(argv) is extracted cleanly. Output checks (directory, .hlsl suffix, same path as the container) run before translation. The write is staged in a temp dir next to the output and committed with os.replace, so a failure leaves no partial file. The sibling test mesh_dynamic_aot_check.py still passes, and the translation code itself is untouched.
  • The new CMake test is registered next to mesh_dynamic_aot_cpu.
  • Note: the output-path errors and the error prefix changed. Before: exit 2 via parser.error, and the prefix mesh_dynamic_aot: . Now: exit 1 with <ExceptionType>: msg. The PR text only promises to keep the exit 2 for --sampler-heap-sgpr, and that is kept. I found no caller in the repo that depends on the old prefix.

Commands run locally on this head (Linux):

  • python3 -B tests/mesh_dynamic_aot_cli_check.py -> Ran 8 tests, OK
  • python3 -B tests/mesh_dynamic_aot_check.py -> OK
  • python3 tests/docs_links_check.py -> OK
  • python3 tests/bidi_controls_check.py -> OK
  • git diff --check origin/main...HEAD -> clean
  • Mutation 1: replace os.replace with a direct write -> new suite fails (2 failures).
  • Mutation 2: disable the output-is-directory check -> new suite fails (1 failure, 1 error).
  • Mutation 3: drop zlib.error from the caught errors -> new suite fails (1 error).

No blocking findings. The Win2025 run on this head is still to come.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6063281390 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2407#pullrequestreview-6063281390). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T18:57:21Z. **Review:** COMMENTED --- Review of head 470c9786 (merge of main into the branch; the PR's own change is the same as debf4d40). Checked against origin/main: - `tools/mesh_dynamic_aot.py`: `main(argv)` is extracted cleanly. Output checks (directory, `.hlsl` suffix, same path as the container) run before translation. The write is staged in a temp dir next to the output and committed with `os.replace`, so a failure leaves no partial file. The sibling test `mesh_dynamic_aot_check.py` still passes, and the translation code itself is untouched. - The new CMake test is registered next to `mesh_dynamic_aot_cpu`. - Note: the output-path errors and the error prefix changed. Before: exit 2 via `parser.error`, and the prefix `mesh_dynamic_aot: `. Now: exit 1 with `<ExceptionType>: msg`. The PR text only promises to keep the exit 2 for `--sampler-heap-sgpr`, and that is kept. I found no caller in the repo that depends on the old prefix. Commands run locally on this head (Linux): - `python3 -B tests/mesh_dynamic_aot_cli_check.py` -> Ran 8 tests, OK - `python3 -B tests/mesh_dynamic_aot_check.py` -> OK - `python3 tests/docs_links_check.py` -> OK - `python3 tests/bidi_controls_check.py` -> OK - `git diff --check origin/main...HEAD` -> clean - Mutation 1: replace `os.replace` with a direct write -> new suite fails (2 failures). - Mutation 2: disable the output-is-directory check -> new suite fails (1 failure, 1 error). - Mutation 3: drop `zlib.error` from the caught errors -> new suite fails (1 error). No blocking findings. The Win2025 run on this head is still to come. AI-assisted; commands listed were executed locally.
upstream-sync closed this pull request 2026-11-25 20:04:07 +00:00
tedin7 commented 2026-11-25 20:04:40 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T19:09:31Z.


Win2025 WARP receipt for head c4dd51d8 after updating with main.

Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit c4dd51d855f9522ff7b2d13fe27bbac8882840fb:

  • Debug (--preset dev):
    • Build (cmake --build --preset dev -- -j 2): 155.34s (configure 3.59s)
    • Test (ctest --preset dev -R 'mesh_dynamic_aot' --parallel 2 --no-tests=error --output-on-failure): 4/4 passed (4.56s: mesh_dynamic_aot_draw_hardware 2.17s, mesh_dynamic_aot_draw_warp 2.25s, mesh_dynamic_aot_cpu 1.26s, mesh_dynamic_aot_cli_check 2.17s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release -- -j 2): 228.12s (configure 2.15s)
    • Test (ctest --preset release -R 'mesh_dynamic_aot' --parallel 2 --no-tests=error --output-on-failure): 4/4 passed (5.74s: mesh_dynamic_aot_draw_hardware 2.54s, mesh_dynamic_aot_draw_warp 2.63s, mesh_dynamic_aot_cpu 1.45s, mesh_dynamic_aot_cli_check 2.85s)
  • Windows Python checks: tests/mesh_clip_cull_check.py ok (7.1s), tests/mesh_dynamic_aot_check.py ok (1.5s), tests/mesh_heap_sampler_check.py ok (1.1s), tests/mesh_lane_spill_check.py ok (0.4s)
  • sccache: 502/1669 hits; wall 419.7s

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7171896970 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2407#issuecomment-7171896970). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T19:09:31Z. --- Win2025 WARP receipt for head c4dd51d8 after updating with main. Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `c4dd51d855f9522ff7b2d13fe27bbac8882840fb`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev -- -j 2`): `155.34s` (configure `3.59s`) - Test (`ctest --preset dev -R 'mesh_dynamic_aot' --parallel 2 --no-tests=error --output-on-failure`): **4/4 passed** (`4.56s`: `mesh_dynamic_aot_draw_hardware` `2.17s`, `mesh_dynamic_aot_draw_warp` `2.25s`, `mesh_dynamic_aot_cpu` `1.26s`, `mesh_dynamic_aot_cli_check` `2.17s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release -- -j 2`): `228.12s` (configure `2.15s`) - Test (`ctest --preset release -R 'mesh_dynamic_aot' --parallel 2 --no-tests=error --output-on-failure`): **4/4 passed** (`5.74s`: `mesh_dynamic_aot_draw_hardware` `2.54s`, `mesh_dynamic_aot_draw_warp` `2.63s`, `mesh_dynamic_aot_cpu` `1.45s`, `mesh_dynamic_aot_cli_check` `2.85s`) - **Windows Python checks**: `tests/mesh_clip_cull_check.py` ok (`7.1s`), `tests/mesh_dynamic_aot_check.py` ok (`1.5s`), `tests/mesh_heap_sampler_check.py` ok (`1.1s`), `tests/mesh_lane_spill_check.py` ok (`0.4s`) - `sccache`: 502/1669 hits; wall `419.7s` AI-assisted; commands listed were executed locally.
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
R0Y00/Xbox2Windows!2399
No description provided.