Tools: record bounded Windows playtests #2107

Closed
AwsAli05 wants to merge 5 commits from upstream-pr/2109 into main
AwsAli05 commented 2026-11-25 05:09:12 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by AwsAli05 on 2026-11-25T05:09:12Z.


What changed

Add a Windows playtest runner for a caller's diagnostics build, title and test config. It passes timed keys through the existing diagnostics input, bounds the run by time and available virtual memory, and saves launcher output and frame-rate samples per run. The frame-rate samples include draw counts so a fast menu can be distinguished from a slower scene. The launcher exit code and runner stop reason are recorded separately.

Verification

  • On Windows PowerShell 5.1, used a synthetic launcher to check paths containing spaces, frame sample parsing, propagation of exit 42, the time limit (124), and the low-memory stop (125).
  • On Windows 11 with an RTX 5070 Ti, a diagnostics build recorded eight FPS samples, streamed the first story archives, and stopped at the 2 GiB threshold as requested. The run stopped during loading.
  • Staged asset policy and git diff checks passed.

AI-assisted. The change contains only the script and README instructions.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6597662880 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2109). Originally posted by [AwsAli05](https://github.com/AwsAli05) on 2026-11-25T05:09:12Z. --- ## What changed Add a Windows playtest runner for a caller's diagnostics build, title and test config. It passes timed keys through the existing diagnostics input, bounds the run by time and available virtual memory, and saves launcher output and frame-rate samples per run. The frame-rate samples include draw counts so a fast menu can be distinguished from a slower scene. The launcher exit code and runner stop reason are recorded separately. ## Verification - On Windows PowerShell 5.1, used a synthetic launcher to check paths containing spaces, frame sample parsing, propagation of exit 42, the time limit (124), and the low-memory stop (125). - On Windows 11 with an RTX 5070 Ti, a diagnostics build recorded eight FPS samples, streamed the first story archives, and stopped at the 2 GiB threshold as requested. The run stopped during loading. - Staged asset policy and git diff checks passed. AI-assisted. The change contains only the script and README instructions.
DenRakEiw commented 2026-11-25 06:02:30 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by DenRakEiw on 2026-11-25T05:18:16Z.

Review: APPROVED


Verified locally merged onto origin/main (940d32f, Windows 11 x64):

  • cargo xtask policy — ok (184 files ok)

Clean bounded Windows playtest recording script (tools/playtest.ps1) documented in README.md. Looks good.

AI-assisted (Gemini 4 Neon).

<!-- greyfinch-sync:Marvisak/VIctory:review:6052218999 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2109#pullrequestreview-6052218999). Originally posted by [DenRakEiw](https://github.com/DenRakEiw) on 2026-11-25T05:18:16Z. **Review:** APPROVED --- Verified locally merged onto `origin/main` (`940d32f`, Windows 11 x64): - `cargo xtask policy` — ok (`184 files ok`) Clean bounded Windows playtest recording script (`tools/playtest.ps1`) documented in `README.md`. Looks good. AI-assisted (Gemini 4 Neon).
catminou4 commented 2026-11-25 06:02:30 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-25T05:48:54Z.

Review: COMMENTED


Static review only: docs/tools change — no crate code.

Bounded Windows playtest recording for tools — reproducible perf-testing workflow; pairs with #1625's shader-coverage CLI.

<!-- greyfinch-sync:Marvisak/VIctory:review:6052483232 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2109#pullrequestreview-6052483232). Originally posted by [catminou4](https://github.com/catminou4) on 2026-11-25T05:48:54Z. **Review:** COMMENTED --- Static review only: docs/tools change — no crate code. Bounded Windows playtest recording for tools — reproducible perf-testing workflow; pairs with #1625's shader-coverage CLI.
Marvisak commented 2026-11-25 11:05:30 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T10:41:07Z.


Automated triage for the maintainers.

This adds tools/playtest.ps1, a PowerShell runner that starts the launcher, kills it at a time or memory limit and writes a summary.json, plus 19 lines in README.md. CI passes.

This needs the maintainer's decision. The repo has no scripts or tools/ directory today, and this one spawns and kills processes and polls WMI. Whether the project wants to keep a playtest harness is their call. If it stays, the README section should be cut to a line or two, since repo docs stay short. Also, the frame-line regex in the script depends on the exact wording of victory_gpu::host's log line, so any change to that line breaks the script without an error.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7160033841 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2109#issuecomment-7160033841). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T10:41:07Z. --- <!-- victory-triage v1 head=8b564830aa775b5d6bf2fb7a6bece252ca1bcf14 verdict=needs-work at=2026-11-25T10:40:59Z --> Automated triage for the maintainers. This adds `tools/playtest.ps1`, a PowerShell runner that starts the launcher, kills it at a time or memory limit and writes a `summary.json`, plus 19 lines in README.md. CI passes. This needs the maintainer's decision. The repo has no scripts or `tools/` directory today, and this one spawns and kills processes and polls WMI. Whether the project wants to keep a playtest harness is their call. If it stays, the README section should be cut to a line or two, since repo docs stay short. Also, the frame-line regex in the script depends on the exact wording of `victory_gpu::host`'s log line, so any change to that line breaks the script without an error. --- _Generated by [Claude Code](https://claude.ai/code)_
upstream-sync closed this pull request 2026-11-25 23:03:46 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
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.

Reference
Marvisak/VIctory!2107
No description provided.