Resolve relative game path in smoke runs #2684

Open
github-bot wants to merge 1 commit from github-bot/gh-2684 into main AGit
Owner

@⁠luckyteagirl on GitHub · 2026-11-26 06:12 UTC · original
luckyteagirl:codex/smoke-resolve-relative-game → main · +43 −0 · 2 files · 1 commits · open

smoke.ps1 passes -Game to a native launcher. When the caller has changed PowerShell's location, a relative game path can resolve differently in the child, and the same folder can get a different title hash.

What is in it

  • Resolve relative -Game paths against the caller's PowerShell location before computing the title hash and launching XCL.
  • Add a stand-in launcher fixture for a path with spaces and for -Game ..

Tested

  • The focused fixture failed on main b49be183 and passed at this patch on Windows PowerShell 5.1 and PowerShell 7. Absolute, relative, and . forms of the same folder produced the same title hash.
  • The existing smoke title and artifact fixtures passed on both shells.
  • Combined cleanly with open #2672, which resolves relative -Xcl; both focused fixtures and a temporary case with both arguments relative passed on both shells.
  • git diff --check passed.

Regression run

  • Not applicable. The change affects only the smoke script and uses a stand-in launcher.

Not tested

  • A retail title, native xcl.exe, or GPU tests.

AI use

  • Codex (GPT-6.2 Sol) implemented and reviewed the fix and ran the PowerShell fixtures.
**@⁠luckyteagirl** on GitHub · 2026-11-26 06:12 UTC · [original](https://github.com/xcl-dev/xcl/pull/2684) `luckyteagirl:codex/smoke-resolve-relative-game` → `main` · +43 −0 · 2 files · 1 commits · open `smoke.ps1` passes `-Game` to a native launcher. When the caller has changed PowerShell's location, a relative game path can resolve differently in the child, and the same folder can get a different title hash. **What is in it** - Resolve relative `-Game` paths against the caller's PowerShell location before computing the title hash and launching XCL. - Add a stand-in launcher fixture for a path with spaces and for `-Game .`. **Tested** - The focused fixture failed on main `b49be183` and passed at this patch on Windows PowerShell 5.1 and PowerShell 7. Absolute, relative, and `.` forms of the same folder produced the same title hash. - The existing smoke title and artifact fixtures passed on both shells. - Combined cleanly with open #2672, which resolves relative `-Xcl`; both focused fixtures and a temporary case with both arguments relative passed on both shells. - `git diff --check` passed. **Regression run** - Not applicable. The change affects only the smoke script and uses a stand-in launcher. **Not tested** - A retail title, native `xcl.exe`, or GPU tests. **AI use** - Codex (GPT-6.2 Sol) implemented and reviewed the fix and ran the PowerShell fixtures.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:15:31 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

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

Merge

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