Keep separate logs for PowerShell launches in the same second #4832
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!4832
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4831"
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 10:32 UTC · original
andrewpozdnakov7-jpg:codex2/fix/distinct-script-logs→main· +4 −4 · 4 files · 1 commits · openWhat it changes
The PowerShell launcher named its log by the second. Two starts in the same second using the same
VICTORY_HOMEselect the same file. The later writer can overwrite the first log.Add the launcher process ID to the filename, as
victory playalready does for its own logs. Update the existing help text so reports can identify logs from both formats.How it was tested
mainat5fabb46eand releasev2026.11.30.03each kept one file containing only the second record.5e2874e074badbd00d367ff8d4aa5a7ddfd7564ekept two files, one with each record. PowerShell parsing andcargo xtask policy --stagedpassed. The workflow's change is limited to its existing help text.Checked for overlap
Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding the change into another commit.AI-assisted with OpenAI Codex.
@Yoshi-233 on GitHub · 2026-12-01 10:51 UTC · original
Tested
5e2874eon Windows PowerShell 5.1 with two concurrent-WarmUsedlaunchers sharing one temporaryVICTORY_HOME. Both reached log creation in the same millisecond. On main (5fabb46), only one child completed and one log survived. With this patch, both launchers exited 0, and each PID-specific log contained only its own child's marker. The warm-up child was a stub.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.