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

Open
github-bot wants to merge 2 commits from github-bot/gh-20 into beta AGit
Owner

@⁠HandshakeHackin on GitHub · 2026-11-25 16:52 UTC · original
HandshakeHackin:prebuild-check-explicit-inputs → beta · +22 −4 · 2 files · 2 commits · open

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

**@⁠HandshakeHackin** on GitHub · 2026-11-25 16:52 UTC · [original](https://github.com/PastiiJay/klbf-lab/pull/20) `HandshakeHackin:prebuild-check-explicit-inputs` → `beta` · +22 −4 · 2 files · 2 commits · open 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)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:52:22 +00:00
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-25 17:02 UTC · original

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

**@⁠PastiiJay** on GitHub · 2026-11-25 17:02 UTC · [original](https://github.com/PastiiJay/klbf-lab/pull/20#issuecomment-7168917378) 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 can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/20/head:github-bot/gh-20'
git switch 'github-bot/gh-20'

Merge

Merge the changes and update on Forgejo.
git switch 'beta'
git merge --no-ff 'github-bot/gh-20'
git switch 'github-bot/gh-20'
git rebase 'beta'
git switch 'beta'
git merge --ff-only 'github-bot/gh-20'
git switch 'github-bot/gh-20'
git rebase 'beta'
git switch 'beta'
git merge --no-ff 'github-bot/gh-20'
git switch 'beta'
git merge --squash 'github-bot/gh-20'
git switch 'beta'
git merge --ff-only 'github-bot/gh-20'
git switch 'beta'
git merge 'github-bot/gh-20'
git push origin 'beta'
This discussion has been locked. Commenting is limited to contributors.
No description provided.