Shaders: --precompile exits with 1 when it did not build everything #2095

Closed
jakubjuste-byte wants to merge 1 commit from upstream-pr/2105 into main
jakubjuste-byte commented 2026-11-25 04:25:14 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by jakubjuste-byte on 2026-11-25T04:25:14Z.


Closed by the author.

<!-- greyfinch-sync:ivall/xcl:issue:6597182756 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2105). Originally posted by [jakubjuste-byte](https://github.com/jakubjuste-byte) on 2026-11-25T04:25:14Z. --- Closed by the author.
luckyteagirl commented 2026-11-25 06:06:01 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-25T05:54:11Z.


Independent native Windows CLI check on exact PR head 3023ab21e596e814791385459fa964bc02278bc8, compared with current main 6020a33b16ba2de25b3aef5947552f2dc1831f09.

Hardware/toolchain: Windows 11 build 26200, Ryzen 9 5980HX, Radeon RX 6800M (driver 30.0.13002.13003), Rust 1.99.0 MSVC, DXC/DXIL 1.9.2609.5. The CLI cases below did not use the GPU.

  • cargo build --locked --workspace -j 2 on the PR head: passed.
  • cargo test --locked -p xcl --lib -j 2 precompile_fails_when_a_record_does_not_unpack_or_parse -- --test-threads=1 --show-output: 1 passed, 0 failed, 0 ignored.
  • Built xcl.exe shaders <folder-with-one-garbage.bin> --precompile --only ps on main: exit 0, compiled 0, already cached 0, errors 0. Same fixture and arguments on the PR head: exit 1, records that did not unpack or parse 1, and the bad filename is printed. This is a direct CLI check of the changed behavior, separate from the unit test's direct call to precompile.
  • Adding --limit 0 asks for no records: exit 0 on both revisions; the PR prints records that did not unpack or parse 0.

The fixture contains only the text not a console shader. I did not check a valid shader pack, GPU pipeline refusal, or a retail title run. Logs and the repeatable CLI harness are local; no game data was used or uploaded.

AI-assisted testing and report drafting with OpenAI Codex (GPT-6); I checked the exact revisions, exit codes, and logs before posting.

<!-- greyfinch-sync:ivall/xcl:comment:7154248307 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2105#issuecomment-7154248307). Originally posted by [luckyteagirl](https://github.com/luckyteagirl) on 2026-11-25T05:54:11Z. --- Independent native Windows CLI check on exact PR head `3023ab21e596e814791385459fa964bc02278bc8`, compared with current `main` `6020a33b16ba2de25b3aef5947552f2dc1831f09`. Hardware/toolchain: Windows 11 build 26200, Ryzen 9 5980HX, Radeon RX 6800M (driver `30.0.13002.13003`), Rust 1.99.0 MSVC, DXC/DXIL 1.9.2609.5. The CLI cases below did not use the GPU. - `cargo build --locked --workspace -j 2` on the PR head: passed. - `cargo test --locked -p xcl --lib -j 2 precompile_fails_when_a_record_does_not_unpack_or_parse -- --test-threads=1 --show-output`: 1 passed, 0 failed, 0 ignored. - Built `xcl.exe shaders <folder-with-one-garbage.bin> --precompile --only ps` on `main`: exit **0**, `compiled 0, already cached 0, errors 0`. Same fixture and arguments on the PR head: exit **1**, `records that did not unpack or parse 1`, and the bad filename is printed. This is a direct CLI check of the changed behavior, separate from the unit test's direct call to `precompile`. - Adding `--limit 0` asks for no records: exit **0** on both revisions; the PR prints `records that did not unpack or parse 0`. The fixture contains only the text `not a console shader`. I did not check a valid shader pack, GPU pipeline refusal, or a retail title run. Logs and the repeatable CLI harness are local; no game data was used or uploaded. AI-assisted testing and report drafting with OpenAI Codex (GPT-6); I checked the exact revisions, exit codes, and logs before posting.
DavidM1911 commented 2026-11-25 06:06:03 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T06:02:42Z.


Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7154384211 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2105#issuecomment-7154384211). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T06:02:42Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
upstream-sync closed this pull request 2026-11-25 07:04:55 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!2095
No description provided.