Minimize a private log console after startup #5010
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/5010"
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by andrewpozdnakov7-jpg on 2026-12-01T17:15:27Z.
Refs #5002.
What it changes
victory.exe play --set VICTORY_MINIMIZE_CONSOLE=1can minimize a private classic Windows log console after the first accepted present. This leaves startup output visible during preparation and keeps logging after the window is minimized. The window can still be opened from the taskbar.The call is asynchronous and the console must belong to this process alone. A shared shell, a Windows Terminal pseudoconsole or a process with no console keeps its current window behavior. Microsoft's console API returns only a non-displayed handle for a pseudoconsole. Console window documentation
How it was tested
cargo check --locked -p victory-gpupassed on2be10963.cargo xtask policy --stagedpassed. The patch combines cleanly with #4992.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.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by andrewpozdnakov7-jpg on 2026-12-01T18:39:52Z.
The console hook applies locally to the current meter at
7724fb03. Windowscargo check --locked -p victory-gpuand the six focused console-routing scenarios passed. The staged asset check stopped onhost.rs: that file is 1,064,517 bytes on main, already above the 1,048,576-byte limit. The local result is 1,065,663 bytes.The tested update is pending the host file size fix. This PR's published head is still
2be10963.#5064 moves the existing present queue into its own module and brings the source file below the limit. Its Windows crate check and staged asset check passed.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.