Drop the invalid play.ps1 skip default and fail on missing executables #78

Manually merged
github merged 1 commit from github-bot/gh-78 into main 2026-11-26 08:21:47 +00:00 AGit
Owner

@⁠feanorsun on GitHub · 2026-11-26 02:18 UTC · original
feanorsun:fix/play-skip-default-and-exit-codes → main · +3 −3 · 1 files · 1 commits · merged 2026-11-26 08:17 UTC

Refs #25

  • Item 3. Remove the VICTORY_SKIP_PIPELINES=none preset from scripts/play.ps1. The Rust parser warns on none and already treats an unset variable as an empty skip list. Users can still supply comma-separated, 16-digit hexadecimal hashes through -More.
  • Item 5. Exit with status 1 after printing the existing message when the build is missing or -Exe names a missing file. Both paths previously returned status 0 to the caller.

Verification

Ran each missing-file case before and after the change in a fresh Windows PowerShell process with -NoProfile -File, using temporary copies of the launcher. Both exit codes changed from 0 to 1. The missing-build case printed the build hint. With a zero-byte build placeholder, the missing--Exe case printed the missing path and exited before invoking the placeholder.

An isolated PowerShell AST check compared the effective settings across eight combinations of -Safe, -RayTracing and -More per revision. The default skip list is now unset, explicit hashes pass through verbatim, and all other preset values matched. git diff --check passed.

No Rust build, game launch, GPU, D3D12 or WARP execution was performed.

**@⁠feanorsun** on GitHub · 2026-11-26 02:18 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/78) `feanorsun:fix/play-skip-default-and-exit-codes` → `main` · +3 −3 · 1 files · 1 commits · merged 2026-11-26 08:17 UTC Refs #25 - **Item 3.** Remove the `VICTORY_SKIP_PIPELINES=none` preset from `scripts/play.ps1`. The Rust parser warns on `none` and already treats an unset variable as an empty skip list. Users can still supply comma-separated, 16-digit hexadecimal hashes through `-More`. - **Item 5.** Exit with status 1 after printing the existing message when the build is missing or `-Exe` names a missing file. Both paths previously returned status 0 to the caller. ## Verification Ran each missing-file case before and after the change in a fresh Windows PowerShell process with `-NoProfile -File`, using temporary copies of the launcher. Both exit codes changed from 0 to 1. The missing-build case printed the build hint. With a zero-byte build placeholder, the missing-`-Exe` case printed the missing path and exited before invoking the placeholder. An isolated PowerShell AST check compared the effective settings across eight combinations of `-Safe`, `-RayTracing` and `-More` per revision. The default skip list is now unset, explicit hashes pass through verbatim, and all other preset values matched. `git diff --check` passed. No Rust build, game launch, GPU, D3D12 or WARP execution was performed.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:31:49 +00:00
Author
Owner

@⁠avatarmanz on GitHub · 2026-11-26 07:54 UTC · original

Merged into main in the next push (tests pass); thanks.

**@⁠avatarmanz** on GitHub · 2026-11-26 07:54 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/78#issuecomment-7185972627) Merged into main in the next push (tests pass); thanks.
github manually merged commit 4651f89c01 into main 2026-11-26 08:21:47 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.