Reject zero shader translation workers #290

Open
colonelpanic8 wants to merge 1 commit from upstream-pr/290 into main
colonelpanic8 commented 2026-11-24 23:19:28 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by colonelpanic8 on 2026-11-24T23:19:28Z.


Parse translate --jobs as a positive integer so invalid input is reported before the command scans files. The parser regression checks both zero and one worker.

Fixes #249.

Verification

  • Windows-target Clippy for victory, including test targets
  • Windows build passed the focused CLI parser regression under Wine
  • Staged asset-policy check
<!-- greyfinch-sync:fxceless/victory-fork:issue:6593392856 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/290). Originally posted by [colonelpanic8](https://github.com/colonelpanic8) on 2026-11-24T23:19:28Z. --- Parse `translate --jobs` as a positive integer so invalid input is reported before the command scans files. The parser regression checks both zero and one worker. Fixes #249. ## Verification - Windows-target Clippy for `victory`, including test targets - Windows build passed the focused CLI parser regression under Wine - Staged asset-policy check
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/290:upstream-pr/290'
git switch 'upstream-pr/290'

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/290'
git switch 'upstream-pr/290'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/290'
git switch 'upstream-pr/290'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/290'
git switch 'main'
git merge --squash 'upstream-pr/290'
git switch 'main'
git merge --ff-only 'upstream-pr/290'
git switch 'main'
git merge 'upstream-pr/290'
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
fxceless/victory-fork!290
No description provided.