Resolve relative smoke launcher path #2672

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

@⁠luckyteagirl on GitHub · 2026-11-26 05:44 UTC · original
luckyteagirl:codex/smoke-resolve-relative-xcl → main · +24 −0 · 2 files · 1 commits · open

smoke.ps1 checks a relative -Xcl path against PowerShell's current location. The process launcher can resolve that same string from a different working directory after Push-Location, so the launcher fails to start or starts the wrong file.

What is in it

  • Resolve -Xcl to a filesystem path before passing it to the process launcher.
  • Add a mock launcher regression that changes PowerShell's location and passes -Xcl .\xcl.cmd.

Tested

  • The relative launcher fixture failed against main b49be183 on PowerShell 5.1 and 7.6.9, and passed with the patch.
  • scripts/test-smoke-relative-xcl.tests.ps1 and scripts/test-smoke-artifacts.tests.ps1 passed on both shells. A separate run with spaces in the mock launcher directory also passed on both.
  • git diff --check passed.

Regression run

  • Not applicable. This changes only the smoke script and its test.

Not tested

  • A retail run or the Rust/GPU suite. The regression runs a mock .cmd launcher.

AI use

  • Codex (GPT-6.2 Sol) implemented the change and test, verified behavior against main, and drafted this description.
**@⁠luckyteagirl** on GitHub · 2026-11-26 05:44 UTC · [original](https://github.com/xcl-dev/xcl/pull/2672) `luckyteagirl:codex/smoke-resolve-relative-xcl` → `main` · +24 −0 · 2 files · 1 commits · open `smoke.ps1` checks a relative `-Xcl` path against PowerShell's current location. The process launcher can resolve that same string from a different working directory after `Push-Location`, so the launcher fails to start or starts the wrong file. **What is in it** - Resolve `-Xcl` to a filesystem path before passing it to the process launcher. - Add a mock launcher regression that changes PowerShell's location and passes `-Xcl .\xcl.cmd`. **Tested** - The relative launcher fixture failed against main `b49be183` on PowerShell 5.1 and 7.6.9, and passed with the patch. - `scripts/test-smoke-relative-xcl.tests.ps1` and `scripts/test-smoke-artifacts.tests.ps1` passed on both shells. A separate run with spaces in the mock launcher directory also passed on both. - `git diff --check` passed. **Regression run** - Not applicable. This changes only the smoke script and its test. **Not tested** - A retail run or the Rust/GPU suite. The regression runs a mock `.cmd` launcher. **AI use** - Codex (GPT-6.2 Sol) implemented the change and test, verified behavior against main, and drafted this description.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:15:07 +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/2672/head:github-bot/gh-2672'
git switch 'github-bot/gh-2672'

Merge

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