Start from repository paths containing square brackets #4817

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

@⁠andrewpozdnakov7-jpg on GitHub · 2026-12-01 10:04 UTC · original
andrewpozdnakov7-jpg:codex2/fix/launcher-literal-repository → main · +4 −4 · 1 files · 1 commits · open

What it changes

Windows allows square brackets in folder names. PowerShell's wildcard lookup treats them as a character set. When the repository folder contains brackets, the launcher can miss an existing build and fail to enter the repository.

Use literal paths when checking for the built executable and entering the repository for building or running.

How it was tested

  • Windows PowerShell 5.1 with a synthetic executable. The fixture invokes the actual launcher in warm-only mode from a repository directory called Build [fixture].
  • Before: main at 5fabb46e and release v2026.11.30.03 attempted to build despite an existing executable. Push-Location then reported PathNotFound. Both exited with code 1.
  • After: 7639c8ce629c18e189957db16585ed423e829721 found the existing executable and passed warm --used to it from the correct working directory, exiting with code 0. The same check passed with a plain directory name.
  • PowerShell parsing and cargo xtask policy --staged passed for the one changed script. In-game testing is pending.
  • Main's CI check has five existing Clippy errors tracked in #4708.

Checked for overlap

  • I searched issues and PRs for the symptom and reviewed the launcher changes in related PRs. #2859 concerns characters Windows rejects in configured paths. #4816 changes performance defaults in the same launcher.

Please retain the Git author on cherry-pick or rebase, or add Co-authored-by: andrewpozdnakov7-jpg <[email protected]> if folding this into another commit.

AI-assisted with OpenAI Codex.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-12-01 10:04 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4816) `andrewpozdnakov7-jpg:codex2/fix/launcher-literal-repository` → `main` · +4 −4 · 1 files · 1 commits · open ## What it changes Windows allows square brackets in folder names. PowerShell's wildcard lookup treats them as a character set. When the repository folder contains brackets, the launcher can miss an existing build and fail to enter the repository. Use literal paths when checking for the built executable and entering the repository for building or running. ## How it was tested - Windows PowerShell 5.1 with a synthetic executable. The fixture invokes the actual launcher in warm-only mode from a repository directory called `Build [fixture]`. - Before: `main` at `5fabb46e` and release `v2026.11.30.03` attempted to build despite an existing executable. `Push-Location` then reported `PathNotFound`. Both exited with code 1. - After: `7639c8ce629c18e189957db16585ed423e829721` found the existing executable and passed `warm --used` to it from the correct working directory, exiting with code 0. The same check passed with a plain directory name. - PowerShell parsing and `cargo xtask policy --staged` passed for the one changed script. In-game testing is pending. - Main's [CI check](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46563306780/job/142355972539) has five existing Clippy errors tracked in #4708. ## Checked for overlap - [x] I searched issues and PRs for the symptom and reviewed the launcher changes in related PRs. #2859 concerns characters Windows rejects in configured paths. #4816 changes performance defaults in the same launcher. Please retain the Git author on cherry-pick or rebase, or add `Co-authored-by: andrewpozdnakov7-jpg <[email protected]>` if folding this into another commit. AI-assisted with OpenAI Codex.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 10:07:52 +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/4817/head:github-bot/gh-4816'
git switch 'github-bot/gh-4816'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-4816'
git switch 'github-bot/gh-4816'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-4816'
git switch 'github-bot/gh-4816'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-4816'
git switch 'main'
git merge --squash 'github-bot/gh-4816'
git switch 'main'
git merge --ff-only 'github-bot/gh-4816'
git switch 'main'
git merge 'github-bot/gh-4816'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!4817
No description provided.