runtime: keep mesh close tracing outside close-state extraction #3644

Manually merged
github merged 1 commit from github-bot/gh-3642 into gh-pr/3642/base 2026-11-30 19:53:27 +00:00 AGit
Owner

@⁠R0Y00 on GitHub · 2026-11-30 19:39 UTC · original
R0Y00:codex/mesh-close-trace-ci → main · +3 −3 · 1 files · 1 commits · merged 2026-11-30 19:51 UTC

Refs #3640, #3637 and #3509.

tests/startup_close_guard_check.py compiles the stand-in's close-state assignments in a device-free C++ fixture. The Mesh86 log added in #3640 landed inside that extracted block. The fixture could no longer compile because its state has no trace recording field. This is the failure in the Linux job for #3637.

Move the same log after failed-close bookkeeping and before the allocator lock is released. The trace still reports the recording and Close result under the lock. The fixture and its submission and reset assertions stay intact.

Verification

  • Ran the existing tests/startup_close_guard_check.py driver locally with a temporary MSVC adapter for its c++ -std=c++17 -o … invocation. The pre-fix source reproduced the compile failure. The patched source passed the submission and reset assertions, and the existing guard-removal control failed as expected.
  • git diff --check passed.
  • The hosted Linux run will exercise the unmodified driver with its usual compiler.
  • Rebuilt d3d12_xs_shim in Release and passed all three presenter-fence CTests (CPU, WARP and RTX 4060 Laptop GPU).
cmake --build $build --target d3d12_xs_shim --parallel 4
ctest --test-dir $build --no-tests=error -j1 -R '^startup_presenter_fence(_warp|_hardware)?$' --output-on-failure
**@⁠R0Y00** on GitHub · 2026-11-30 19:39 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3642) `R0Y00:codex/mesh-close-trace-ci` → `main` · +3 −3 · 1 files · 1 commits · merged 2026-11-30 19:51 UTC Refs #3640, #3637 and #3509. `tests/startup_close_guard_check.py` compiles the stand-in's close-state assignments in a device-free C++ fixture. The Mesh86 log added in #3640 landed inside that extracted block. The fixture could no longer compile because its state has no trace recording field. This is the failure in the [Linux job for #3637](https://github.com/R0Y00/Xbox2Windows/actions/runs/46494762335/job/142116561394). Move the same log after failed-close bookkeeping and before the allocator lock is released. The trace still reports the recording and Close result under the lock. The fixture and its submission and reset assertions stay intact. ## Verification - Ran the existing `tests/startup_close_guard_check.py` driver locally with a temporary MSVC adapter for its `c++ -std=c++17 -o …` invocation. The pre-fix source reproduced the compile failure. The patched source passed the submission and reset assertions, and the existing guard-removal control failed as expected. - `git diff --check` passed. - The hosted Linux run will exercise the unmodified driver with its usual compiler. - Rebuilt `d3d12_xs_shim` in Release and passed all three presenter-fence CTests (CPU, WARP and RTX 4060 Laptop GPU). ```powershell cmake --build $build --target d3d12_xs_shim --parallel 4 ctest --test-dir $build --no-tests=error -j1 -R '^startup_presenter_fence(_warp|_hardware)?$' --output-on-failure ```
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 19:41:07 +00:00
github-bot changed target branch from main to gh-pr/3642/base 2026-11-30 19:53:25 +00:00
github manually merged commit 24deeae0be into gh-pr/3642/base 2026-11-30 19:53:27 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.