Scripts: smoke.ps1 finds xcl.exe on Windows PowerShell 5.1 #629
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!629
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/629/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Ryongen on GitHub · 2026-11-24 02:41 UTC · original
Ryongen:scripts/smoke-ps51→main· +3 −1 · 1 files · 1 commits · closed without mergingOn Windows PowerShell 5.1,
$PSScriptRootis empty while parameter defaults are evaluated, sosmoke.ps1 -Game <folder>fails inJoin-Pathunless-Xclis given. The default is now set afterparam().What is in it
scripts/smoke.ps1:-Xcldefaults to..\target\release\xcl.exenext to the script, resolved in the body.Tested
powershell -File scripts/smoke.ps1 -Game <game folder> -Seconds 20without-Xcl: before,Join-Patherror on the empty path; after, a fullxcl-smokeblock (exit 0x0, 284 frames).cargo testnot rerun for this branch: it changes only the script.Not tested
AI use
github-bot referenced this pull request2026-11-26 04:59:09 +00:00
@RandomGithub12309 on GitHub · 2026-11-24 04:39 UTC · original
Independent test report and review of
7728d1906cb923c005e04960adfd78a5931a7a47:Tested
powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\smoke.ps1 -Game 'Z:\missing' -Seconds 1(run without-Xclfrom repo root,scripts\, andcrates\)target\release\xcl.exein all three working directories and executedxcl.exe(failing cleanly onZ:\missingwithXCL printed no log pathinstead of failing onno ..\target\release\xcl.exe).Review
$PSScriptRootresolution out ofparam(). Found no bugs.Not tested
pwsh), full 60 s retail game run on this commitAI use
7728d19, reviewed the diff, ran the PowerShell 5.1 checks, and wrote this report.@futurepro62 on GitHub · 2026-11-24 04:44 UTC · original
Tested exact head
7728d19. This fixes the same$PSScriptRootproblem as #593, so I ran #593's regression test (scripts/smoke-default-xcl.tests.ps1from3766ff0) against this PR'ssmoke.ps1.Tested
smoke.ps1: passed (exit 0). With the parent9ce2070'ssmoke.ps1: fails (exit 1) with theJoin-Pathempty-string error. So both PRs fix the same failure; only one of them should land.My Game Folderand a fakexcl.cmdthat prints a log path (the same kind of fixturesmoke-environment.tests.ps1uses),smoke.ps1 -Game <folder> -Seconds 1 -Xcl <fake>, on Windows PowerShell 5.1: prints thexcl-smoke v1block (exit: 0x0).Not tested
AI use
@upipibi on GitHub · 2026-11-24 05:41 UTC · original
Full-suite run on this PR's head
7728d19, for the counts CONTRIBUTING.md item 2 asks for:Tested
cargo build --workspacethencargo test --workspace --no-fail-fast -- --test-threads=4: 684 passed, 0 failed, 41 ignored (16 test binaries, the e2e title included)gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware(no wave64)Not tested: AMD / wave64; no retail title (this PR changes only
scripts/smoke.ps1).AI-assisted (Claude Code).
@SpaghettiMaster545 on GitHub · 2026-11-24 10:43 UTC · original
This is the same change as #593, which was opened 28 minutes earlier (02:13 vs 02:41 UTC) and moves the
-Xcldefault into the script body in the same way.#593 also includes a regression test,
scripts/smoke-default-xcl.tests.ps1. It starts the script with-Fileand without-Xcl, then checks the resolved path. The PowerShell 7 output normalisation that reviewers found is in it as well. @futurepro62 ran that test against this PR's script above.CONTRIBUTING says that when several PRs solve the same problem, all but one are closed. I'm raising it here so the maintainer can choose one.
AI-assisted (Claude Code).
@tiagonleal on GitHub · 2026-11-24 12:59 UTC · original
Tested #593 (
0a5f23c) and #629 (7728d19) on Windows PowerShell 5.1 (powershell.exe, Windows 11 Pro 26300), eachsmoke.ps1started with-Fileand no-Xclfrom a checkout without a release build:smoke.ps1frommain47efa2eJoin-Path : Cannot bind argument to parameter 'Path' because it is an empty string.no …\scripts\..\target\release\xcl.exe - build it first (…)#593's
scripts/smoke-default-xcl.tests.ps1on 5.1: exits 1 withmain'ssmoke.ps1, 0 with #593's. Thesmoke.ps1change is the same in both PRs (#593 was opened first and adds the test).Not tested: PowerShell 7; a full smoke run through either default (I pass
-Xclfor those).AI-assisted (Claude Code).
@ivall on GitHub · 2026-11-24 20:43 UTC · original
Closing this as a duplicate: #593 makes the same change and was opened first (smoke.ps1 sets the default of -Xcl in its body). It stays open and is the one that will be reviewed and merged.
This says nothing about the quality of the code here. I compared the two diffs; the pair was also found by independent checks in #1607. If this PR covers a case #593 does not, or #593 is closed without being merged, say so and I'll reopen it. A test that is only here is welcome on #593.
Thank you for the work.
AI use: Claude Code (Claude Opus 5.5) compared the diffs and wrote this comment; the decision is the maintainer's.
Pull request closed