docs: document VICTORY_LOG and the cache-keyed translation switches; close out the #582 inventory (#582) #587

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

@⁠AnastasisKon on GitHub · 2026-11-28 10:11 UTC · original
AnastasisKon:vibe/undocumented-switches-1705ac → main · +6 −0 · 1 files · 1 commits · open

What this changes

Refs #586 (picked off the user-facing piece, one PR). I recomputed the undocumented set on current main (52 names read in non-test code, absent from docs/README/example toml/tools) and verified each candidate at its read site. docs/native-host.md's diagnostics section now documents the ones that are live on the native macOS path:

  • VICTORY_LOG=<EnvFilter> — the log filter (falls back to RUST_LOG, then info+); debug/trace only in diagnostics builds (victory-core/src/logging.rs);
  • VICTORY_NARROW_WAVES=0|1 and VICTORY_DEBUG_ELSEWHERE=1 — translator switches, part of the shader cache key (victory-gpu/src/shader_cache.rs, victory-shader/src/emit/mod.rs);

plus a closing note recording that the rest of the inventory is Windows-path-only (cfg(windows): frame/audio capture, watch/poke/crash-save, window max, D3D12 device layer, copy accounting, dxc paths) or tool/test/example scaffolding — each name checked at its read site.

How it was tested

  • cargo xtask policy — pass (404 files ok)
  • cargo test -p victory-shader --lib — pass, incl. every_environment_switch_the_translator_reads_is_keyed (the switch inventory test)
  • docs-only change: no code paths touched; game run not needed

Checklist

  • No game files, game code, disassembly listings or SDK files are included
  • Guesses about undocumented console behaviour — n/a (docs only; cfg gates verified in code)
  • New diagnostics behind a VICTORY_* variable and documented — n/a; this documents existing ones
**@⁠AnastasisKon** on GitHub · 2026-11-28 10:11 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/pull/583) `AnastasisKon:vibe/undocumented-switches-1705ac` → `main` · +6 −0 · 1 files · 1 commits · open ## What this changes Refs #586 (picked off the user-facing piece, one PR). I recomputed the undocumented set on current main (52 names read in non-test code, absent from docs/README/example toml/tools) and verified each candidate at its read site. `docs/native-host.md`'s diagnostics section now documents the ones that are live on the native macOS path: - `VICTORY_LOG=<EnvFilter>` — the log filter (falls back to `RUST_LOG`, then info+); debug/trace only in `diagnostics` builds (`victory-core/src/logging.rs`); - `VICTORY_NARROW_WAVES=0|1` and `VICTORY_DEBUG_ELSEWHERE=1` — translator switches, part of the shader cache key (`victory-gpu/src/shader_cache.rs`, `victory-shader/src/emit/mod.rs`); plus a closing note recording that the rest of the inventory is Windows-path-only (`cfg(windows)`: frame/audio capture, watch/poke/crash-save, window max, D3D12 device layer, copy accounting, dxc paths) or tool/test/example scaffolding — each name checked at its read site. ## How it was tested - [x] `cargo xtask policy` — pass (404 files ok) - [x] `cargo test -p victory-shader --lib` — pass, incl. `every_environment_switch_the_translator_reads_is_keyed` (the switch inventory test) - [x] docs-only change: no code paths touched; game run not needed ## Checklist - [x] No game files, game code, disassembly listings or SDK files are included - [x] Guesses about undocumented console behaviour — n/a (docs only; cfg gates verified in code) - [x] New diagnostics behind a `VICTORY_*` variable and documented — n/a; this documents existing ones
Refs #582. The diagnostics list in docs/native-host.md now names VICTORY_LOG
(the log filter, RUST_LOG fallback, diagnostics builds for debug/trace),
VICTORY_NARROW_WAVES and VICTORY_DEBUG_ELSEWHERE (shader-cache-keyed
translator switches), and records that the remaining undocumented VICTORY_*
names are Windows-path-only or tool/test scaffolding.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 10:17:16 +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/587/head:github-bot/gh-583'
git switch 'github-bot/gh-583'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-583'
git switch 'github-bot/gh-583'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-583'
git switch 'github-bot/gh-583'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-583'
git switch 'main'
git merge --squash 'github-bot/gh-583'
git switch 'main'
git merge --ff-only 'github-bot/gh-583'
git switch 'main'
git merge 'github-bot/gh-583'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.