Repository navigation
CLI: fail shader warm-up on missing input roots - #3542
andrewpozdnakov7-jpg wants to merge 1 commit into
Conversation
|
The Windows CI job passed on exact head Ready for maintainer review. If you reuse the patch, please retain the Git author on cherry-pick or rebase, or use AI-assisted with Codex. |
|
I checked #3542 with the #3521 database-hash selection and #2787 warm-key shortcut. Combined branch I passed a synthetic A/B shader pack and its database with a nonexistent root between them. With All 20 CLI tests and 16 |
|
Independent CPU-only verification on Windows / Rust 1.100.0 / MSVC.
|
Problem
On main
63bcca4, shader warm-up returns success for a missing input and creates an empty cache. With--pipelinesit also reports there is nothing to prebuild. This makes a mistyped path look like completed launch preparation to callers such as #3532.Change
Check the selected roots before opening the shader cache. The error identifies the input that could not be accessed. The same check covers explicit paths and configured defaults. #517 handles the ordinary scan commands.
Verification
On Windows 10 22H2 (19045.6456), with synthetic inputs:
--pipelines--pipelinesThe CLI regression includes a readable file followed by a missing path. All 19 app tests, strict app Clippy in both feature configurations and the asset policy passed. The local combination with #3532
8d37394and #517d8cd94apassed all 26 app tests. Its actualpreload --attempts 1returned 1 for the missing input and 0 for the empty directory.Coordination claim. AI-assisted with Codex.