Tests: verify successful BCPack requests through the queue #1040
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1047"
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?
Imported from ivall/xcl. Originally posted by gloger2003 on 2026-11-24T10:51:48Z.
Follow-up to #905. Exercise successful synthetic BC1 requests through the DirectStorage factory and queue.
What is in it
Tested
b8da26d: 742 passed, 0 failed, 41 ignored, no explicit GPU capability skips.Regression run
Test-only diff under crates/xcl/tests.
Not tested
AI use
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T11:30:53Z.
Independent verification on current
main384f7f7(branch already contains it — clean).Machine: Windows 11, Ryzen 9 7900X + RTX 3060 Ti; Rust stable MSVC, debug.
cargo test -p xcl --lib bcpack: 10 passed, 0 failed —bcpack_bc1_requests_through_the_queuenow exercises the synthetic fixture end-to-end: raw BCPack request and the zlib-compressed variant both decode to the expected 64 KiB BC1 block pattern (endpoint-delta and index-inheritance cases covered by the generator). The retailXCL_SAMPLE_BCPACKpath is unchanged.AI use: test runs by Devin (Cognition, SWE-2); no code changes.
Imported from ivall/xcl. Originally posted by KiryaAfimin on 2026-11-24T11:41:22Z.
Independently tested
74d0aed7604acba0b21253021439073f1b6a1ad7on Windows 11 Pro build 26200, Ryzen 5 5600, GeForce RTX 4070 (driver 621.01), Rust 1.100.0 MSVC, DXC 1.9.2609.5, debug build.Tested
With
XCL_SAMPLE_BCPACKunset, the focused queue test passed. Both the direct BC1 request and the zlib → BC1 request returnedS_OK. All 65,536 output bytes matched the expected blocks in each case.cargo build --locked --workspacesucceeded.cargo test --locked --workspace --no-fail-fast -- --test-threads=4 --show-outputreported 737 passed, 0 failed, 41 ignored. Four tests counted as passed printedSKIPPED: two require wave64 and two require the D3D12 debug layer. AllXCL_SAMPLE_*variables were unset for the full suite, so its totals also include sample-dependent tests that returned early.Not tested
Retail BCPack streams against reference blocks, or world loading in a retail title.
AI use
OpenAI Codex ran the tests.
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-26T03:40:53Z.
Re-verification on RTX 3060 Ti (Windows 11), new head merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved.Thanks!
— Devin
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-30T08:42:18Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T04:41:33Z.
Triage (#1607) – head
b8da26dNo open or merged PR adds this test. Main's
bcpack_bc1_requests_through_the_queue(dstorage.rs) runs successful BCPack requests only whenXCL_SAMPLE_BCPACKis set. This test runs them every time, from the committedtests/data/bcpack/bc1-8192-3.binfixture, with and without zlib. #2239 extendsbcpack_parity.rs, the decoder, not the queue.No problems found in the diff. It reads the process-wide
stats()and asserts exactly (2, 0). That only holds while this file has a single test.Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.