Scripts: reject invalid or stale cold PSO benchmark results #2495

Open
github-bot wants to merge 2 commits from github-bot/gh-2495 into main AGit
Owner

@⁠jeroenhaentjens on GitHub · 2026-11-25 20:18 UTC · original
jeroenhaentjens:scripts/validate-pso-benchmark-results → main · +453 −7 · 4 files · 2 commits · draft

Reject missing, empty or malformed timing files instead of publishing misleading benchmark results. When reusing an output directory, discard its superseded summary only after preparation succeeds. Stop before measuring if old timings cannot be removed: readable locked/read-only files must not supply a new run's results.

Stacked on #2129 at the author's request. Only top commit bbcfc38181689b9f4949ef22adbc8ee9fe364589 belongs here (199 additions / 7 deletions, three files). Part of #2088. Remains draft: the parent conflicts with main and its runtime changes still require paired retail smoke runs.

What is in it

  • Timing validation, literal paths, failure/retry regressions and README behavior. Incorporates RavenCurseBurg's stale-summary fix and undeletable-timings fix, with co-author credit. No Rust changes; the crates tree equals parent 8b69014.

Tested

  • Windows 11 Pro 26200, i7-9750H / 32 GB, Quadro RTX 3000 6 GB (597.06); Rust 1.100.0 MSVC debug, DXC 1.9.2609.5; XCL_ADAPTER=nvidia, incremental/debug info disabled.
  • powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts/cold-pso-bench.tests.ps1 (5.1.26100.9818), also pwsh.exe (7.6.9): each 39 timing cases plus preparation-preservation and both locked/read-only replacement-and-retry cases passed, 0 failed / skipped. Tests check unchanged old bytes, no measurement start or summary on failure, and only fresh rows after release.
  • Negative control: the same new tests with production script from previous head f4ac6cd fail both replacement cases in each shell; old timings are published and the measurement starts. The earlier stale-summary regression failed before its fix too.
  • Prior workspace run on f4ac6cd: cargo build --workspace --locked passed; cargo test --workspace --locked --no-fail-fast -- --test-threads=4 reported 1,154 passed / 1 failed / 46 ignored, 25 explicit skips (20 native-wave64, 3 unsupported f16, driver-cache control, heap windows). The sole failure was execute_indirect_reads_the_arguments_written_before_it, addressed by #2318 but absent from this parent. Not rerun for this script-only revision; Rust tree unchanged.
  • git diff --check passed; independent subagent review found no blockers.

Regression run
No retail run. The top commit changes scripts/docs only; the comparison with main includes #2129's runtime changes. No smoke exemption claimed.

Not tested
Real shader-pack measurements, GPU performance, retail smoke, or integration onto current main. Rebase after #2129 is merged/refreshed.

AI use
OpenAI Codex (GPT-6; exact variant unavailable) implemented, reviewed with subagents and ran the stated checks. Both linked RavenCurseBurg contributions disclose Codex (GPT-6).

**@⁠jeroenhaentjens** on GitHub · 2026-11-25 20:18 UTC · [original](https://github.com/xcl-dev/xcl/pull/2495) `jeroenhaentjens:scripts/validate-pso-benchmark-results` → `main` · +453 −7 · 4 files · 2 commits · draft Reject missing, empty or malformed timing files instead of publishing misleading benchmark results. When reusing an output directory, discard its superseded summary only after preparation succeeds. Stop before measuring if old timings cannot be removed: readable locked/read-only files must not supply a new run's results. **Stacked on #2129 at the author's request. Only top commit `bbcfc38181689b9f4949ef22adbc8ee9fe364589` belongs here** (199 additions / 7 deletions, three files). Part of #2088. Remains draft: the parent conflicts with main and its runtime changes still require paired retail smoke runs. **What is in it** - Timing validation, literal paths, failure/retry regressions and README behavior. Incorporates RavenCurseBurg's [stale-summary fix](https://github.com/RavenCurseBurg/xcl/commit/4b190ba01e7ae6286537d2b5a20ae79944ecf307) and [undeletable-timings fix](https://github.com/RavenCurseBurg/xcl/commit/91e1e60603b1e8f08f644ed0b98d3b23ad1f7923), with co-author credit. No Rust changes; the `crates` tree equals parent `8b69014`. **Tested** - Windows 11 Pro 26200, i7-9750H / 32 GB, Quadro RTX 3000 6 GB (597.06); Rust 1.100.0 MSVC debug, DXC 1.9.2609.5; `XCL_ADAPTER=nvidia`, incremental/debug info disabled. - `powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts/cold-pso-bench.tests.ps1` (5.1.26100.9818), also `pwsh.exe` (7.6.9): each 39 timing cases plus preparation-preservation and both locked/read-only replacement-and-retry cases passed, 0 failed / skipped. Tests check unchanged old bytes, no measurement start or summary on failure, and only fresh rows after release. - Negative control: the same new tests with production script from previous head `f4ac6cd` fail both replacement cases in each shell; old timings are published and the measurement starts. The earlier stale-summary regression failed before its fix too. - Prior workspace run on `f4ac6cd`: `cargo build --workspace --locked` passed; `cargo test --workspace --locked --no-fail-fast -- --test-threads=4` reported 1,154 passed / 1 failed / 46 ignored, 25 explicit skips (20 native-wave64, 3 unsupported f16, driver-cache control, heap windows). The sole failure was `execute_indirect_reads_the_arguments_written_before_it`, addressed by #2318 but absent from this parent. Not rerun for this script-only revision; Rust tree unchanged. - `git diff --check` passed; independent subagent review found no blockers. **Regression run** No retail run. The top commit changes scripts/docs only; the comparison with main includes #2129's runtime changes. No smoke exemption claimed. **Not tested** Real shader-pack measurements, GPU performance, retail smoke, or integration onto current main. Rebase after #2129 is merged/refreshed. **AI use** OpenAI Codex (GPT-6; exact variant unavailable) implemented, reviewed with subagents and ran the stated checks. Both linked RavenCurseBurg contributions disclose Codex (GPT-6).
#2088 asks for reliable cold NVIDIA measurements of the compute-pipeline
pass at 4 to 24 workers. scripts/cold-pso-bench.ps1 fills a DXIL cache once
(DXC, not timed), then makes every compute pipeline of the same input again
for each thread count with XCL's driver blobs off and either the implicit D3D
and driver shader caches off (XCL_PIPELINE_CACHE_OFF=1, Developer Mode) or the
NVIDIA DXCache folder emptied (-ClearNvCache), and tabulates wall and CPU
time, peak commit, summed driver time and p50/p95/max per pipeline, also per
DXIL size bucket.

xcl shaders --pipelines gets the two switches it needs:
- XCL_PIPELINE_TIMES=<file>: one CSV line per pipeline (DXIL hash and bytes,
  made/reused/refused, slot wait and time in CreateComputePipelineState);
- XCL_PIPELINE_CACHE_OFF=1: the pass turns the implicit caches off through
  the helper --measure-pso already used (now shared), or refuses to run.

On an RTX 4070 (617.14, i7-13700F), 67 compute programs (every 40th of a
retail pack), cold: wall time 558 s at 4 threads, 430 s at 6 and 415-432 s
from 8 to 24, CPU time ~2100-2400 s throughout, while summed driver time grew
2.6x and peak commit 5.5 -> 13.6 GB.

The fixture test runs with its own LOCALAPPDATA and without inherited XCL_PIPELINE_TIMES / XCL_PIPELINE_CACHE_OFF, so -ClearNvCache never empties a real NVIDIA cache and no real timing file gets rows (found and fixed by itsSio in review).

Every measured run starts a copy of the exe under a name of its own, next to the original, and removes it afterwards: the AMD driver keys its shader cache on the exe's file name, so with -ClearNvCache on AMD the second run of a sweep was served warm and reported as cold (found and measured on RDNA4 by bielfreedom in review).

-Threads is read as text and split on commas: from cmd or bash, `powershell -File ... -Threads 4,8` passes one string "4,8", which an [int[]] parameter silently read as 48 threads; anything that is not a thread count is refused.

Co-Authored-By: itsSio <[email protected]>
Co-Authored-By: bielfreedom <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Validate timing rows and report file/line errors instead of publishing
misleading zero-cost results. Use literal output paths. After preparation
succeeds, remove the old summary before replacing timings; a failed
preparation preserves the previous complete result.

Stop before measuring if a locked or read-only timing file cannot be
removed. Otherwise an exit-zero producer can leave old readable rows and
publish them as a fresh measurement. Adopt RavenCurseBurg's two fixes and
extend their regressions with no-start, byte preservation and fresh-retry
checks.

Windows PowerShell 5.1 and PowerShell 7 each pass all 39 timing cases,
preparation preservation and both replacement/retry cases. With the prior
production script, both new replacement cases fail in each shell.

Stacked on #2129. Part of #2088.
Source: 4b190ba01e
Source: 91e1e60603

Co-authored-by: RavenCurseBurg <[email protected]>
Assisted-by: OpenAI Codex (GPT-6; exact deployment variant unavailable)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:32:07 +00:00
Author
Owner

@⁠luckyteagirl on GitHub · 2026-11-25 20:25 UTC · original

Independent Windows script check on exact head f4ac6cda0f082a59ce7c6ef2b1494c72bad8bfcd (clean worktree).

Tested

  • Windows 11 build 26200, Ryzen 9 5980HX; PowerShell 5.1.26100.9711 and PowerShell 7.6.9.
  • powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts/cold-pso-bench.tests.ps1: 39 timing-validation cases passed, 0 failed; the separate failed-preparation case preserved previous results.
  • pwsh -NoProfile -File scripts/cold-pso-bench.tests.ps1: the same 39 passed, 0 failed, and preservation check passed.
  • git diff --check: clean.

Not tested

  • Real shader-pack measurements, a Rust build/workspace suite, a retail-title smoke run, or behavior after the stacked parent #2129 changes. The script fixtures did not use the RX 6800M.

AI use

  • OpenAI Codex (GPT-6; exact variant unavailable) fetched the head, ran these independent checks, and wrote this report.
**@⁠luckyteagirl** on GitHub · 2026-11-25 20:25 UTC · [original](https://github.com/xcl-dev/xcl/pull/2495#issuecomment-7173648825) Independent Windows script check on exact head `f4ac6cda0f082a59ce7c6ef2b1494c72bad8bfcd` (clean worktree). **Tested** - Windows 11 build 26200, Ryzen 9 5980HX; PowerShell 5.1.26100.9711 and PowerShell 7.6.9. - `powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts/cold-pso-bench.tests.ps1`: 39 timing-validation cases passed, 0 failed; the separate failed-preparation case preserved previous results. - `pwsh -NoProfile -File scripts/cold-pso-bench.tests.ps1`: the same 39 passed, 0 failed, and preservation check passed. - `git diff --check`: clean. **Not tested** - Real shader-pack measurements, a Rust build/workspace suite, a retail-title smoke run, or behavior after the stacked parent #2129 changes. The script fixtures did not use the RX 6800M. **AI use** - OpenAI Codex (GPT-6; exact variant unavailable) fetched the head, ran these independent checks, and wrote this report.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-25 20:53 UTC · original

Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

**@⁠DavidM1911** on GitHub · 2026-11-25 20:53 UTC · [original](https://github.com/xcl-dev/xcl/pull/2495#issuecomment-7174321538) Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
Author
Owner

@⁠jeroenhaentjens on GitHub · 2026-11-25 21:10 UTC · original

@⁠RavenCurseBurg reproduced both locked and read-only cases in Windows PowerShell 5.1 and PowerShell 7: the old script published the old timing and started the measurement. Incorporated your fix into bbcfc38181689b9f4949ef22adbc8ee9fe364589, with co-author credit and links to both contributions.

The regression now covers both blockers, byte-identical old data, no measurement-start marker, no summary, and successful retries containing only a different fresh row. Each shell passes all 39 timing-validation cases, preparation preservation and both replacement/retry cases (0 failures/skips). The same tests with the previous production script fail both new cases in each shell. git diff --check is clean.

No real PSO measurement or retail run; the Rust tree is unchanged and the parent/merge restrictions remain as documented. Thanks for catching it.

AI use: OpenAI Codex (GPT-6; exact variant unavailable) incorporated the fix, extended and ran the regressions, reviewed with subagents and wrote this reply.

**@⁠jeroenhaentjens** on GitHub · 2026-11-25 21:10 UTC · [original](https://github.com/xcl-dev/xcl/pull/2495#issuecomment-7174705791) @⁠RavenCurseBurg reproduced both locked and read-only cases in Windows PowerShell 5.1 and PowerShell 7: the old script published the old timing and started the measurement. Incorporated your fix into `bbcfc38181689b9f4949ef22adbc8ee9fe364589`, with co-author credit and links to both contributions. The regression now covers both blockers, byte-identical old data, no measurement-start marker, no summary, and successful retries containing only a different fresh row. Each shell passes all 39 timing-validation cases, preparation preservation and both replacement/retry cases (0 failures/skips). The same tests with the previous production script fail both new cases in each shell. `git diff --check` is clean. No real PSO measurement or retail run; the Rust tree is unchanged and the parent/merge restrictions remain as documented. Thanks for catching it. AI use: OpenAI Codex (GPT-6; exact variant unavailable) incorporated the fix, extended and ran the regressions, reviewed with subagents and wrote this reply.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-26 01:50 UTC · original

Re-verification on RTX 3060 Ti (Windows 11): still a merge conflict with current main on the new head — needs another rebase before it can be tested.

**@⁠DavidM1911** on GitHub · 2026-11-26 01:50 UTC · [original](https://github.com/xcl-dev/xcl/pull/2495#issuecomment-7180185496) Re-verification on RTX 3060 Ti (Windows 11): still a **merge conflict with current `main`** on the new head — needs another rebase before it can be tested.
Author
Owner

@⁠RavenCurseBurg on GitHub · 2026-11-25 20:36 UTC · original · edited 2026-11-26 06:46 UTC

Follow-up to the merge-conflict report. Against main b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7, git merge-tree --write-tree --name-only confirms this PR head bbcfc3818168 conflicts in crates/xcl/src/shaders.rs. The updated #2129 parent 30a3ef1055ed and the restacked benchmark fix both merge cleanly with that same main. The fork candidate produced tree bc6ceaa47388f401bd1e3620cc3780f06d4eea6b.

I extracted the benchmark and its fixture from that clean merge tree and ran scripts/cold-pso-bench.tests.ps1 under Windows PowerShell 5.1 and PowerShell 7.6.9. Each passed all 39 timing cases, preparation-failure preservation, and locked/read-only retries. Synthetic child and private cache only. The real runtime and retail smoke remain untested here. Windows build 26100, i7-13700. OpenAI Codex (GPT-6) ran this follow-up.

I tested this draft (bbcfc38181689b9f4949ef22adbc8ee9fe364589) on its updated parent #2129 (30a3ef1055ed5da9d04a6ca667996112756486c1). The top commit has one conflict in the benchmark and two in the fixture. Rebased top commit, retaining the original author and coauthors. It keeps literal-path timing replacement, the parent's child environment and lifetime measurements, and both the fixture-directory guard and caller-environment assertion.

scripts/cold-pso-bench.tests.ps1 passed all 39 timing cases, the failed-preparation check and both locked/read-only replacement-and-retry checks in Windows PowerShell 5.1 and PowerShell 7.6.9. I also repeated the three stand-in child measurements in each shell. All six rows covered the child's observed peak and elapsed time at CSV precision. Windows 11 26100.9711, i7-13700. Private fixture cache and synthetic executable only. OpenAI Codex (GPT-6) resolved the conflicts and ran the checks.

Earlier timing-file checks on the draft

Tested on f4ac6cda0f082a59ce7c6ef2b1494c72bad8bfcd, Windows 11 build 26100.9711, Core i7-13700, Windows PowerShell 5.1 and PowerShell 7.6.9.

I seeded times-1.csv with one valid 1,500 ms build and ran scripts/cold-pso-bench.ps1 -Shaders synthetic -Threads 1 -Xcl <fixture.cmd> -Out <existing-directory>. The fixture exited 0 and wrote no timing. With either a read-only file or a reader opened with FileShare.Read, deletion failed silently. Both shells nevertheless published a new summary reporting one build and 1.5 s of driver time.

The candidate fix and regression stop before starting the measurement when an existing timing file cannot be removed. Across the four file/shell combinations the original timing stayed byte-identical and no summary was published. After releasing the file, all four retries published only the new row. In both shells -NoProfile -ExecutionPolicy Bypass -File scripts/cold-pso-bench.tests.ps1 passed all 39 timing cases, the preparation-preservation check and the new locked-file check. The new check failed on the original implementation.

Not tested — Real PSO builds, shader packs, GPU performance, or the Rust workspace. OpenAI Codex (GPT-6) prepared the fixtures, implemented and tested the candidate, and wrote this report.

Rechecked on bbcfc38181689b9f4949ef22adbc8ee9fe364589. I ran scripts/cold-pso-bench.tests.ps1 in Windows PowerShell 5.1 and PowerShell 7.6.9 after the two fixes were incorporated. Each shell passed all 39 timing cases, the failed-preparation preservation check, and both the locked-file and read-only-file checks with a successful retry. This run used the suite’s synthetic child and private cache directory.

Follow-up on the latest review

I reproduced review 6068881170 in Windows PowerShell 5.1 and PowerShell 7 with -Threads ' , , ', an existing CSV and a marker-writing stand-in for XCL. The PR head invoked preparation, returned 0 and removed the previous summary in both shells.

The candidate rejects the normalized empty list before invoking the child. In both shells it exited nonzero, reported a thread-list error and preserved the exact CSV bytes. The fixture suite also passed 39/39 timing cases in each shell. The existing valid thread-list controls and the separate locked/read-only retry checks passed as well. The change also applies cleanly to the earlier restacked tip 7968e54 in a three-way tree check; the benchmark suites above ran on the candidate based on this PR head.

Candidate commit bfb1ba1a is based directly on bbcfc3818168. Reproduce with ./scripts/cold-pso-bench.tests.ps1. OpenAI Codex (GPT-6) prepared the fix and ran these Windows CPU fixtures. No game, GPU benchmark or workspace build.

**@⁠RavenCurseBurg** on GitHub · 2026-11-25 20:36 UTC · [original](https://github.com/xcl-dev/xcl/pull/2495#issuecomment-7173926852) · edited 2026-11-26 06:46 UTC Follow-up to [the merge-conflict report](https://git.gtahub.st/github/xcl-dev--xcl/pulls/2495). Against main `b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7`, `git merge-tree --write-tree --name-only` confirms this PR head `bbcfc3818168` conflicts in `crates/xcl/src/shaders.rs`. The updated #2129 parent `30a3ef1055ed` and [the restacked benchmark fix](https://github.com/RavenCurseBurg/xcl/commit/7968e546446bc6d63140856749f295a69fb8f86f) both merge cleanly with that same main. The fork candidate produced tree `bc6ceaa47388f401bd1e3620cc3780f06d4eea6b`. I extracted the benchmark and its fixture from that clean merge tree and ran `scripts/cold-pso-bench.tests.ps1` under Windows PowerShell 5.1 and PowerShell 7.6.9. Each passed all 39 timing cases, preparation-failure preservation, and locked/read-only retries. Synthetic child and private cache only. The real runtime and retail smoke remain untested here. Windows build 26100, i7-13700. OpenAI Codex (GPT-6) ran this follow-up. I tested this draft (`bbcfc38181689b9f4949ef22adbc8ee9fe364589`) on its updated parent #2129 (`30a3ef1055ed5da9d04a6ca667996112756486c1`). The top commit has one conflict in the benchmark and two in the fixture. [Rebased top commit, retaining the original author and coauthors](https://github.com/RavenCurseBurg/xcl/commit/7968e546446bc6d63140856749f295a69fb8f86f). It keeps literal-path timing replacement, the parent's child environment and lifetime measurements, and both the fixture-directory guard and caller-environment assertion. `scripts/cold-pso-bench.tests.ps1` passed all 39 timing cases, the failed-preparation check and both locked/read-only replacement-and-retry checks in Windows PowerShell 5.1 and PowerShell 7.6.9. I also repeated the three stand-in child measurements in each shell. All six rows covered the child's observed peak and elapsed time at CSV precision. Windows 11 26100.9711, i7-13700. Private fixture cache and synthetic executable only. OpenAI Codex (GPT-6) resolved the conflicts and ran the checks. <details><summary>Earlier timing-file checks on the draft</summary> **Tested** on `f4ac6cda0f082a59ce7c6ef2b1494c72bad8bfcd`, Windows 11 build 26100.9711, Core i7-13700, Windows PowerShell 5.1 and PowerShell 7.6.9. I seeded `times-1.csv` with one valid 1,500 ms build and ran `scripts/cold-pso-bench.ps1 -Shaders synthetic -Threads 1 -Xcl <fixture.cmd> -Out <existing-directory>`. The fixture exited 0 and wrote no timing. With either a read-only file or a reader opened with `FileShare.Read`, deletion failed silently. Both shells nevertheless published a new summary reporting one build and 1.5 s of driver time. The [candidate fix and regression](https://github.com/RavenCurseBurg/xcl/commit/91e1e60603b1e8f08f644ed0b98d3b23ad1f7923) stop before starting the measurement when an existing timing file cannot be removed. Across the four file/shell combinations the original timing stayed byte-identical and no summary was published. After releasing the file, all four retries published only the new row. In both shells `-NoProfile -ExecutionPolicy Bypass -File scripts/cold-pso-bench.tests.ps1` passed all 39 timing cases, the preparation-preservation check and the new locked-file check. The new check failed on the original implementation. **Not tested** — Real PSO builds, shader packs, GPU performance, or the Rust workspace. OpenAI Codex (GPT-6) prepared the fixtures, implemented and tested the candidate, and wrote this report. **Rechecked on `bbcfc38181689b9f4949ef22adbc8ee9fe364589`.** I ran `scripts/cold-pso-bench.tests.ps1` in Windows PowerShell 5.1 and PowerShell 7.6.9 after the two fixes were incorporated. Each shell passed all 39 timing cases, the failed-preparation preservation check, and both the locked-file and read-only-file checks with a successful retry. This run used the suite’s synthetic child and private cache directory. </details> **Follow-up on the latest review** I reproduced review 6068881170 in Windows PowerShell 5.1 and PowerShell 7 with `-Threads ' , , '`, an existing CSV and a marker-writing stand-in for XCL. The PR head invoked preparation, returned 0 and removed the previous summary in both shells. The candidate rejects the normalized empty list before invoking the child. In both shells it exited nonzero, reported a thread-list error and preserved the exact CSV bytes. The fixture suite also passed 39/39 timing cases in each shell. The existing valid thread-list controls and the separate locked/read-only retry checks passed as well. The change also applies cleanly to the earlier restacked tip `7968e54` in a three-way tree check; the benchmark suites above ran on the candidate based on this PR head. [Candidate commit bfb1ba1a](https://github.com/RavenCurseBurg/xcl/commit/bfb1ba1affbf3151be6416b1aa406271f53360b7) is based directly on `bbcfc3818168`. Reproduce with `./scripts/cold-pso-bench.tests.ps1`. OpenAI Codex (GPT-6) prepared the fix and ran these Windows CPU fixtures. No game, GPU benchmark or workspace build.
Author
Owner

@⁠luckyteagirl on GitHub · 2026-11-26 05:13 UTC · original · reviewed

Could the script reject an empty normalized -Threads list before preparation or touching the previous output? Passing -Threads ',' produces one nonempty argument, but splitting and removing blanks leaves $Threads empty, so the validation loop accepts it. The DXIL pass then runs, the new summary.csv removal deletes the previous benchmark result, and the measurement loop runs zero times. An existing summary sentinel in the mock fixture would make this visible: the invocation should fail early and preserve its bytes. Source review only at head bbcfc381; I did not run the benchmark. AI-assisted with Codex (GPT-6.2 Sol).

**@⁠luckyteagirl** on GitHub · 2026-11-26 05:13 UTC · [original](https://github.com/xcl-dev/xcl/pull/2495#pullrequestreview-6068881170) · **reviewed** Could the script reject an empty normalized `-Threads` list before preparation or touching the previous output? Passing `-Threads ','` produces one nonempty argument, but splitting and removing blanks leaves `$Threads` empty, so the validation loop accepts it. The DXIL pass then runs, the new `summary.csv` removal deletes the previous benchmark result, and the measurement loop runs zero times. An existing summary sentinel in the mock fixture would make this visible: the invocation should fail early and preserve its bytes. Source review only at head `bbcfc381`; I did not run the benchmark. AI-assisted with Codex (GPT-6.2 Sol).
This pull request has changes conflicting with the target branch.
  • crates/xcl/src/shaders.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2495/head:github-bot/gh-2495'
git switch 'github-bot/gh-2495'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2495'
git switch 'github-bot/gh-2495'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2495'
git switch 'github-bot/gh-2495'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2495'
git switch 'main'
git merge --squash 'github-bot/gh-2495'
git switch 'main'
git merge --ff-only 'github-bot/gh-2495'
git switch 'main'
git merge 'github-bot/gh-2495'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.