GPU: finish a pipeline queue entry when its build panics #1353

Manually merged
github merged 1 commit from github-bot/gh-1353 into gh-pr/1353/base 2026-11-26 18:09:52 +00:00 AGit
Owner

@⁠Filip722 on GitHub · 2026-11-26 17:47 UTC · original
Filip722:gpu/finish-panicking-pipeline → main · +33 −1 · 1 files · 1 commits · merged 2026-11-26 18:05 UTC

Summary

Finish a pipeline entry when its Rust build unwinds. A panic during translation or host-pipeline construction currently ends the worker with the entry still pending. Draws that use that pipeline can keep spending their wait budget, and later jobs lose one worker.

Record a refused pipeline and notify waiters using the usual completion path. Log the affected shaders, then let the worker proceed to its next job. This covers the separate worker-panic case described on #1181.

Verification

  • An injected pipeline-build panic on main e4245f3 ended the worker in the regression test. With this change the failed entry stays complete, a later entry finishes, and the failed build is not retried.
  • All five pipeline scheduler tests passed on Bazzite 44, RTX 5060 Laptop, NVIDIA 615.78.08 and GE-Proton11-14. Windows-target Clippy passed with warnings denied. The staged asset-policy check passed.
  • The injected panic is synthetic. The gameplay replays associated with #1181 on this setup showed repeated pending waits without a recorded panic.

Assisted by Codex (GPT-6.2-Sol High).

**@⁠Filip722** on GitHub · 2026-11-26 17:47 UTC · [original](https://github.com/fxceless/victory-fork/pull/1353) `Filip722:gpu/finish-panicking-pipeline` → `main` · +33 −1 · 1 files · 1 commits · merged 2026-11-26 18:05 UTC ## Summary Finish a pipeline entry when its Rust build unwinds. A panic during translation or host-pipeline construction currently ends the worker with the entry still pending. Draws that use that pipeline can keep spending their wait budget, and later jobs lose one worker. Record a refused pipeline and notify waiters using the usual completion path. Log the affected shaders, then let the worker proceed to its next job. This covers the separate worker-panic case described on #1181. ## Verification - An injected pipeline-build panic on main e4245f3 ended the worker in the regression test. With this change the failed entry stays complete, a later entry finishes, and the failed build is not retried. - All five pipeline scheduler tests passed on Bazzite 44, RTX 5060 Laptop, NVIDIA 615.78.08 and GE-Proton11-14. Windows-target Clippy passed with warnings denied. The staged asset-policy check passed. - The injected panic is synthetic. The gameplay replays associated with #1181 on this setup showed repeated pending waits without a recorded panic. Assisted by Codex (GPT-6.2-Sol High).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 17:48:38 +00:00
github-bot changed target branch from main to gh-pr/1353/base 2026-11-26 18:09:51 +00:00
github manually merged commit 70482241ed into gh-pr/1353/base 2026-11-26 18:09:52 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.