Return the runner exit code from play-rig #5051
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!5051
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-5050"
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?
@andrewpozdnakov7-jpg on GitHub · 2026-12-01 18:21 UTC · original
andrewpozdnakov7-jpg:codex2/fix/rig-exit-status→main· +3 −0 · 1 files · 1 commits · openWhat it changes
play-rig.ps1saves the exit code of thevictory.exeprocess it launched. When the script runs throughpowershell -File, the shell can still return 0 after a native failure. A launcher calling the script can then report a successful run.Return the recorded code after the watcher stops and the script writes its run report. This reports the initial runner's result, which is the process the script waits on directly.
How it was tested
powershell.exe -File, with a native stand-in and stubbed log discovery and reporting.5fabb46e): the shell returned 0 for native exit 17 with a log and native exit 18 without a log.737d443f): the shell returned 17 and 18 respectively. The log summary and no-log message were still reached. Native exit 0 returned 0 and still wrote its summary.cargo xtask policy --stagedon the changed script andgit diff --checkpassed. The fixture uses no GPU or game data.Checked for overlap
Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding this change into another commit.AI-assisted with OpenAI Codex.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.