translate: --jobs 0 is an argument error #334
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/334"
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?
Imported from fxceless/victory-fork. Originally posted by JordanFableFur on 2026-11-24T23:34:56Z.
What
--jobsparsed intousizeand the per-file worker count came from it directly, sovictory translate --jobs 0 <file>spawned zero workers and reported zero containers instead of refusing the input.The option is now
Option<NonZeroUsize>: clap exits with an argument error for zero, and the default (every logical core) is unchanged.translate::runstill takesOption<usize>(NonZeroUsize::getat the call), so nothing else moves.Fixes #249.
Testing
cargo check --all-targetsand clippy-D warningscross-checked for the Windows target (clean). The rejection happens in clap beforerunis reached, which is where the issue asks it to happen.AI use: written with Codex and Claude Code (GPT-5.2 Codex); reviewed and posted with my approval. No game files were used.
Imported from fxceless/victory-fork. Originally posted by chatgpt-codex-connector[bot] on 2026-11-24T23:35:03Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
924283eℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
Imported from fxceless/victory-fork. Originally posted by kaayzouee on 2026-11-25T01:11:13Z.
Duplicate of #290?
Imported from fxceless/victory-fork. Originally posted by JordanFableFur on 2026-11-25T01:46:13Z.
Closing — #290 fixes the same issue (#249) and was opened first. Thanks for flagging.
Pull request closed