docs: document VICTORY_TRAP_LOG and VICTORY_AUDIO_CAPTURE_OF in the Debugging table #2379

Closed
github-bot wants to merge 1 commit from github-bot/gh-2379 into main AGit
Owner

@⁠cloph-dsp on GitHub · 2026-11-25 12:17 UTC · original
cloph-dsp:docs/readme-env-trap-audio → main · +2 −0 · 1 files · 1 commits · closed without merging

Claim on #1633: claiming: new item — README Debugging table: document VICTORY_TRAP_LOG (crates/victory-loader/src/thunks.rs:157) and VICTORY_AUDIO_CAPTURE_OF (crates/victory-hle/src/modules/audio/capture.rs:49); docs-only, synthetic checks, no game data, AI-assisted (Hy4 flash).

Change: two rows in the README Debugging table (near the existing VICTORY_AUDIO_CAPTURE row). VICTORY_AUDIO_CAPTURE_OF=<pid> is the PID handed to the audio-recorder child process when VICTORY_AUDIO_CAPTURE is set; VICTORY_TRAP_LOG=<file> is the crash-log path set by the trap-child test for an unimplemented import that traps. Both are internal plumbing, now discoverable alongside the other VICTORY_* switches.

Validation (Windows, Rust 1.100.0/MSVC, no game data): git diff --check clean; cargo test --locked -p victory --bins -> 10 tests passed, exit 0. Docs-only; no runtime behaviour changed.

AI-assisted (Hy4 flash). GPU/driver: N/A (documentation only). No game data, assets, executables or extracted content were used or uploaded.

**@⁠cloph-dsp** on GitHub · 2026-11-25 12:17 UTC · [original](https://github.com/Marvisak/VIctory/pull/2379) `cloph-dsp:docs/readme-env-trap-audio` → `main` · +2 −0 · 1 files · 1 commits · closed without merging Claim on #1633: `claiming: new item — README Debugging table: document VICTORY_TRAP_LOG (crates/victory-loader/src/thunks.rs:157) and VICTORY_AUDIO_CAPTURE_OF (crates/victory-hle/src/modules/audio/capture.rs:49); docs-only, synthetic checks, no game data, AI-assisted (Hy4 flash).` **Change:** two rows in the README Debugging table (near the existing `VICTORY_AUDIO_CAPTURE` row). `VICTORY_AUDIO_CAPTURE_OF=<pid>` is the PID handed to the audio-recorder child process when `VICTORY_AUDIO_CAPTURE` is set; `VICTORY_TRAP_LOG=<file>` is the crash-log path set by the trap-child test for an unimplemented import that traps. Both are internal plumbing, now discoverable alongside the other VICTORY_* switches. **Validation (Windows, Rust 1.100.0/MSVC, no game data):** `git diff --check` clean; `cargo test --locked -p victory --bins` -> 10 tests passed, exit 0. Docs-only; no runtime behaviour changed. AI-assisted (Hy4 flash). GPU/driver: N/A (documentation only). No game data, assets, executables or extracted content were used or uploaded.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:04:08 +00:00
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 14:56 UTC · original

Automated triage for the maintainers.

Proposed close: no value as a change. The PR adds two rows to README.md's environment-variable table for variables that are not user switches. In main, VICTORY_AUDIO_CAPTURE_OF (crates/victory-hle/src/modules/audio/capture.rs) is set by the process itself for its audio-recorder child, and VICTORY_TRAP_LOG (crates/victory-loader/src/thunks.rs) is set by a test for its child process. The description itself calls them internal plumbing. Listing them next to the real switches invites users to set values the program manages itself, and the existing doc comments at those sites already explain them to developers.

This PR will be closed in 48 hours unless the author pushes a change or a maintainer removes the triage: proposed close label.

CI: check passing.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 14:56 UTC · [original](https://github.com/Marvisak/VIctory/pull/2379#issuecomment-7166045031) <!-- victory-triage v1 head=cb16268670dd6bbf7a07c34cd845cdff26383159 verdict=proposed-close at=2026-11-25T14:55:55Z --> Automated triage for the maintainers. **Proposed close: no value as a change.** The PR adds two rows to README.md's environment-variable table for variables that are not user switches. In `main`, `VICTORY_AUDIO_CAPTURE_OF` (`crates/victory-hle/src/modules/audio/capture.rs`) is set by the process itself for its audio-recorder child, and `VICTORY_TRAP_LOG` (`crates/victory-loader/src/thunks.rs`) is set by a test for its child process. The description itself calls them internal plumbing. Listing them next to the real switches invites users to set values the program manages itself, and the existing doc comments at those sites already explain them to developers. This PR will be closed in 48 hours unless the author pushes a change or a maintainer removes the `triage: proposed close` label. CI: `check` passing. --- _Generated by [Claude Code](https://claude.ai/code)_
github-bot closed this pull request 2026-11-26 14:27:39 +00:00
Author
Owner

@⁠DenRakEiw on GitHub · 2026-11-25 12:29 UTC · original · approved these changes

Verified against origin/main (940d32f):

  • Confirmed VICTORY_AUDIO_CAPTURE_OF (crates/victory-hle/src/modules/audio/capture.rs:49) and VICTORY_TRAP_LOG (crates/victory-loader/src/thunks.rs:160) match the added README.md descriptions.
  • cargo xtask policy: 183 files ok.

AI-assisted (Gemini 4 Neon).

**@⁠DenRakEiw** on GitHub · 2026-11-25 12:29 UTC · [original](https://github.com/Marvisak/VIctory/pull/2379#pullrequestreview-6057615521) · **approved these changes** Verified against `origin/main` (`940d32f`): - Confirmed `VICTORY_AUDIO_CAPTURE_OF` (`crates/victory-hle/src/modules/audio/capture.rs:49`) and `VICTORY_TRAP_LOG` (`crates/victory-loader/src/thunks.rs:160`) match the added `README.md` descriptions. - `cargo xtask policy`: 183 files ok. AI-assisted (Gemini 4 Neon).
Author
Owner

@⁠catminou4 on GitHub · 2026-11-25 12:36 UTC · original · reviewed

Docs-only: VICTORY_TRAP_LOG and VICTORY_AUDIO_CAPTURE_OF documented (internal plumbing flags). Fine.

**@⁠catminou4** on GitHub · 2026-11-25 12:36 UTC · [original](https://github.com/Marvisak/VIctory/pull/2379#pullrequestreview-6057697508) · **reviewed** Docs-only: VICTORY_TRAP_LOG and VICTORY_AUDIO_CAPTURE_OF documented (internal plumbing flags). Fine.
Author
Owner

@⁠cloph-dsp on GitHub · 2026-11-26 14:24 UTC · original

Withdrawing: the two README rows document internal plumbing rather than user-facing switches, so the maintainer triage (proposed close) is correct. No game data used. AI-assisted (Hy4 flash).

**@⁠cloph-dsp** on GitHub · 2026-11-26 14:24 UTC · [original](https://github.com/Marvisak/VIctory/pull/2379#issuecomment-7194766719) Withdrawing: the two README rows document internal plumbing rather than user-facing switches, so the maintainer triage (proposed close) is correct. No game data used. AI-assisted (Hy4 flash).

Pull request closed

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/Marvisak--VIctory!2379
No description provided.