Build and test on Linux; a CI job keeps it so; VICTORY_LOG_FILE #2670
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!2670
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2670"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@nullexxx on GitHub · 2026-11-25 17:48 UTC · original
nullexxx:linux-build→main· +81 −17 · 11 files · 2 commits · openSummary
Testing
@DrDarkDK on GitHub · 2026-11-25 17:55 UTC · original
The Linux guard rejects every
translateinvocation, includingvictory translate <path> --list. The offline census can walk the inputs and emit DXIL without creating a D3D12 device. In that path, the Windows dependencies are the optional validator, pipeline checks, andVICTORY_PAIRS.Could the Linux build keep the offline census available and reject only the options that need Windows? A Linux CLI test with a synthetic input would cover that path alongside the library tests.
Static review only.
AI-assisted with Codex.
@kotekompotek on GitHub · 2026-11-25 17:56 UTC · original
Reviewed: honest Linux coverage — workspace crates build/test, Windows-only commands cfg-gated with a clear
bail!for translate. The CI job (ubuntu + rust-cache) is minimal and correct. CI green.@XeNS1 on GitHub · 2026-11-25 18:18 UTC · original
Independent native Linux verification of head
09d847e66909ca28903f810d5e513df5115a94a2(Rust 1.100.0, x86-64, two build jobs):cargo test --workspace --locked --offline: 425 passed, 0 failed, 8 ignored. Cleared all VICTORY_* environment variables; no game files, external fixtures or GPU used.victory-corepreserves a pre-existing log prefix and appends two synthetic messages exactly once, without ANSI escapes.One reproducible asset-policy gap remains in the file-output part:
logging::initopens VICTORY_LOG_FILE withoutensure_outside_repo. In a disposable directory containing.victory-root, the normal guard rejectsevents.log, but the same path passed through VICTORY_LOG_FILE is created and receives the synthetic event.The probe is only:
Run it with VICTORY_LOG_FILE pointing below that marker root; compare with
victory_core::ensure_outside_repoon the same path. This matters because diagnostic events can include title-derived words (for example capture.rs's peek/tiny-target log output), and the asset policy requires runtime output to stay outside source trees. Please check the guard before OpenOptions and retain stderr fallback on refusal, with a marker-root regression.Verification only; no competing implementation. AI-assisted: OpenAI Codex.
@fuzeofficlal on GitHub · 2026-11-25 19:09 UTC · original
Independent Windows 11 verification and code review of
09d847e6(on13f91ca):Verification (
rustc 1.98.1MSVC)cargo clippy --workspace --all-targets --locked -- -D warningsand--all-features: 0 warnings.cargo test --locked -p victory-core -p victory-pe -p victory-loader -p victory-hle -p victory: all passed (victory-core13,victory-pe36,victory-loader34+4,victory-hle146+2,victory10+2).cargo xtask policy: 184 files ok.Review Notes
#[cfg(windows)]gates leave Windows production and test paths unchanged, and thelinuxCI job runs independently in parallel without slowing down the Windowscheckjob.VICTORY_LOG_FILE(crates/victory-core/src/logging.rs:28-56):VICTORY_LOG_FILEcurrently opens the path directly without callingvictory_core::ensure_outside_repo, so a relative path likeVICTORY_LOG_FILE=events.logcan write runtime/title-derived diagnostics inside the repository tree. Adding theensure_outside_repocheck (and ignoring an emptyVICTORY_LOG_FILE=""instead of printing an open error before falling back tostderr) would close that cleanly.@Marvisak on GitHub · 2026-11-25 22:16 UTC · original
Automated triage for the maintainers.
This PR no longer merges cleanly into
main(f3578e3):apps/victory/src/main.rsandcrates/victory-hle/src/modules/xgameui.rsconflict with changes that landed onmain. It will be reviewed once it is rebased.Generated by Claude Code
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.