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

Closed
cloph-dsp wants to merge 1 commit from upstream-pr/2379 into main
cloph-dsp commented 2026-11-25 12:17:43 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by cloph-dsp on 2026-11-25T12:17:43Z.


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.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6604293725 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2379). Originally posted by [cloph-dsp](https://github.com/cloph-dsp) on 2026-11-25T12:17:43Z. --- 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.
DenRakEiw commented 2026-11-25 13:02:29 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by DenRakEiw on 2026-11-25T12:29:56Z.

Review: APPROVED


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).

<!-- greyfinch-sync:Marvisak/VIctory:review:6057615521 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2379#pullrequestreview-6057615521). Originally posted by [DenRakEiw](https://github.com/DenRakEiw) on 2026-11-25T12:29:56Z. **Review:** APPROVED --- 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).
catminou4 commented 2026-11-25 13:02:29 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-25T12:36:05Z.

Review: COMMENTED


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

<!-- greyfinch-sync:Marvisak/VIctory:review:6057697508 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2379#pullrequestreview-6057697508). Originally posted by [catminou4](https://github.com/catminou4) on 2026-11-25T12:36:05Z. **Review:** COMMENTED --- Docs-only: VICTORY_TRAP_LOG and VICTORY_AUDIO_CAPTURE_OF documented (internal plumbing flags). Fine.
Marvisak commented 2026-11-25 15:04:33 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T14:56:08Z.


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

<!-- greyfinch-sync:Marvisak/VIctory:comment:7166045031 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2379#issuecomment-7166045031). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T14:56:08Z. --- <!-- 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)_
upstream-sync closed this pull request 2026-11-26 15:01:22 +00:00
cloph-dsp commented 2026-11-26 15:02:30 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by cloph-dsp on 2026-11-26T14:24:03Z.


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).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7194766719 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2379#issuecomment-7194766719). Originally posted by [cloph-dsp](https://github.com/cloph-dsp) on 2026-11-26T14:24:03Z. --- 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

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!2377
No description provided.