Record early startup stages in the play log #4972

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

@⁠andrewpozdnakov7-jpg on GitHub · 2026-12-01 15:56 UTC · original
andrewpozdnakov7-jpg:codex2/fix/play-startup-progress → main · +22 −2 · 2 files · 1 commits · open

Refs #4966 and #4198.

What it changes

All five play logs in #4966 end at the settings header. That header is written before the launcher checks the cache or waits for automatic preload. The runtime tracing file opens later, so a header-only log cannot distinguish those stages. The attachment in #4198 has the same single settings line. The reporter saw two runner processes, which can occur during automatic preload. The current log cannot identify the stage in that session. Attachment check

Add short progress lines to the existing play log before checking the shader cache, waiting for preload, initializing the runtime, and starting the game. A returned game error records that the console has details. The entries contain fixed stage text. Launch decisions and the original error handling stay as before.

How it was tested

  • A focused Windows fixture ran the exact launcher closure from 5fabb46e and 6204235847c225dd5ca6892eb8e0ce7926944b43 with a synthetic play log and stub startup operations. Main left the header alone in both cases. The patch wrote three milestones on a direct start and five on a preload followed by a returned error. Each milestone was readable before the corresponding step.
  • cargo xtask policy --staged accepted both files.
  • Main's CI check has five existing Clippy errors tracked in #4708.

Checked for overlap

  • Searched issues and PRs for #4966, header-only play logs and preload progress. #4967 reports a host pipeline library save failure, which is a separate part of preload.

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.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-12-01 15:56 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4971) `andrewpozdnakov7-jpg:codex2/fix/play-startup-progress` → `main` · +22 −2 · 2 files · 1 commits · open Refs #4966 and #4198. ## What it changes All five play logs in #4966 end at the settings header. That header is written before the launcher checks the cache or waits for automatic preload. The runtime tracing file opens later, so a header-only log cannot distinguish those stages. The attachment in #4198 has the same single settings line. The reporter saw two runner processes, which can occur during automatic preload. The current log cannot identify the stage in that session. [Attachment check](https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/issues/4198) Add short progress lines to the existing play log before checking the shader cache, waiting for preload, initializing the runtime, and starting the game. A returned game error records that the console has details. The entries contain fixed stage text. Launch decisions and the original error handling stay as before. ## How it was tested - A focused Windows fixture ran the exact launcher closure from `5fabb46e` and `6204235847c225dd5ca6892eb8e0ce7926944b43` with a synthetic play log and stub startup operations. Main left the header alone in both cases. The patch wrote three milestones on a direct start and five on a preload followed by a returned error. Each milestone was readable before the corresponding step. - `cargo xtask policy --staged` accepted both files. - 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] Searched issues and PRs for #4966, header-only play logs and preload progress. #4967 reports a host pipeline library save failure, which is a separate part of preload. 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 16:01:15 +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/4972/head:github-bot/gh-4971'
git switch 'github-bot/gh-4971'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-4971'
git switch 'github-bot/gh-4971'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-4971'
git switch 'github-bot/gh-4971'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-4971'
git switch 'main'
git merge --squash 'github-bot/gh-4971'
git switch 'main'
git merge --ff-only 'github-bot/gh-4971'
git switch 'main'
git merge 'github-bot/gh-4971'
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!4972
No description provided.