warm: avoid oversubscribing pipeline preparation workers #336

Manually merged
github merged 1 commit from github-bot/gh-336 into gh-pr/336/base 2026-12-03 18:34:13 +00:00 AGit
Owner

@⁠loyodea on GitHub · 2026-12-03 17:08 UTC · original
loyodea:fix/325-warm-worker-default → main · +55 −12 · 6 files · 1 commits · merged 2026-12-03 18:26 UTC

Pipeline workers can use two CPU threads. Default preparation now chooses half the logical CPU count, so the 24-thread host reported in #325 chooses 12 processes instead of 16. The memory limit, minimum of one worker, and default cap of 16 remain.

Standalone victory warm now uses the same policy as automatic preparation and honors VICTORY_WARM_JOBS (1–64). Explicit --jobs retains precedence. CLI help and settings documentation describe the policy and how to lower concurrency when preparation stalls.

Validation with pinned Rust 1.98.1: four extracted production-helper tests pass; the old formula fails the 24-thread regression. Seven environment override probes and four standalone/CLI precedence probes pass. Formatting of changed code and git diff --check pass. Full-file formatting reports an identical pre-existing line in the baseline.

A Cargo-based asset-policy check was blocked by the local GNU dlltool/assembler environment; the full project build was not run, and the reported hardware stall and the Linux AMD/Wine runtime were not reproduced here. This is a conservative default change, not a confirmed diagnosis of the underlying stall.

Fixes #325.

**@⁠loyodea** on GitHub · 2026-12-03 17:08 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/336) `loyodea:fix/325-warm-worker-default` → `main` · +55 −12 · 6 files · 1 commits · merged 2026-12-03 18:26 UTC Pipeline workers can use two CPU threads. Default preparation now chooses half the logical CPU count, so the 24-thread host reported in #325 chooses 12 processes instead of 16. The memory limit, minimum of one worker, and default cap of 16 remain. Standalone `victory warm` now uses the same policy as automatic preparation and honors `VICTORY_WARM_JOBS` (1–64). Explicit `--jobs` retains precedence. CLI help and settings documentation describe the policy and how to lower concurrency when preparation stalls. Validation with pinned Rust 1.98.1: four extracted production-helper tests pass; the old formula fails the 24-thread regression. Seven environment override probes and four standalone/CLI precedence probes pass. Formatting of changed code and `git diff --check` pass. Full-file formatting reports an identical pre-existing line in the baseline. A Cargo-based asset-policy check was blocked by the local GNU `dlltool`/assembler environment; the full project build was not run, and the reported hardware stall and the Linux AMD/Wine runtime were not reproduced here. This is a conservative default change, not a confirmed diagnosis of the underlying stall. Fixes #325.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-03 17:11:50 +00:00
github-bot changed target branch from main to gh-pr/336/base 2026-12-03 18:29:58 +00:00
github manually merged commit cbeb035d9a into gh-pr/336/base 2026-12-03 18:34:13 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.