Log title startup stages before calling title code #3628

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

@⁠ThePerfomance on GitHub · 2026-11-30 02:10 UTC · original
ThePerfomance:diagnostics/title-startup-log → main · +10 −1 · 1 files · 1 commits · open

What it changes

A stall after the title is mapped can leave the same final log line whether the launcher is starting the title thread, attaching a DLL, running TLS callbacks, or entering the title. Add INFO markers just before those boundaries and record the exit code if the entry point returns. The existing error and return paths are preserved.

How it was tested

  • Windows, with a synthetic PE fixture and INFO logging. A fixture that returns 42 records the startup markers and the return code. A fixture that intentionally stalls in its entry point leaves "running title entry point" as the final line.
  • All 79 tests from cargo test --locked -p victory-loader passed. git diff --check passed.
  • The synthetic run uses no game data and exercises the loader on the CPU.

Checked for overlap

  • Searched open PRs for startup tracing and reviewed the related changes. #3091 records startup errors after they return to the launcher. #3074 adds loading diagnostics and names images for crash reports.

AI-assisted contribution using OpenAI Codex.

**@⁠ThePerfomance** on GitHub · 2026-11-30 02:10 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3628) `ThePerfomance:diagnostics/title-startup-log` → `main` · +10 −1 · 1 files · 1 commits · open ## What it changes A stall after the title is mapped can leave the same final log line whether the launcher is starting the title thread, attaching a DLL, running TLS callbacks, or entering the title. Add INFO markers just before those boundaries and record the exit code if the entry point returns. The existing error and return paths are preserved. ## How it was tested - Windows, with a synthetic PE fixture and INFO logging. A fixture that returns 42 records the startup markers and the return code. A fixture that intentionally stalls in its entry point leaves "running title entry point" as the final line. - All 79 tests from `cargo test --locked -p victory-loader` passed. `git diff --check` passed. - The synthetic run uses no game data and exercises the loader on the CPU. ## Checked for overlap - [x] Searched open PRs for startup tracing and reviewed the related changes. #3091 records startup errors after they return to the launcher. #3074 adds loading diagnostics and names images for crash reports. AI-assisted contribution using OpenAI Codex.
Record the thread, DLL and TLS boundaries before entering title code so startup hangs leave a useful last event.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 02:15:40 +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/3628/head:github-bot/gh-3628'
git switch 'github-bot/gh-3628'

Merge

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