Stop scanning shader inputs when the warm-up time budget expires #7

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

@⁠HandshakeHackin on GitHub · 2026-11-25 15:26 UTC · original
HandshakeHackin:fix/warm-time-budget → beta · +13 −3 · 1 files · 1 commits · merged 2026-11-25 16:21 UTC

VICTORY_WARM_SECONDS already stopped new translations inside a worker, but the directory walk kept reading subsequent files. Check the deadline before entering each root and before processing each entry. An in-progress read or translation can finish.

I compiled the original and patched warm-up functions in an isolated Rust harness on Linux, with two empty input files in separate roots. File-open monitoring showed two opens before the fix with a zero-second budget, zero opens after it, and two opens with a 30-second budget. No game files or GPU were involved.

**@⁠HandshakeHackin** on GitHub · 2026-11-25 15:26 UTC · [original](https://github.com/PastiiJay/klbf-lab/pull/7) `HandshakeHackin:fix/warm-time-budget` → `beta` · +13 −3 · 1 files · 1 commits · merged 2026-11-25 16:21 UTC `VICTORY_WARM_SECONDS` already stopped new translations inside a worker, but the directory walk kept reading subsequent files. Check the deadline before entering each root and before processing each entry. An in-progress read or translation can finish. I compiled the original and patched warm-up functions in an isolated Rust harness on Linux, with two empty input files in separate roots. File-open monitoring showed two opens before the fix with a zero-second budget, zero opens after it, and two opens with a 30-second budget. No game files or GPU were involved.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:50:50 +00:00
github manually merged commit 284236c81f into gh-pr/7/base 2026-11-26 05:50:52 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.