Report a missing shader pre-build input before creating the cache #20

Open
HandshakeHackin wants to merge 78 commits from upstream-pr/20 into main
HandshakeHackin commented 2026-11-25 16:52:55 +00:00 (Migrated from github.com)

Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-11-25T16:52:55Z.


On beta c71c7d6, victory translate --cache --pipelines missing.rpf returned exit code 0 and created cache/pipelines. A mistyped path therefore looked like a successful pre-build. The same happened when an existing empty directory and a missing file were supplied together.

This checks the paths supplied on the command line before initializing the pre-build cache. An OS error names the affected path. Configured discovery still follows its existing behavior. The regression script exercises the missing path in its own temporary cache, in addition to the original cold-cache test.

On native Windows, missing-only and mixed inputs changed from exit 0 to exit 1, and neither created a cache. An existing empty directory and an existing empty file still returned 0 and initialized the cache.

Original behavior · Fixed behavior · Final regression script at the PR head, both cases passed

<!-- greyfinch-sync:PastiiJay/klbf-lab:issue:5495492579 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/pull/20). Originally posted by [HandshakeHackin](https://github.com/HandshakeHackin) on 2026-11-25T16:52:55Z. --- On beta `c71c7d6`, `victory translate --cache --pipelines missing.rpf` returned exit code 0 and created `cache/pipelines`. A mistyped path therefore looked like a successful pre-build. The same happened when an existing empty directory and a missing file were supplied together. This checks the paths supplied on the command line before initializing the pre-build cache. An OS error names the affected path. Configured discovery still follows its existing behavior. The regression script exercises the missing path in its own temporary cache, in addition to the original cold-cache test. On native Windows, missing-only and mixed inputs changed from exit 0 to exit 1, and neither created a cache. An existing empty directory and an existing empty file still returned 0 and initialized the cache. [Original behavior](https://github.com/HandshakeHackin/klbf-lab/actions/runs/45657892942/job/139359417212) · [Fixed behavior](https://github.com/HandshakeHackin/klbf-lab/actions/runs/45657892942/job/139359417277) · [Final regression script at the PR head, both cases passed](https://github.com/HandshakeHackin/klbf-lab/actions/runs/45658534484/job/139361723267)
PastiiJay commented 2026-11-25 17:02:41 +00:00 (Migrated from github.com)

Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-25T17:02:41Z.


Thanks a lot @HandshakeHackin! Noted. I'll test it on the RX 9070 XT in the next test build and report back here.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7168917378 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/pull/20#issuecomment-7168917378). Originally posted by [PastiiJay](https://github.com/PastiiJay) on 2026-11-25T17:02:41Z. --- Thanks a lot @HandshakeHackin! Noted. I'll test it on the RX 9070 XT in the next test build and report back here.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/20:upstream-pr/20'
git switch 'upstream-pr/20'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/20'
git switch 'upstream-pr/20'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/20'
git switch 'upstream-pr/20'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/20'
git switch 'main'
git merge --squash 'upstream-pr/20'
git switch 'main'
git merge --ff-only 'upstream-pr/20'
git switch 'main'
git merge 'upstream-pr/20'
git push origin 'main'
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
PastiiJay/klbf-lab!20
No description provided.