CI: the launcher is compiled, as the release builds it #482
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/readmet3xt-lab--foxhound!482
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-482"
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?
@erdemcisse on GitHub · 2026-12-02 16:18 UTC · original
ci-build-launcher→main· +6 −0 · 1 files · 1 commits · closed without merginglauncher/Launcher.csis not compiled by anything this repository checks.cargo clippyandcargo testcover the Rust crates; the launcher is built byscripts/build-launcher.ps1, run by hand, or inside-Packagewhen a release is made. A C# error in that file therefore reachesmainand the release zip unseen, and the first person to meet it is the one who startsFoxhound.exe.Two open pull requests change that file right now (#465, #480), and CI can see neither of them.
What this adds
One step in
.github/workflows/ci.yml, using the same script the release uses:It sits before
rustup toolchain install, so a C# error fails the run in seconds instead of after the Rust steps. It needs no toolchain: the script uses the C# compiler of the .NET Framework that Windows has, and it already throws a clear message where that compiler is missing.Cost
303 ms measured here for a cold
target\launcher(built ...\target\launcher\Foxhound.exe). The job's 60-minute timeout is untouched, and nothing beyond that one folder undertargetchanges.Tested here
powershell -Command ". './scripts/build-launcher.ps1'")built ...\target\launcher\Foxhound.exe, exit 0, 303 msint x = ;appended tolauncher/Launcher.cslauncher\Launcher.cs(2729,35): error CS1525: Invalid expression term ';'— the run fails instead of passing quietlyactions/checkout@v5,Launcher, the rustup step,Swatinem/rust-cache@v2,Clippy,Clippy, diagnostics build,TestsThe pull request's own run exercises the new step, since this change is the workflow itself.
@erdemcisse on GitHub · 2026-12-02 19:07 UTC · original
Checked that red run: it is not the step this PR adds.
Run 46924842794 (head
9a298ba, 2m48s) — every step passed exceptTests:And
Testsdid not report a failing test — thevictory-shaderlib test binary died:The last line the harness printed was
test emit::barycentric_tests::first_half_values_render_on_hardware_and_warp ... ok, so that test finished; the access violation happened with another test in flight, which is why no name appears.The same content passed four minutes later. The current head
8887da1has the identical tree (cb691483ee) and the identical parent (7dbcdcb) as the failing9a298ba— the only difference is the commit object — and run 46926469387 on it is green in 4m20s, Launcher step included. Same tree, opposite outcome: the crash is nondeterministic insidecargo test -p victory-shader, and nothing in a.github/workflows/ci.ymlstep addition can reach that binary.So there is nothing to fix here; the PR is green at
8887da1. If the shader test binary keeps dying on the runner, that is worth its own issue — I am checking whether it reproduces locally before saying anything about a cause.@erdemcisse on GitHub · 2026-12-02 19:22 UTC · original
Checked further, so nobody spends time on a phantom:
gh run list --workflow=ci.yml, every failed run's log grepped forSTATUS_ACCESS_VIOLATION) this crash appears once — in 46924842794. The other failed run in that window (46920076425, branchlauncher-profile-answer) failed invictory-gpuon the descriptor test, not here.victory-shaderlib suite is green here: the test binary was run end to end twice (a full run of that suite is about 8 minutes in a debug build, so the loop stopped there), on top of the workspacecargo test --workspace --lockedpass that was already run for this branch. No access violation, so it does not reproduce on a developer machine.emit::diff_tests::tools()(crates/victory-shader/src/emit/diff_tests.rs:654) returns early unlessVICTORY_CONSOLE_DXCand a PCdxcare both set, so all four printokwithout doing any work — here and on the runner.Recorded as a single-occurrence flake with no reproduction; no change is warranted, and this PR is unrelated to it.
Pull request closed