VIctory Forge: one branch with every open pull request that merges and builds, and a status page for each #1624
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#1624
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@KevinPratap on GitHub · 2026-11-24 19:55 UTC · original
With about 900 open pull requests, most can only be tried one at a time against
main. Many touch the same files, some fix the same thing twice, and nobody can test them together, so people build their own bundles (#231, #1439) that conflict in turn.I built a merge train for everyone to use, and it's public:
forge/mainin KevinPratap/VIctory:main(ffe310eb20) plus every open pull request that merges cleanly and still builds. Each one is a separate merge commit (Forge: #N title), merged oldest first. 281 of 928 open pull requests are in it.main(rebase needed);cargo check(first error shown);ghand cargo, so anyone can rerun it or check it.What this gives:
A merge needs
cargo check --workspace --all-targetsand the asset policy (cargo xtask policy) to pass. The policy check has already caught something: #1030 addsVIctory_GTA6_Progress.zip, a binary archive the policy refuses, so it is held out.On the combined branch,
cargo test --workspacegives 1,005 passed and 5 failed. Of the 5, one fails onmaintoo, and the rest come from how pull requests combine. Details are in STATUS.md.Only the build and the policy gate a merge. GPU tests per pull request would take days, so the final branch's test results are reported separately. Nothing from the game is in the branch, the status page or the tool.
I'll rerun it regularly. Suggestions welcome, for example the merge order, or a hold list kept by the maintainers.
AI-assisted (Claude Code).
@DrDarkDK on GitHub · 2026-11-24 20:03 UTC · original
I reproduced both texture layout failures from STATUS.md on native Windows at
86f08ea800. Withcargo test --locked -p victory-formats --lib texture::tests -- --test-threads=1, the published snapshot had 18 passes and 2 failures.I reverted only the Forge merge for #1450 (
696196e), leaving #1549 in place. Bothdeep_volumes_keep_their_chain_in_each_slabs_tailandlayouts_match_addrlibpassed, with 17 passes and 0 failures in the filtered suite. The revert also removes three tests added by #1450, which accounts for the lower test count.This confirms the interaction flagged in #1549 on the combined branch. For the next Forge run, I’d hold #1450 and keep #1549 as regression coverage. I didn’t rerun the full workspace suite.
AI-assisted with Codex.
@YaBulochka on GitHub · 2026-11-24 20:04 UTC · original
Forge regression data point from Linux/RADV.
forge/mainat86f08ea(Forge: #1562 ...)cargo build --release --target x86_64-pc-windows-gnu -p victory --features diagnosticsThe build starts and draws the menus at 30 fps, then dies early - before Prestream, at log line 565, with:
then the title's Breakpad reporter tries to upload to
submit.backtrace.io(blocked by VIctory's net HLE).For comparison, on the same machine my own tree
ffe310e+ #994 + #491 + #1583 + #1319 + #1402 does not hit this: it reaches the intro, the prologue, builds 239 mesh pipelines and only then stops on a vkd3ddevice removed(or an AV atd3d12core+0x21953cwith Proton 11.0's vkd3d). So the early+0x11171a8fault is introduced by something in the train, not present in that subset.I can bisect if useful: the last merges in the train are #1562 (fences answer for ID3D12Fence1), #1613/#1626/#1628/#1623/#1606 and the #1589/#1617/#1610 bundles. Tell me which ones you suspect and I will drop them one at a time and report which one removes the early fault.
@KevinPratap on GitHub · 2026-11-24 20:32 UTC · original
Update: #1655 proposes moving the Forge and the claims into this repository as
cargo xtask forgeandcargo xtask claims, with scheduled workflows and the rules indocs/forge.md, so they no longer depend on my fork. Until it is merged, the fork's copy keeps running every 12 hours (STATUS.md) and every 30 minutes for claims in #1633.AI-assisted.
@Luislariosss on GitHub · 2026-11-24 20:47 UTC · original
Test report for
forge/mainat63b03a77a5e5bf38a79b8040b4f48c199ed7b3b7(rebuilt 2026-11-24 20:28Z), on AMD.Setup: Windows 11 26200; AMD Radeon RX 9060 XT 16 GB (RDNA4, driver 32.0.32015.7029, mesh shaders, waves 32-64); Ryzen 5 9600X; 16 GB RAM; Rust 1.98.1 (the pinned toolchain);
cargo test --workspace --no-fail-fastfrom a clone of the forge branch. This machine needsCARGO_PROFILE_DEV_DEBUG=0 CARGO_PROFILE_TEST_DEBUG=0— rustc 1.98.1 here dies with 0xc0000005 while compiling with debuginfo — the test behavior is unchanged by that.Result: 1,009 passed, 8 failed, 16 ignored. The hosted run's 1,005/5 and this differ mostly in the GPU tests: this adapter runs them, the runner skips them.
Failures:
texture::tests::deep_volumes_keep_their_chain_in_each_slabs_tailandtexture::tests::layouts_match_addrlib— the two DrDarkDK traced to #1450's merge on an RTX 5090. Reproduced here on AMD, so that finding holds across vendors.frame::tests::waits_end_on_ticks_and_count_frames(the one that fails on main too) andmodules::xgameruntime::tests::put_string_refuses_what_it_cannot_fit(#1199) — as already reported for this branch.emit::valu_tests::v_fma_mix_f16_rounds_once,..._clamps_the_rounded_half,..._preserves_special_values,..._selects_and_modifies_sources— new with #1608 (the forge merge954b1cd); these tests do not exist on main. They execute on the host adapter here and fail on this RDNA4 machine, while the rest ofvalu_testspasses on it (e.g.v_cmp_class_f16_matches_rdna2and the packed ops are green). This is only visible on a machine that runs the GPU tests — the failure is DXIL validation, vendor-independent — and it is the only group in this report that points at one pull request: worth a look before #1608 goes further.Everything else below those binaries is green, including the GPU-executed tests that skip on the hosted runner.
AI use: opencode — HY4 Flash Free fetched the forge branch and ran the suite; Sonnet reviewed the grouping. The counts and test names above are cargo's own output.
@fiestorra on GitHub · 2026-11-24 21:05 UTC · original
The train breaks eight tests, and only two of them were known — here are the other six
STATUS.mdtracks whether each pull request builds and merges; it does not run the tests. So I rancargo test --workspace --locked --no-fail-fastonforge/main(63b03a7, 285 merges) and onffe310e, and compared. Onffe310eeverything passes (342 passed, 6 ignored). On the train, four crates have failures:victory-formatstexture::tests::layouts_match_addrlibvictory-formatstexture::tests::deep_volumes_keep_their_chain_in_each_slabs_tailvictory-shaderemit::valu_tests::v_fma_mix_f16_rounds_oncevictory-shader…v_fma_mix_f16_clamps_the_rounded_halfvictory-shader…v_fma_mix_f16_preserves_special_valuesvictory-shader…v_fma_mix_f16_selects_and_modifies_sourcesvictory-gpuframe::tests::waits_end_on_ticks_and_count_framesvictory-hlemodules::xgameruntime::tests::put_string_refuses_what_it_cannot_fit#1608 breaks its own four tests, deterministically: 3 of 3 runs at its merge commit
954b1cdand 10 of 10 at the train tip. The emitted DXIL is invalid —dx.op.binaryWithTwoOuts.i32called with opcode 42 (UMul), then twoextractvalues on ani32. Since the runtime validates emitted shaders, in the game this would be a refused program, not a wrong number. Details and the one command in #1608. The four tests have never passed anywhere: they live in that pull request, its CI is waiting for approval, and the forge runscargo check.#1450 and #1549 encode contradictory texture layouts. Each passes on its own (
c3b045falone: 49 passed, 0 failed), and together they fail: for aTex3d 4×4×16, 5 mips, 4 bytes per element, our layout says 16,384 bytes where addrlib — the reference #1549 compares against — says 8,192, exactly double. Reverting #1450's merge (git revert -m 1 c3b045f) makes #1549's test pass again. Since #1549's expectation comes from addrlib and #1450 changes the padded-depth rule, the evidence points at #1450; at runtime that would be a thick 3D mip tail allotted twice the memory it needs and off-tiled from the wrong offsets.For the train tool, two suggestions from the exercise:
cargo test --workspace --no-fail-fastas a reporting step (not a gate) would have put all six inSTATUS.mdnext to the conflicts;action_required(a first-time contributor's),cargo teston the merged tree is the only place its tests ever run — which is exactly how #1608 got into the train with four failing tests.No game data is involved: test names and assertion values only.
Written with an AI assistant.
@Marvisak on GitHub · 2026-11-25 12:50 UTC · original · edited 2026-11-25 18:49 UTC
Automated triage for the maintainers.
A proposal for contributor tooling: a combined test branch of open PRs on a fork, with a per-PR status page. It concerns the project's own development workflow, so it is in scope; whether to adopt it is for the maintainers (PR #1655, which proposed moving it into this repository as
cargo xtask forge/cargo xtask claims, is no longer open). The branch is based onffe310e, well behind current main, so its status needs a rerun against main.The comments turned up useful findings for individual PRs: #1450 and #1549 encode contradictory 3D texture layouts (reverting #1450's merge makes #1549's test pass), #1608 emits invalid DXIL in its own four
v_fma_mix_f16tests, and an early access violation at+0x11171a8under Wine appears on the combined branch but not on a smaller subset. Those belong in the respective PRs' reviews.New since the last triage: the status page marks 14 PRs as breaking the build only because of the asset policy's 512 KiB file limit (
MAX_FILE_SIZEinxtask/src/policy.rs) oncrates/victory-shader/src/emit/lower.rs, measured on the combined branch. Measured alone against940d32f, each stays well under the limit. So that verdict is about the combined branch, not about those PRs. On current main (13f91ca)lower.rsis already 492,530 bytes, about 31 KiB under the limit, so ordinary shader PRs will start hitting it on main itself before long; splitting that file is a decision for the maintainers.Generated by Claude Code
@BaggyALPHA on GitHub · 2026-11-25 16:08 UTC · original
Reading the status page: 14 of the 31 under "breaks the build" are not individually broken — the 512 KiB verdict on
lower.rsis cumulativeThe 06:24 UTC page lists 31 pull requests as breaking the build. Fourteen of them have the same detail, and no compiler error:
Those are #1795, #1940, #1949, #1956, #1961, #2037, #2062, #2063, #2070, #2077, #2083, #2084, #2100 and #2104. Since the Forge measures them on
forge/mainwith the 239 already-merged pull requests in place, the size that tripsMAX_FILE_SIZEis the accumulated one, not theirs. Measured each one'slower.rswith only that pull request againstmain940d32f:lower.rsalonemain940d32fThe limit is 524,288, so every one of them is 68-76 KiB clear of it on its own. #1940 and #1949 are the clearest case: both leave
lower.rssmaller thanmainand are still reported as making it too big.Two things follow, and I am only reporting them, not asking for a change:
forge/main'slower.rsis at the cap, so while it stays there every further pull request touching that file will be reported the same way whatever its merit — andlower.rsis where most of the shader work lands. Onmainthe file has about 72 KiB of headroom today, which these changes will spend over time.Method:
git show <pr-head>:crates/victory-shader/src/emit/lower.rs | wc -cfor each, againstmainat940d32f; the page's figures are quoted from the 06:24 UTC run. Nothing from the game is involved — file sizes and pull request numbers.AI-assisted (Claude Code).
github-bot referenced this issue2026-11-26 18:17:58 +00:00