Record startup errors in the play log #3091
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!3091
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3091"
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?
@Kitrae on GitHub · 2026-11-29 19:57 UTC · original
Kitrae:fix/startup-error-log→main· +40 −3 · 2 files · 1 commits · closed without mergingRelated to #3026.
What it changes
When the built-in launcher creates a play log and startup then returns an error, the error chain now goes into that same log. The launcher writes it synchronously before exit so it reaches the file even if the background tracing writer has yet to drain its queue. The original console error and exit status are preserved.
How it was tested
victory.toml. No game data or rendering was involved.victory playexited with code 1 and showed the TOML error on stderr, while the play log contained only its settings header.cargo test --locked -p victory: 83 passed, including the regression test.git diff --checkand the asset-policy check for the two changed files passed. The repository-wide policy scan flags an unchanged file,crates/victory-loader/src/heap_sites/frame_users.rs.Checked for overlap
AI-assisted contribution using OpenAI Codex.
@andrewpozdnakov7-jpg on GitHub · 2026-12-01 10:06 UTC · original
I cherry-picked
082b153onto currentmain5fabb46as9d1c7cf, preserving Kitrae as Git author. I kept both current preload markers inReadyand carried the absolute play-log path alongside them. Only the two source files from the original patch changed.On Windows/MSVC,
cargo test --locked -p victory --bin victory startup_error_is_appended_to_the_play_log --jobs 2passed. It checks that the settings header survives and that the error chain is appended. The staged asset policy check also passed for both files. The run used a temporary log and no game inputs.The rebased branch is available for this PR.
Pull request closed