Scripts: show why a smoke run exits before writing a log #584

Open
luna020924 wants to merge 1 commit from upstream-pr/589 into main
luna020924 commented 2026-11-24 02:12:19 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by luna020924 on 2026-11-24T02:12:19Z.


When XCL exits before printing Log:, smoke.ps1 omits the stderr message and exit code. That hides startup errors such as an invalid xcl.toml. Include both output streams and the child exit code in the failure message.

What is in it

  • scripts/smoke.ps1 reports early launcher failures. The regression test uses a stand-in that exits with code 2 after writing to stdout and stderr.

Tested

  • Windows 11 build 26200, Ryzen 7 2700X, GeForce RTX 5060 Ti 16 GB (driver 610.88), rustc 1.100.0 MSVC x64 and DXC 1.9.2609.5. Debug build in the Windows login session.
  • scripts\smoke-startup-errors.tests.ps1 failed against the 9ce2070 smoke script and passed at 930749f in Windows PowerShell 5.1.26100.8875 and PowerShell 7.7.0. The old wrapper omits the exit code and stderr. The PR head reports both and retains stdout.
  • cargo build --locked --workspace --jobs 3 passed on 9ce2070 and 930749f.
  • cargo test --locked --workspace --no-fail-fast --jobs 3 -- --test-threads=4 --show-output reported 684 passed, 0 failed and 41 ignored on both 9ce2070 and 930749f.
  • SKIPPED on both revisions: gpu_geometry_wave32_prefix_count_over_a_mask and gpu_wave32_program_in_wave64_hardware (no native wave64). libtest includes both in the passed count.

Regression run

  • Script-only change.

Not tested

  • Retail titles, optional game samples, or AMD GPUs.

AI use

  • OpenAI Codex (GPT-6.2 Sol) wrote the fix, regression test and description and ran the checks.
<!-- greyfinch-sync:ivall/xcl:issue:5464766156 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/589). Originally posted by [luna020924](https://github.com/luna020924) on 2026-11-24T02:12:19Z. --- When XCL exits before printing `Log:`, `smoke.ps1` omits the stderr message and exit code. That hides startup errors such as an invalid `xcl.toml`. Include both output streams and the child exit code in the failure message. **What is in it** - `scripts/smoke.ps1` reports early launcher failures. The regression test uses a stand-in that exits with code 2 after writing to stdout and stderr. **Tested** - Windows 11 build 26200, Ryzen 7 2700X, GeForce RTX 5060 Ti 16 GB (driver 610.88), rustc 1.100.0 MSVC x64 and DXC 1.9.2609.5. Debug build in the Windows login session. - `scripts\smoke-startup-errors.tests.ps1` failed against the `9ce2070` smoke script and passed at `930749f` in Windows PowerShell 5.1.26100.8875 and PowerShell 7.7.0. The old wrapper omits the exit code and stderr. The PR head reports both and retains stdout. - `cargo build --locked --workspace --jobs 3` passed on `9ce2070` and `930749f`. - `cargo test --locked --workspace --no-fail-fast --jobs 3 -- --test-threads=4 --show-output` reported 684 passed, 0 failed and 41 ignored on both `9ce2070` and `930749f`. - `SKIPPED` on both revisions: `gpu_geometry_wave32_prefix_count_over_a_mask` and `gpu_wave32_program_in_wave64_hardware` (no native wave64). libtest includes both in the passed count. **Regression run** - Script-only change. **Not tested** - Retail titles, optional game samples, or AMD GPUs. **AI use** - OpenAI Codex (GPT-6.2 Sol) wrote the fix, regression test and description and ran the checks.
mdberkey commented 2026-11-24 02:46:51 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by mdberkey on 2026-11-24T02:46:51Z.

Review: APPROVED


I reproduced this on 930749f (Windows 11 Pro 26200, Ryzen 5 5600X, 32 GB, RTX 3070, Windows PowerShell 5.1):

  • scripts\smoke-startup-errors.tests.ps1: passed (exit 0).
  • Control against 9ce2070's smoke.ps1: fails as expected — XCL printed no log path; its output: synthetic startup output, missing both the exit code and stderr. The test does catch the bug.
  • cargo build --locked --workspace --jobs 3: passed (1m 11s; one pre-existing fetch_update deprecation warning in xgameruntime).
  • cargo test --locked --workspace --no-fail-fast --jobs 3 -- --test-threads=4 --show-output: 684 passed, 0 failed, 41 ignored. Skipped: 2 no wave64, 1 no d3d12SDKLayers.dll, 1 no D3D12 debug layer.

AI use: OpenCode (DeepSeek V4.1 Flash Free) ran the commands and drafted this; I checked it before posting.

<!-- greyfinch-sync:ivall/xcl:review:6032919892 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/589#pullrequestreview-6032919892). Originally posted by [mdberkey](https://github.com/mdberkey) on 2026-11-24T02:46:51Z. **Review:** APPROVED --- I reproduced this on `930749f` (Windows 11 Pro 26200, Ryzen 5 5600X, 32 GB, RTX 3070, Windows PowerShell 5.1): - `scripts\smoke-startup-errors.tests.ps1`: **passed** (exit 0). - Control against `9ce2070`'s `smoke.ps1`: **fails** as expected — `XCL printed no log path; its output: synthetic startup output`, missing both the exit code and stderr. The test does catch the bug. - `cargo build --locked --workspace --jobs 3`: passed (1m 11s; one pre-existing `fetch_update` deprecation warning in `xgameruntime`). - `cargo test --locked --workspace --no-fail-fast --jobs 3 -- --test-threads=4 --show-output`: **684 passed, 0 failed, 41 ignored**. Skipped: 2 no wave64, 1 no `d3d12SDKLayers.dll`, 1 no D3D12 debug layer. AI use: OpenCode (DeepSeek V4.1 Flash Free) ran the commands and drafted this; I checked it before posting.
futurepro62 commented 2026-11-24 07:05:35 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by futurepro62 on 2026-11-24T02:32:19Z.


Tested exact head 930749f.

Tested

  • Windows 11 Home 26300, Windows PowerShell 5.1.26100.9818 (no PowerShell 7 on this machine).
  • powershell -NoProfile -File scripts/smoke-startup-errors.tests.ps1 on 930749f: passed (exit 0): Passed: early failure reports the exit code, stdout and stderr.
  • Control: the same test file against scripts/smoke.ps1 of the parent commit 9ce2070: fails (exit 1) with Expected 'exit: 0x2' in the failure diagnostic. Got 'XCL printed no log path; its output: synthetic startup output '. So the test catches what the PR fixes.
  • scripts/test-native-stderr.tests.ps1 on 930749f: passed.

Not tested

  • PowerShell 7 (pwsh), a real scripts/smoke.ps1 run on a title (no title on this machine), the Rust suite (the PR changes no Rust).

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and the control and wrote this report. I checked it before posting.
<!-- greyfinch-sync:ivall/xcl:comment:7120241719 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/589#issuecomment-7120241719). Originally posted by [futurepro62](https://github.com/futurepro62) on 2026-11-24T02:32:19Z. --- Tested exact head `930749f`. **Tested** - Windows 11 Home 26300, Windows PowerShell 5.1.26100.9818 (no PowerShell 7 on this machine). - `powershell -NoProfile -File scripts/smoke-startup-errors.tests.ps1` on `930749f`: passed (exit 0): `Passed: early failure reports the exit code, stdout and stderr.` - Control: the same test file against `scripts/smoke.ps1` of the parent commit `9ce2070`: fails (exit 1) with `Expected 'exit: 0x2' in the failure diagnostic. Got 'XCL printed no log path; its output: synthetic startup output '`. So the test catches what the PR fixes. - `scripts/test-native-stderr.tests.ps1` on `930749f`: passed. **Not tested** - PowerShell 7 (`pwsh`), a real `scripts/smoke.ps1` run on a title (no title on this machine), the Rust suite (the PR changes no Rust). **AI use** - Claude Code (Claude Opus 5.5) ran the tests and the control and wrote this report. I checked it before posting.
raylitebull commented 2026-11-25 01:10:58 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by raylitebull on 2026-11-25T00:56:53Z.


Diff check on 930749f:

  • Reporting the exit code, stdout, and stderr when smoke.ps1 exits before printing a log path makes early startup failures immediately diagnosable, and scripts/smoke-startup-errors.tests.ps1 covers it cleanly.
  • Already approved (mdberkey) and verified, with PR description passing.

Next step to unblock merge: Please rebase onto current main so CI runs Build and test (Windows, no GPU) on the head.

<!-- greyfinch-sync:ivall/xcl:comment:7149052375 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/589#issuecomment-7149052375). Originally posted by [raylitebull](https://github.com/raylitebull) on 2026-11-25T00:56:53Z. --- Diff check on `930749f`: - Reporting the exit code, stdout, and stderr when `smoke.ps1` exits before printing a log path makes early startup failures immediately diagnosable, and `scripts/smoke-startup-errors.tests.ps1` covers it cleanly. - Already approved (`mdberkey`) and verified, with `PR description` passing. **Next step to unblock merge:** Please rebase onto current `main` so CI runs `Build and test (Windows, no GPU)` on the head.
JJAutoCompare commented 2026-11-25 03:05:36 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-25T02:19:16Z.


PR #589 verification

PR head 930749fdd66f92065de10a78197475070880a4c1, fetched from origin via refs/pull/589/head and tested in a clean detached worktree. origin/main was aaa093657bd96a146c05c0c1a9b61149fe761453. git merge-tree --write-tree origin/main HEAD exited 0 and returned tree 4c4a3997c6c05044e469e652f06f76cbeacaa48d. The merge was checked without changing the checkout.

What is in it

  • scripts/smoke.ps1 includes the exit status and both output streams when XCL exits before emitting a log path. scripts/smoke-startup-errors.tests.ps1 exercises that case.

Tested

  • STOR-WINLAB, Windows 11 Enterprise Evaluation build 26200.9974, AMD Ryzen 7 3800X, Intel Arc A770 16 GiB with driver 32.0.101.9175, DoublePrecisionFloatShaderOps=0, waves 8–32. Host details supplied by the coordinator. Rust 1.100.0 (0ef1bc386 2026-11-09) from rustc -V. DXC and DXIL 1.9.2609.5. Unoptimized dev and test profiles with debug info disabled.
  • Outside the GPU lock, scripts/smoke.ps1 -Game <fixture> -Seconds 1 -Xcl <fixture>\xcl.cmd passed the four assertions from scripts/smoke-startup-errors.tests.ps1. The stand-in exited with code 2 before printing a log path. The exception included XCL printed no log path, exit: 0x2, synthetic startup output, and xcl: synthetic startup failure. The fixture used the same script body and assertions with nonrecursive cleanup. Diagnostic saved in pr589-fixture.log.
  • cargo build --workspace and cargo test --workspace --no-run both exited 0 outside the GPU lock.
  • One pass of cargo test --workspace --no-fail-fast -- --test-threads=4 --show-output via L:\XclTooling\Invoke-ArcTest.ps1 exited 101. Cargo reported 667 passed, 17 failed, 41 ignored across 16 target summaries. The pass total includes the five SKIPPED markers below. Those five provide no coverage for their skipped cases. Full output is in L:\XclTooling\neon-slot-1\tmp\pr589-suite.log.

Failures reported by -p xcl --lib (16) and -p xcl --test e2e (1)

  • concurrent_cache_misses_compile_once reported a cached-only wait of 308.9539 ms.
  • CreateComputePipelineState returned 0x80070057 in eleven tests. The tests were gpu_clamp_and_omod_per_instruction, gpu_f64_compares_with_nan, gpu_f64_literal_high_word, gpu_f64_class_compare, gpu_f64_math_random, gpu_f64_roots, gpu_f64_rounding_and_conversions, gpu_frexp_f64_exp_and_mant, gpu_ldexp_f64, gpu_rndne_f64, and gpu_float_compares_random.
  • gpu_nonfused_mad_and_mac_prevent_fma_contraction, gpu_ps_image_sample_offset_implicit_lod_between_mips, gpu_valu_16_and_64_bit, and gpu_wave64_ps_whole_wave_reductions reported output mismatches.
  • test_title_runs_and_game_folder_is_untouched reported that the dynamic RSSetDepthBiasX check drew blue where it expected green.
SKIPPED gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64
SKIPPED gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64
SKIPPED placed_title_textures_share_vram_and_preserve_pixels: tiled tier < 2
SKIPPED test_title_draws_with_a_root_signature_under_the_debug_layer: no d3d12SDKLayers.dll
SKIPPED uploads_start_from_each_subresources_state: no D3D12 debug layer (The application requested an operation that depends on an SDK component that is missing or mismatched. (0x887A002D))

Not tested

  • Suite on main, failure reproduction on another adapter, and a retail-title smoke run. The PR changes only PowerShell scripts.
  • Sample-backed cases for XCL_SAMPLE_RPF, XCL_SAMPLE_DLLS, XCL_SAMPLE_TTPF, XCL_SAMPLE_BK2, XCL_SAMPLE_BVH4, XCL_SAMPLE_AWC, XCL_SAMPLE_XG, and XCL_SAMPLE_DXC. These variables were unset.

AI use

  • T3 Code / Codex (gpt-6.2-sol) ran the build and tests and drafted this report. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified the counts against pr589-suite.log and published this report.
<!-- greyfinch-sync:ivall/xcl:comment:7150575114 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/589#issuecomment-7150575114). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-25T02:19:16Z. --- # PR #589 verification PR head `930749fdd66f92065de10a78197475070880a4c1`, fetched from `origin` via `refs/pull/589/head` and tested in a clean detached worktree. `origin/main` was `aaa093657bd96a146c05c0c1a9b61149fe761453`. `git merge-tree --write-tree origin/main HEAD` exited 0 and returned tree `4c4a3997c6c05044e469e652f06f76cbeacaa48d`. The merge was checked without changing the checkout. **What is in it** - `scripts/smoke.ps1` includes the exit status and both output streams when XCL exits before emitting a log path. `scripts/smoke-startup-errors.tests.ps1` exercises that case. **Tested** - STOR-WINLAB, Windows 11 Enterprise Evaluation build `26200.9974`, AMD Ryzen 7 3800X, Intel Arc A770 16 GiB with driver `32.0.101.9175`, `DoublePrecisionFloatShaderOps=0`, waves `8–32`. Host details supplied by the coordinator. Rust `1.100.0 (0ef1bc386 2026-11-09)` from `rustc -V`. DXC and DXIL `1.9.2609.5`. Unoptimized dev and test profiles with debug info disabled. - Outside the GPU lock, `scripts/smoke.ps1 -Game <fixture> -Seconds 1 -Xcl <fixture>\xcl.cmd` passed the four assertions from `scripts/smoke-startup-errors.tests.ps1`. The stand-in exited with code 2 before printing a log path. The exception included `XCL printed no log path`, `exit: 0x2`, `synthetic startup output`, and `xcl: synthetic startup failure`. The fixture used the same script body and assertions with nonrecursive cleanup. Diagnostic saved in `pr589-fixture.log`. - `cargo build --workspace` and `cargo test --workspace --no-run` both exited 0 outside the GPU lock. - One pass of `cargo test --workspace --no-fail-fast -- --test-threads=4 --show-output` via `L:\XclTooling\Invoke-ArcTest.ps1` exited 101. Cargo reported **667 passed, 17 failed, 41 ignored** across 16 target summaries. The pass total includes the five `SKIPPED` markers below. Those five provide no coverage for their skipped cases. Full output is in `L:\XclTooling\neon-slot-1\tmp\pr589-suite.log`. Failures reported by `-p xcl --lib` (16) and `-p xcl --test e2e` (1) - `concurrent_cache_misses_compile_once` reported a cached-only wait of 308.9539 ms. - `CreateComputePipelineState` returned `0x80070057` in eleven tests. The tests were `gpu_clamp_and_omod_per_instruction`, `gpu_f64_compares_with_nan`, `gpu_f64_literal_high_word`, `gpu_f64_class_compare`, `gpu_f64_math_random`, `gpu_f64_roots`, `gpu_f64_rounding_and_conversions`, `gpu_frexp_f64_exp_and_mant`, `gpu_ldexp_f64`, `gpu_rndne_f64`, and `gpu_float_compares_random`. - `gpu_nonfused_mad_and_mac_prevent_fma_contraction`, `gpu_ps_image_sample_offset_implicit_lod_between_mips`, `gpu_valu_16_and_64_bit`, and `gpu_wave64_ps_whole_wave_reductions` reported output mismatches. - `test_title_runs_and_game_folder_is_untouched` reported that the dynamic `RSSetDepthBiasX` check drew blue where it expected green. ```text SKIPPED gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64 SKIPPED gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64 SKIPPED placed_title_textures_share_vram_and_preserve_pixels: tiled tier < 2 SKIPPED test_title_draws_with_a_root_signature_under_the_debug_layer: no d3d12SDKLayers.dll SKIPPED uploads_start_from_each_subresources_state: no D3D12 debug layer (The application requested an operation that depends on an SDK component that is missing or mismatched. (0x887A002D)) ``` **Not tested** - Suite on `main`, failure reproduction on another adapter, and a retail-title smoke run. The PR changes only PowerShell scripts. - Sample-backed cases for `XCL_SAMPLE_RPF`, `XCL_SAMPLE_DLLS`, `XCL_SAMPLE_TTPF`, `XCL_SAMPLE_BK2`, `XCL_SAMPLE_BVH4`, `XCL_SAMPLE_AWC`, `XCL_SAMPLE_XG`, and `XCL_SAMPLE_DXC`. These variables were unset. **AI use** - T3 Code / Codex (`gpt-6.2-sol`) ran the build and tests and drafted this report. Coordinator #2 (T3 Code / Antigravity, `gemini-4-neon`) verified the counts against `pr589-suite.log` and published this report.
luckyteagirl commented 2026-11-25 04:10:26 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-25T03:21:51Z.


Tested

  • Exact PR head 930749fdd66f92065de10a78197475070880a4c1 on Windows 11 build 26200 with Windows PowerShell 5.1. This is a script-only change; the RX 6800M GPU was not exercised.
  • powershell -NoProfile -ExecutionPolicy Bypass -File scripts\smoke-startup-errors.tests.ps1: 1 script test passed, 0 failed. A mock launcher exited with code 2 before printing a log path; the failure diagnostic contained the exit code, stdout, and stderr.
  • python -m pytest scripts collected 0 tests on this older PR base, so it provides no additional verification here.

Not tested

  • A real XCL startup failure, retail title smoke, the Rust workspace suite, or PowerShell 7. No game files were used or uploaded.

AI use

OpenAI Codex (GPT-6, exact variant not exposed in this session) reviewed the exact diff, ran the startup-error test, checked its output, and drafted this report.

<!-- greyfinch-sync:ivall/xcl:comment:7151844383 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/589#issuecomment-7151844383). Originally posted by [luckyteagirl](https://github.com/luckyteagirl) on 2026-11-25T03:21:51Z. --- **Tested** - Exact PR head `930749fdd66f92065de10a78197475070880a4c1` on Windows 11 build 26200 with Windows PowerShell 5.1. This is a script-only change; the RX 6800M GPU was not exercised. - `powershell -NoProfile -ExecutionPolicy Bypass -File scripts\smoke-startup-errors.tests.ps1`: **1 script test passed, 0 failed**. A mock launcher exited with code 2 before printing a log path; the failure diagnostic contained the exit code, stdout, and stderr. - `python -m pytest scripts` collected **0 tests** on this older PR base, so it provides no additional verification here. **Not tested** - A real XCL startup failure, retail title smoke, the Rust workspace suite, or PowerShell 7. No game files were used or uploaded. **AI use** OpenAI Codex (GPT-6, exact variant not exposed in this session) reviewed the exact diff, ran the startup-error test, checked its output, and drafted this report.
DavidM1911 commented 2026-11-25 14:09:53 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T13:06:56Z.


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!

<!-- greyfinch-sync:ivall/xcl:comment:7163311521 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/589#issuecomment-7163311521). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T13:06:56Z. --- 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!
RavenCurseBurg commented 2026-11-26 01:05:36 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by RavenCurseBurg on 2026-11-26T00:06:36Z.


I merged 930749fdd66f92065de10a78197475070880a4c1 and #2471 at df177bb98c5edfc0e193636b18202df7c4c0da43 locally. The two edits to scripts/smoke.ps1 merged cleanly. Combined branch and integration assertion, compared with #2471.

A native stand-in emitted one line on stdout, another on stderr and exited 37 without a log path. The exception included 0x25 and both diagnostics. In a fresh -OutDir, the two stream files matched the child output including CRLF, and no manifest was created. The same fixture then ran a successful child with a log and recorded exit 0. The new assertion failed against #2471 alone, which omitted the exit code in the exception.

I ran scripts/smoke-startup-errors.tests.ps1, scripts/test-smoke-artifacts.tests.ps1, and scripts/smoke-title.tests.ps1 with -NoProfile -NonInteractive -ExecutionPolicy Bypass -File in Windows PowerShell 5.1 and PowerShell 7.6.9: six passes. Windows 11, Core i7-13700. Existing fixture coverage includes Windows adapter-name lookup. No real XCL binary, game, Rust build or GPU execution. OpenAI Codex (GPT-6) added the integration assertion and ran the tests.

<!-- greyfinch-sync:ivall/xcl:comment:7178404678 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/589#issuecomment-7178404678). Originally posted by [RavenCurseBurg](https://github.com/RavenCurseBurg) on 2026-11-26T00:06:36Z. --- I merged `930749fdd66f92065de10a78197475070880a4c1` and #2471 at `df177bb98c5edfc0e193636b18202df7c4c0da43` locally. The two edits to `scripts/smoke.ps1` merged cleanly. [Combined branch and integration assertion, compared with #2471](https://github.com/RavenCurseBurg/xcl/compare/df177bb98c5edfc0e193636b18202df7c4c0da43...6db8a4923c1bf3d7fc822724d727c71daba166ce). A native stand-in emitted one line on stdout, another on stderr and exited 37 without a log path. The exception included `0x25` and both diagnostics. In a fresh `-OutDir`, the two stream files matched the child output including CRLF, and no manifest was created. The same fixture then ran a successful child with a log and recorded exit 0. The new assertion failed against #2471 alone, which omitted the exit code in the exception. I ran `scripts/smoke-startup-errors.tests.ps1`, `scripts/test-smoke-artifacts.tests.ps1`, and `scripts/smoke-title.tests.ps1` with `-NoProfile -NonInteractive -ExecutionPolicy Bypass -File` in Windows PowerShell 5.1 and PowerShell 7.6.9: six passes. Windows 11, Core i7-13700. Existing fixture coverage includes Windows adapter-name lookup. No real XCL binary, game, Rust build or GPU execution. OpenAI Codex (GPT-6) added the integration assertion and ran the tests.
github-actions[bot] commented 2026-11-29 20:44:58 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-29T20:44:58Z.


Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

<!-- greyfinch-sync:ivall/xcl:comment:7262327157 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/589#issuecomment-7262327157). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-29T20:44:58Z. --- Nothing has happened on this PR for 3 days, so it is marked `stale` and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto `main` if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
Foniass commented 2026-12-01 03:45:25 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T03:45:25Z.


Triage (#1607) – head 930749f

No open or merged PR makes the same change: main still throws XCL printed no log path with stdout only. #2471 saves stderr into -OutDir artifacts and #1270 changes the same throw for killed runs, but neither adds the exit code and stderr to this error.
No problems found in the diff.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7300031758 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/589#issuecomment-7300031758). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T03:45:25Z. --- **Triage (#1607)** – head 930749f No open or merged PR makes the same change: main still throws `XCL printed no log path` with stdout only. #2471 saves stderr into -OutDir artifacts and #1270 changes the same throw for killed runs, but neither adds the exit code and stderr to this error. No problems found in the diff. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
grathepic commented 2026-12-03 01:36:18 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by grathepic on 2026-12-03T01:36:18Z.


merge-check

  • base: 078358a058
  • head: 930749fdd6
  • merge: clean (git diff --check exit 0; scripts/smoke.ps1 +4/-2, scripts/smoke-startup-errors.tests.ps1 +30/-0)
  • build: not run (Tier 0 script-only PR touching only scripts/; no Rust files changed; CI Build and test (Windows, no GPU) and PR description green)
  • tests: Windows PowerShell 5.1.26100.9818 on merged tree:
    • powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts\smoke-startup-errors.tests.ps1 — 1 passed, 0 failed (Passed: early failure reports the exit code, stdout and stderr.)
    • Negative control against unmodified main scripts\smoke.ps1: failed as expected (exit 1: Expected 'exit: 0x2' in the failure diagnostic. Got 'XCL printed no log path; its output: synthetic startup output'.)
    • powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts\smoke-title.tests.ps1 — 1 passed, 0 failed (smoke-title: ok)
    • powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts\test-smoke-artifacts.tests.ps1 — 1 passed, 0 failed (test-smoke-artifacts: all assertions passed successfully.)
  • title run: not required (Tier 0 script-only PR)
  • review: Read full diff (+34/-2) and full merged scripts/smoke.ps1. Cleanly hoists $code above if (-not $logLine) without duplicating logic and includes $code, $stdout, and the already-awaited $stderrTask.Result in the diagnostic. scripts/smoke-startup-errors.tests.ps1 restores environment variables and removes its temp directory in finally. No duplicates in #1607. (Not tested on PowerShell 7 on this host.)
  • performance: none (script-only; error path only)
  • verdict: safe to merge
  • hardware / tool and model: NVIDIA GeForce RTX 3080 (driver 32.0.16.2140), AMD Ryzen 7 5800X3D, Windows 11 (10.0.26300.0), Windows PowerShell 5.1.26100.9818 / Antigravity, Gemini 4 Neon
<!-- greyfinch-sync:ivall/xcl:comment:7364530800 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/589#issuecomment-7364530800). Originally posted by [grathepic](https://github.com/grathepic) on 2026-12-03T01:36:18Z. --- merge-check - base: 078358a058f7ba5d16690dba8dc4e55d2c88ae0a - head: 930749fdd66f92065de10a78197475070880a4c1 - merge: clean (`git diff --check` exit 0; `scripts/smoke.ps1` +4/-2, `scripts/smoke-startup-errors.tests.ps1` +30/-0) - build: not run (Tier 0 script-only PR touching only `scripts/`; no Rust files changed; CI `Build and test (Windows, no GPU)` and `PR description` green) - tests: Windows PowerShell `5.1.26100.9818` on merged tree: - `powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts\smoke-startup-errors.tests.ps1` — 1 passed, 0 failed (`Passed: early failure reports the exit code, stdout and stderr.`) - Negative control against unmodified `main` `scripts\smoke.ps1`: failed as expected (exit 1: `Expected 'exit: 0x2' in the failure diagnostic. Got 'XCL printed no log path; its output: synthetic startup output'.`) - `powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts\smoke-title.tests.ps1` — 1 passed, 0 failed (`smoke-title: ok`) - `powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts\test-smoke-artifacts.tests.ps1` — 1 passed, 0 failed (`test-smoke-artifacts: all assertions passed successfully.`) - title run: not required (Tier 0 script-only PR) - review: Read full diff (`+34/-2`) and full merged `scripts/smoke.ps1`. Cleanly hoists `$code` above `if (-not $logLine)` without duplicating logic and includes `$code`, `$stdout`, and the already-awaited `$stderrTask.Result` in the diagnostic. `scripts/smoke-startup-errors.tests.ps1` restores environment variables and removes its temp directory in `finally`. No duplicates in `#1607`. (Not tested on PowerShell 7 on this host.) - performance: none (script-only; error path only) - verdict: safe to merge - hardware / tool and model: NVIDIA GeForce RTX 3080 (driver 32.0.16.2140), AMD Ryzen 7 5800X3D, Windows 11 (10.0.26300.0), Windows PowerShell 5.1.26100.9818 / Antigravity, Gemini 4 Neon
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/589:upstream-pr/589'
git switch 'upstream-pr/589'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/589'
git switch 'upstream-pr/589'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/589'
git switch 'upstream-pr/589'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/589'
git switch 'main'
git merge --squash 'upstream-pr/589'
git switch 'main'
git merge --ff-only 'upstream-pr/589'
git switch 'main'
git merge 'upstream-pr/589'
git push origin 'main'
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
xcl-dev/xcl!584
No description provided.