Treat an explicit zero worker count as one across translate modes #4

Manually merged
github merged 1 commit from gh-pr/4/head into gh-pr/4/base 2026-11-26 05:50:28 +00:00
Owner

@⁠HandshakeHackin on GitHub · 2026-11-25 15:08 UTC · original
HandshakeHackin:fix/translate-zero-jobs → beta · +25 −2 · 1 files · 1 commits · merged 2026-11-25 15:17 UTC

An explicit --jobs 0 can leave both shader translation and pipeline pre-build with an empty worker range. Normalize zero to one during CLI parsing, matching the existing warm-cache behavior. Omitted and positive counts keep their existing meaning.

Includes a CLI regression test for omitted, zero, and eight workers. git diff --check passed. The Rust test has not been run locally.

**@⁠HandshakeHackin** on GitHub · 2026-11-25 15:08 UTC · [original](https://github.com/PastiiJay/klbf-lab/pull/4) `HandshakeHackin:fix/translate-zero-jobs` → `beta` · +25 −2 · 1 files · 1 commits · merged 2026-11-25 15:17 UTC An explicit `--jobs 0` can leave both shader translation and pipeline pre-build with an empty worker range. Normalize zero to one during CLI parsing, matching the existing warm-cache behavior. Omitted and positive counts keep their existing meaning. Includes a CLI regression test for omitted, zero, and eight workers. `git diff --check` passed. The Rust test has not been run locally.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:50:26 +00:00
github manually merged commit 46ca9a4d02 into gh-pr/4/base 2026-11-26 05:50:28 +00:00
Author
Owner

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

Thanks @⁠HandshakeHackin, merged into beta. Simple and safe, with a test.

**@⁠PastiiJay** on GitHub · 2026-11-25 15:17 UTC · [original](https://github.com/PastiiJay/klbf-lab/pull/4#issuecomment-7166616395) Thanks @⁠HandshakeHackin, merged into beta. Simple and safe, with a test.
This discussion has been locked. Commenting is limited to contributors.
No description provided.