Reject zero worker counts in the CLI #326
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Belobug--VIctory-Belobug-AMD!326
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-326"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@loyodea on GitHub · 2026-11-26 20:27 UTC · original
loyodea:victory-positive-worker-count→a-publier· +53 −3 · 2 files · 1 commits · merged 2026-11-26 22:30 UTCFixes #311.
Require a positive worker count when parsing
--jobs. The shared parser coverstranslate,translate --warm,shaders, andwarm. An explicit zero now returns a usage error before dispatch. Each command still picks its own worker count when the option is omitted.Validation
--jobs 0in all four modes. Synthetic CLI runs reproduced zero work in ordinary translation and shader caching, and one worker in both warm-up modes.0,1,3, and the option omitted. It failed on the base and passed with the patch. Additional CLI smoke checks covered both--jobs 0and--jobs=0.victorysuites passed 27 default and 28 diagnostics tests on Rust 1.100.0 GNU. The independent rerun matched both totals.Codex contributed the implementation and independent verification. The fixtures are synthetic.