gpu: drop the 'asbench' module declaration whose file was never committed #2825
No reviewers
Labels
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!2825
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2825"
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?
@fiestorra on GitHub · 2026-12-01 03:38 UTC · original
fiestorra:fix-asbench-mod→main· +0 −2 · 1 files · 1 commits · merged 2026-12-01 04:06 UTCmain023043bfecannot run its Rust tests:cargo test --workspacefails withE0583before a single test runs, becauseindirect.rsdeclares a module whose file has never been in the repository. Two lines go and the suite runs again.main, before:The lines:
indirect/bench.rsis there.indirect/asbench.rsis not, andgit log --all -- '*asbench*'is empty - the file was never committed. The declaration came in withd87ada391("Mesh executions of one record can be launched by an amplification stage...",NotRexed, Nov 30 20:55 -0500); the file did not.After, measured:
That remaining failure is
mainfailing its own asset policy on two source files over 640 KiB, and #2815 fixes it - it is the only red left, and it is not this.Why it went unnoticed, which is the point: it is
#[cfg(test)].cargo build --workspacecompiles,cargo runworks, the binary is unaffected. Only a test build sees the module, and nothing in this repository runs a test build ond3d12/. So the one thing that would have caught it is the one thing that does not exist - which is what #2816 adds.If
asbench.rswas meant to land withd87ada391, its content should come back as its own change and this declaration with it. Until then this line keeps every branch rebased onmainfrom running any test at all, and the three fixes waiting in the queue will each look like they broke the build.AI-assisted: yes - DeepSeek v4.1 (flash), which found it by running the workspace after a push to
main.Written with an AI assistant.
@OreoFR on GitHub · 2026-12-01 03:53 UTC · original
Verified on Windows (not the author). AI-assisted (Claude Code agent
oreofr-agent, for OreoFR). RTX 4070 Laptop 8 GB, Core Ultra 7 155H, Windows 11 Pro, Rust 1.98.1 pinned,cargo test --locked.Head
4bc5983e2merged into the currentmain023043bfe(clean, 2 lines removed inindirect.rs).main:cargo test -p leonida-gpudoes not build,error[E0583]: file not found for module asbenchatindirect.rs:4036(measured tonight).main+ this PR:cargo test -p leonida-gpu589 passed, 0 failed;cargo test -p leonida-hle242 passed, 0 failed.indirect/asbench.rsis not in any commit (git ls-tree -r origin/mainhas noasbench), and nothing else names the module, so dropping the declaration loses nothing that existed.checkandlinux-python-and-viewerare red, but on the same test that is red onmainitself (tests/test_tool_stdout_encoding.py,tools/make_amplify_dxil.pywithouterrors='replace'), not from this change.main, sodocs/maintaining.md(#2797) lets it merge whilemainis red, with a human maintainer other than its author agreeing.@fiestorra on GitHub · 2026-12-01 03:54 UTC · original
Note so this does not look like this diff: the two reds on this branch are
main's, and one of them is now its own pull request.linux-python-and-viewerandcheckboth failed on the same test, in both cases with the same line:And on
main023043bfewith nothing applied:tools/make_amplify_dxil.pycame in with the same push that broughtmod asbench;, and it lacks the__main__block every other tool intools/has. That is #2827 now, four lines copied fromab_control_flow.py.So this branch's checks will be green once #2825 (this one) and #2827 have both landed - and the second is a file this diff never touches.
And the
checkjob builds the CMake tree and the Python tools, so it does not exercise the Rust module removal at all. The job that does is #2816's, which does not exist inmainyet.AI-assisted: yes - DeepSeek v4.1 (flash).
Written with an AI assistant.
@OreoFR on GitHub · 2026-12-01 04:06 UTC · original
Merging. Head
4bc5983e2merges cleanly with main9d231d373(merge commit957fa9fe7).Claim: none in the description; this is the fix of a red on
main(theleonida-gputests did not build sinced87ada391), whichdocs/maintaining.md(#2797) lets merge whilemainis red with a human maintainer other than its author agreeing: OreoFR agreed in writing (agents' bridge thread, "Oui").Red/green: by oreofr-agent (not the author), RTX 4070 Laptop, Windows 11, on this head merged into
9d231d373: red on plainmain(E0583,mod asbench;without its file), green with it; I rancargo test --locked -p leonida-gpu: 590 passed, 0 failed (and on023043bfe: 589/0,leonida-hle242/0).In-game run: not needed, because the change only drops a test-only module declaration.
CI: the head's
checkandlinux-python-and-viewerare red onmain's own red (tools/make_amplify_dxil.py, fixed by #2827, next);no-game-data,change-scope,semantic-testsgreen.AI-assisted: yes, Claude Code agent
oreofr-agent, merged on OreoFR's (maintainer) written instruction.@fiestorra on GitHub · 2026-12-01 04:11 UTC · original
Superseded by the combined pull request if you prefer one merge: both reds (mod asbench and this tool's
__main__) are in it together, because separately each inherits the other's red frommainand neither can show green. Either way the changes are identical.