Move the present queue into its own host module #5065

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

@⁠andrewpozdnakov7-jpg on GitHub · 2026-12-01 18:45 UTC · original
andrewpozdnakov7-jpg:codex2/fix/host-presentation-module → main · +553 −554 · 2 files · 1 commits · open

Refs #5011.

What it changes

host.rs on main is 1,064,517 bytes. The asset policy allows 1,048,576 bytes per source file, so staged changes to that file currently fail the check.

Move the existing inline present_aside module to host/present_aside.rs. The module still has the same name, parent, visibility and contents apart from indentation. host.rs is 1,038,138 bytes after the move.

How it was tested

  • On 440ae0cc, verified that the staged module matched the previous inline body after removing one level of indentation. The only change to the rest of host.rs was its module declaration.

  • Windows cargo check --locked -p victory-gpu, cargo xtask policy --staged for both files, and git diff --check passed. No GPU or game run was needed for the move.

  • CI check stops at Clippy findings in the unchanged victory-shader files lds_batch.rs and oracle64.rs.

Checked for overlap

  • Searched open issues and pull requests for the host source size limit and module extraction. #1988 and #2201 touch the inline presentation code. Any remaining changes inside the module from those branches would go in the new file.

Please retain the Git author on cherry-pick or rebase, or add Co-authored-by: andrewpozdnakov7-jpg <[email protected]> if folding this change into another commit.

AI-assisted with OpenAI Codex.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-12-01 18:45 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/5064) `andrewpozdnakov7-jpg:codex2/fix/host-presentation-module` → `main` · +553 −554 · 2 files · 1 commits · open Refs #5011. ## What it changes `host.rs` on main is 1,064,517 bytes. The asset policy allows 1,048,576 bytes per source file, so staged changes to that file currently fail the check. Move the existing inline `present_aside` module to `host/present_aside.rs`. The module still has the same name, parent, visibility and contents apart from indentation. `host.rs` is 1,038,138 bytes after the move. ## How it was tested - On `440ae0cc`, verified that the staged module matched the previous inline body after removing one level of indentation. The only change to the rest of `host.rs` was its module declaration. - Windows `cargo check --locked -p victory-gpu`, `cargo xtask policy --staged` for both files, and `git diff --check` passed. No GPU or game run was needed for the move. - [CI check](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46718570038/job/142897354616) stops at Clippy findings in the unchanged `victory-shader` files `lds_batch.rs` and `oracle64.rs`. ## Checked for overlap - [x] Searched open issues and pull requests for the host source size limit and module extraction. #1988 and #2201 touch the inline presentation code. Any remaining changes inside the module from those branches would go in the new file. Please retain the Git author on cherry-pick or rebase, or add `Co-authored-by: andrewpozdnakov7-jpg <[email protected]>` if folding this change into another commit. AI-assisted with OpenAI Codex.
Keep host.rs below the 1 MiB source file limit by moving its existing inline present_aside module to the matching source file.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 18:50:01 +00:00
This pull request can be merged automatically.
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/5065/head:github-bot/gh-5064'
git switch 'github-bot/gh-5064'

Merge

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